in reply to Calling R in Perl using RSPerl
I know you said R is installed correctly, but...
can you do this first RFromPerl.html ? (search for "libR.so")
Most probable cause: Try checking if you have a shared library:
Note also that to use the R-in-Perl mechanism one must have built R as + a shared library. (This is not necessary when calling Perl from R.) +You can check if this has been done by checking to see if libR is in +the directory $R_HOME/lib/. If this is not there, you are advised to +clean the entire R distribution (with make distclean) so as to start +from scratch and then configure and compile R using the --enable-R-sh +lib to R's configuration script.
BEGIN { unshift @INC, "/usr/local/src/RSPerl/"; ## include lib };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Calling R in Perl using RSPerl
by rkeshvardoost (Novice) on Jan 10, 2016 at 17:48 UTC | |
by FreeBeerReekingMonk (Deacon) on Jan 10, 2016 at 23:08 UTC | |
by rkeshvardoost (Novice) on Jan 12, 2016 at 23:25 UTC |