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 !
Post Reply
Ellis Morgan
Posts: 1
Joined: Tue Nov 02, 2010 9:37 pm

using R from APL

Post by Ellis Morgan »

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
User avatar
Morten|Dyalog
Posts: 460
Joined: Tue Sep 09, 2008 3:52 pm

Re: using R from APL

Post by Morten|Dyalog »

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
Fiona|Dyalog
Posts: 77
Joined: Mon Apr 22, 2013 12:59 pm

Re: using R from APL

Post by Fiona|Dyalog »

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
Phil Last
Posts: 628
Joined: Thu Jun 18, 2009 6:29 pm
Location: Wessex

Re: using R from APL

Post by Phil Last »

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


I'm afraid this is a broken link.
askom
Posts: 36
Joined: Fri Apr 09, 2010 7:22 pm

Re: using R from APL

Post by askom »

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??

Post by askom »

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.
Post Reply