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

Commented Unassigned: Error: C Stack Usage is too close to the limit [129]

$
0
0
Hello, thanks for your work on this library. I can't seem to get it to initialize:

- Ubuntu 14.04 64 bit.
- R-Base installed, and I mapped the path and checked they were OK with env.
- Mono 3.2.8 (Default with 14.04 Ubuntu).
- R.NET 1.5.15

No example code just using the hello world example which crashes the whole application. I've tried Try-Catch but can't inspect the error. I googled but the mentions of this same error are 2 years old.

```
Error: C stack usage is too close to the limit
*** caught segfault ***
address 0x10, cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Segmentation fault (core dumped)
```

Directories setup as:
```
if [ "${LD_LIBRARY_PATH}" != "" ]
then
export LD_LIBRARY_PATH=/usr/lib/R/lib:/usr/local/R/lib:${LD_LIBRARY_PATH}
else
export LD_LIBRARY_PATH=/usr/lib/R/lib:/usr/local/R/lib
fi
export PATH=/usr/bin:/usr/lib/R/lib:${PATH}
```

It dies on the REngine engine = REngine.GetInstance(); line....

Thanks

Jared
Comments: Note: If I use: ``` REngine.SetEnvironmentVariables("/usr/lib/R/lib", "/home/ubuntu"); ``` the error changes to: ``` cannot find system Renviron unable to open the base package ``` Googling this looked like R cannot find "RHOME". Not sure what the next steps are though. Thanks

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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