Author |
Topic |
|
mduds
Germany
Posts |
Posted - 04/29/2018 : 11:34:52 AM
|
I just installed the new version 3.5.0 of "R for Windows 64 bit" (and uninstalled version 3.4.4) When I start from Origin 2018b 64 bit "Tools - R console..." I get the error message "No R installed". How does Origin locate R: registry, environment variable, or ini file?
Thank you,
Manfred |
|
arstern
USA
237 Posts |
|
mduds
Germany
Posts |
Posted - 05/01/2018 : 04:59:58 AM
|
Hi Aviel,
not working. If I run from https://www.originlab.com/doc/LabTalk/guide/LT-Running-R the script to initialize R:
if( R.Init()<0 ) { type -b "Please install R software first."; return; }
I get the message "Please install R software first."
Both R and Origin2018b are installed as 64bit versions.
Any idea?
Manfred
|
|
|
arstern
USA
237 Posts |
Posted - 05/01/2018 : 2:41:16 PM
|
Hi Manfred,
I am not exactly sure why this is happening. Some things to consider.
R must be installed on the server side, and communicate to the server computer with Origin on the client side
Other things: The Origin and R bit versions must be the same size. i.e. a 64 bit Origin will not work with a 32 bit R
Have you tried these instructions? https://www.originlab.com/doc/Origin-Help/Setup-R-Server
Aviel |
|
|
mduds
Germany
Posts |
Posted - 05/02/2018 : 07:41:28 AM
|
Hi Aviel,
your statement "R must be installed on the server side, and communicate to the server computer with Origin on the client side" is not true. Origin has also the possibility to communicate with a local R installation, just go in Origin to the menu "Tools --> R Console..".
This is also described in https://www.originlab.com/doc/LabTalk/guide/LT-Running-R
and it worked with erarlier versions (Origin 2017, R 3.4.x). It does not work with Origin2018b (64 bit) and R 3.5.0 (64 bit).
Once mor my question: How does Origin find a local R installation?
Best regards,
Manfred |
|
|
YimingChen
1618 Posts |
Posted - 05/02/2018 : 10:02:34 AM
|
Hi Manfred,
Thank you for bringing this up. We can reproduce your issue that R 3.5.0 can't be recognized by Origin 2018b. It is very likely due to the registry. Our developer will look into it and provide fix in our next release, just a few month from now.
James OriginLab |
|
|
Tryphon
36 Posts |
Posted - 06/11/2019 : 11:46:24 AM
|
Hello,
Any news for this issue between R 64bits and Origin 2018b 64bits? |
|
|
YimingChen
1618 Posts |
|
Tryphon
36 Posts |
Posted - 06/11/2019 : 5:52:06 PM
|
No luck with this. set command in the Terminal gives R_HOME=C:\Program Files\R\R-3.6.0
I installed R 3.6.0 64bits:
platform x86_64-w64-mingw32 arch x86_64 os mingw32 system x86_64, mingw32 status major 3 minor 6.0 year 2019 month 04 day 26 svn rev 76424 language R version.string R version 3.6.0 (2019-04-26) nickname Planting of a Tree
I have OriginPro 2018b (64-bit) b9.5.5.409 (Academic) under Windows 8.1 Enterprise.
Tools/R Console... answers "No R installed".
I am still stuck there.
Thank you.
|
|
|
Tryphon
36 Posts |
Posted - 06/12/2019 : 6:47:57 PM
|
Hello,
I continue to investigate. I reinstalled R 3.6.0 as administrator but the issue remains. I let Origin 2018b open. I uninstalled R and a message appeared saying some files could not be uninstalled. I went to /R-3.6.0/bin/x64 and tried to delete R.dll A message appeared : The action can't be completed because the file is open in Origin 2018b. However Origin said No R installed !!!
A paradox I do not know how to work around.
Thank you. |
|
|
YimingChen
1618 Posts |
Posted - 06/13/2019 : 09:04:35 AM
|
Hi Tryphon,
R changed some API after 3.4, so Origin 2018b couldn't connect to it. We fixed this issue in Origin 2019. So either you can upgrade to our latest Origin version (2019b) or you will have to install an old version of R (3.4). Thank you.
James |
|
|
Tryphon
36 Posts |
Posted - 06/19/2019 : 5:09:02 PM
|
Thank so much. Old R version is working now in the R console. |
|
|
|
Topic |
|