Message Boards Message Boards

GROUPS:

R Can't Be Installed In Version 12.1

Posted 6 months ago
1245 Views
|
3 Replies
|
2 Total Likes
|

In[1]:= Needs["RLink`"]

In[3]:= InstallR[]

During evaluation of In[3]:= InstallR::fail: Failed to install R. The following error was encountered: crash in low-level RLink component or in R runtime

Out[3]= $Failed

In[4]:= $Version

Out[4]= "12.1.1 for Microsoft Windows (64-bit) (June 9, 2020)"
3 Replies

I have compiled a notebook from this link

Replace the actual installation location for R on your machine. I have just tested it on Win10 with R 3.6.1 in Version 12.1.1 and it works.

You can download the notebook attached.

Attachments:

InstallR[] works in version 12, but not in Version 12.1

In[1]:= $Version

Out[1]= "12.0.0 for Microsoft Windows (64-bit) (April 6, 2019)"

In[2]:= Needs["RLink`"]

In[3]:= InstallR[]

In[4]:= REvaluate["sample(1:100,10)"]

Out[4]= {76, 84, 1, 79, 97, 16, 65, 73, 81, 98}

InstallR[] began by downloading from the Wolfram server, but then failed for me, too, with Mathematica 12.1.1 under Windows 10 Pro (actually, running as a virtual machine via Parallels Desktop for Mac" under macOS Catalina 10.15.6).

It works, though, directly in the Mac version of Mathematica 12.1.1 .

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract