using R from APL

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !

using R from APL

Postby Ellis Morgan on Thu Aug 28, 2014 4:42 pm

At the APLwiki there are instructions for setting up your computer to use R from APL. this link gets you there.
http://aplwiki.com/r2apl?highlight=%28plot%29

The second step
Install R package rcproxy from http://cran.rakanu.com/bin/windows/cont ... _1.2-0.zip
fails for me with the message

the requested page 'bin/windows/contrib/2.8/rscproxy/_1.2-zip/' could not be found

The third step fails because it detects the proxy is not there.
Can anyone tell me what I should do to get started?

Thanks Ellis
Ellis Morgan
 
Posts: 1
Joined: Tue Nov 02, 2010 9:37 pm

Re: using R from APL

Postby Morten|Dyalog on Fri Aug 29, 2014 7:15 am

Hi Ellis! Are you able to get your hands on a copy of Dyalog v14.0? It comes with an R interface with up-to-date installation instructions.
User avatar
Morten|Dyalog
 
Posts: 453
Joined: Tue Sep 09, 2008 3:52 pm

Re: using R from APL

Postby Fiona|Dyalog on Fri Aug 29, 2014 7:38 am

You can see the documentation for our R interface at http://docs.dyalog.com/latest/Dyalog%20APL%20R%20Interface%20Guide.pdf (Chapter 4 details Installation and Initialisation processes).


UPDATE: Link corrected - thanks for pointing this out Ray!
Last edited by Fiona|Dyalog on Mon Sep 01, 2014 7:58 am, edited 1 time in total.
User avatar
Fiona|Dyalog
 
Posts: 68
Joined: Mon Apr 22, 2013 12:59 pm

Re: using R from APL

Postby Phil Last on Fri Aug 29, 2014 10:56 am

Fiona|Dyalog wrote:http://docs.dyalog.com/latest/Dyalog APL R Interface Guide.pdf


I'm afraid this is a broken link.
User avatar
Phil Last
 
Posts: 628
Joined: Thu Jun 18, 2009 6:29 pm
Location: Wessex

Re: using R from APL

Postby askom on Fri Aug 29, 2014 1:28 pm

Ellis,

This package has been removed from CRAN, because of license problem.
A bit outdated version is available from
http://cran.r-project.org/web/packages/ ... index.html

But the right way is to use rcom from
http://rcom.univie.ac.at/download.html

Thanks for notification. I will edit the wiki page.

This r2apl interface is very compact and easy to use. An OOP implementation
with additional features is shipping with v.14, as Morten mentioned above.

Regards,
Sasha.
askom
 
Posts: 36
Joined: Fri Apr 09, 2010 7:22 pm

using R from APL??

Postby askom on Fri Apr 20, 2018 1:28 pm

Hello,

I'm in the latest version for macOS.

Dyalog APL/S-64 Version 16.0.32742
Unicode Edition
Fri Apr 20 15:55:16 2018

Rebuilding user command cache... done
)copy rconnect
/Applications/Dyalog-16.0.app/Contents/Resources/
Dyalog/ws/rconnect.dws saved Fri Apr 6 06:06:24
2018
r←⎕new R
r.init
and here the message "Interpreter exited with code 133"

Please help.
/sasha

P.S. I haven't find Rconnect topic under Interfaces.
askom
 
Posts: 36
Joined: Fri Apr 09, 2010 7:22 pm


Return to APL Chat

Who is online

Users browsing this forum: No registered users and 1 guest