Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

Created Unassigned: segfault 'invalid permissions' in R at the REngine initialization on Linux [38]

$
0
0
Linux 3.8.0-22-generic #33-Ubuntu SMP Thu May 16 15:17:59 UTC 2013 i686 i686 i686 GNU/Linux
Running on a VM
runing as 'normal user' in an Ubuntu sense.
``` C#
var rHome = "/usr/lib/R";
string path = Environment.GetEnvironmentVariable("PATH") ?? String.Empty;
// Note that using /usr/lib where a libR.so symlink exists is not good enough
path = string.Concat(path, ":","/usr/lib/R/lib");
Environment.SetEnvironmentVariable("R_HOME", rHome);
Environment.SetEnvironmentVariable("PATH", path);
Console.WriteLine("R init: creating R engine");
REngine rEngine = REngine.CreateInstance("RDotNet");
rEngine.Initialize(); // fails here; the console shows:
```

R init: creating R engine

*** caught segfault ***
address 0xb777f000, cause 'invalid permissions'

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:


Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>