rscproxy outdated?
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 !
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 !
6 posts
• Page 1 of 1
rscproxy outdated?
I just upgraded to V18 and tried to get the R interface up.
I have both R 4.0.2 and 3.6.3 installed (Windows 10)
Trying to install rscproxy via the download link in the docs results in:
Warning in install.packages :
package ‘https://github.com/Dyalog/rscproxy/releases/download/2.0-5-dyalog3/rscproxy_2.0-5.zip’ is not available (for R version 3.6.3)
Can't find any info on what the last supported version of R would be.
I have both R 4.0.2 and 3.6.3 installed (Windows 10)
Trying to install rscproxy via the download link in the docs results in:
Warning in install.packages :
package ‘https://github.com/Dyalog/rscproxy/releases/download/2.0-5-dyalog3/rscproxy_2.0-5.zip’ is not available (for R version 3.6.3)
Can't find any info on what the last supported version of R would be.
- mhpcto
- Posts: 18
- Joined: Tue Sep 18, 2018 5:36 pm
Re: rscproxy outdated?
Hi mhpcto,
I have had a crash using R 4.0.2 with our rscproxy and Dyalog, so please use R 3.6.3 until we figure out what is happening with R 4.0.2.
I have done the following:
1) Start the R GUI with a right click and "Run as administrator"
R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
2) This is the install.packages command to install our fork of rscproxy:
> install.packages("https://github.com/Dyalog/rscproxy/releases/download/2.0-5-dyalog3/rscproxy_2.0-5.zip")
inferring 'repos = NULL' from 'pkgs'
trying URL 'https://github.com/Dyalog/rscproxy/releases/download/2.0-5-dyalog3/rscproxy_2.0-5.zip'
Content type 'application/octet-stream' length 74804 bytes (73 KB)
downloaded 73 KB
package ‘rscproxy’ successfully unpacked and MD5 sums checked
>
3) Please add the R directory to your System Path:
C:\Program Files\R\R-3.6.3\bin\x64;
4) in Dyalog (I am using 18.0.35824 64-bit Unicode):
Please contact us at Dyalog support if you have any problems or questions.
Regards,
Vince
I have had a crash using R 4.0.2 with our rscproxy and Dyalog, so please use R 3.6.3 until we figure out what is happening with R 4.0.2.
I have done the following:
1) Start the R GUI with a right click and "Run as administrator"
R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
2) This is the install.packages command to install our fork of rscproxy:
> install.packages("https://github.com/Dyalog/rscproxy/releases/download/2.0-5-dyalog3/rscproxy_2.0-5.zip")
inferring 'repos = NULL' from 'pkgs'
trying URL 'https://github.com/Dyalog/rscproxy/releases/download/2.0-5-dyalog3/rscproxy_2.0-5.zip'
Content type 'application/octet-stream' length 74804 bytes (73 KB)
downloaded 73 KB
package ‘rscproxy’ successfully unpacked and MD5 sums checked
>
3) Please add the R directory to your System Path:
C:\Program Files\R\R-3.6.3\bin\x64;
4) in Dyalog (I am using 18.0.35824 64-bit Unicode):
)load rconnect
r←⎕new R
r.setdriver'rscproxyWin' 'C:\Program Files\R\R-3.6.3\'
r.init
Please contact us at Dyalog support if you have any problems or questions.
Regards,
Vince
Last edited by Vince|Dyalog on Mon Jul 20, 2020 9:06 am, edited 1 time in total.
Reason: typo of missing bin subdirectory corrected
Reason: typo of missing bin subdirectory corrected
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: rscproxy outdated?
Hi mhpcto,
I have obtained from Ron Murray, a consultant, a test build of rscproxy which fixes my crash with R 4.0.2.
I can email it to you if you are interested in trying it.
Regards,
Vince
I have obtained from Ron Murray, a consultant, a test build of rscproxy which fixes my crash with R 4.0.2.
I can email it to you if you are interested in trying it.
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: rscproxy outdated?
Vince,
I'd be happy to try it out.
As an aside, what is the root cause for having to use setdriver? Shouldn't adding the R location to PATH be sufficient? It has always worked for me in previous releases - this is the first time I had to use setdriver.
I have also found that there is different behavior when the R directory is added to the System path vs User. When using setdriver, r.init fails if the argument is not terminated with a trailing '\'.
An additional gotcha is that once setdriver has failed once, setdriver can not be called again or APL will crash when r.init is called after a subsequent successful setdriver.
This all seems a bit flaky and inconsistent. I shouldn't matter which PATH evar is used nor should a trailing '\' matter.
In any case, let me try the R 4.0 compatible version. I'll report back any issues.
Regards
I'd be happy to try it out.
As an aside, what is the root cause for having to use setdriver? Shouldn't adding the R location to PATH be sufficient? It has always worked for me in previous releases - this is the first time I had to use setdriver.
I have also found that there is different behavior when the R directory is added to the System path vs User. When using setdriver, r.init fails if the argument is not terminated with a trailing '\'.
An additional gotcha is that once setdriver has failed once, setdriver can not be called again or APL will crash when r.init is called after a subsequent successful setdriver.
This all seems a bit flaky and inconsistent. I shouldn't matter which PATH evar is used nor should a trailing '\' matter.
In any case, let me try the R 4.0 compatible version. I'll report back any issues.
Regards
- mhpcto
- Posts: 18
- Joined: Tue Sep 18, 2018 5:36 pm
Re: rscproxy outdated?
Hi Mhpcto,
I think setdriver is there to help in case we do not automatically find the R libraries based on what can see of the R directories and registry entries.
Thanks for the observations about user vs. system path and trailing slashes. I will try these out.
Regards,
Vince
I think setdriver is there to help in case we do not automatically find the R libraries based on what can see of the R directories and registry entries.
Thanks for the observations about user vs. system path and trailing slashes. I will try these out.
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: rscproxy outdated?
For mhpcto and anyone else interested in our Dyalog rscproxy branch:
We have updated it with the fixes that I mentioned before in this thread.
https://github.com/Dyalog/rscproxy/rele ... -6-dyalog1
We have updated it with the fixes that I mentioned before in this thread.
https://github.com/Dyalog/rscproxy/rele ... -6-dyalog1
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group