The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
 All Forums
 Origin Forum
 Origin Forum
 Origin does not find R for Windows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mduds

Germany
Posts

Posted - 04/29/2018 :  11:34:52 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Posted - 04/30/2018 :  11:06:09 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Manfred,

Please see if the following links are useful:

https://www.originlab.com/doc/Quick-Help/Origin-R-LabTalk
https://www.originlab.com/doc/LabTalk/guide/LT-Running-R

Thanks
Aviel
OriginLab

Go to Top of Page

mduds

Germany
Posts

Posted - 05/01/2018 :  04:59:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

arstern

USA
237 Posts

Posted - 05/01/2018 :  2:41:16 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

mduds

Germany
Posts

Posted - 05/02/2018 :  07:41:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

YimingChen

246 Posts

Posted - 05/02/2018 :  10:02:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Tryphon

34 Posts

Posted - 06/11/2019 :  11:46:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

Any news for this issue between R 64bits and Origin 2018b 64bits?
Go to Top of Page

YimingChen

246 Posts

Posted - 06/11/2019 :  1:48:18 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please refer to this FAQ:
https://www.originlab.com/doc/Quick-Help/Origin-cannot-connect-to-R

Thanks,
James
Go to Top of Page

Tryphon

34 Posts

Posted - 06/11/2019 :  5:52:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.

Go to Top of Page

Tryphon

34 Posts

Posted - 06/12/2019 :  6:47:57 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page

YimingChen

246 Posts

Posted - 06/13/2019 :  09:04:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Tryphon

34 Posts

Posted - 06/19/2019 :  5:09:02 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank so much. Old R version is working now in the R console.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2008 Originlab Corporation Go To Top Of Page
Snitz Forums 2000