in reply to Re^2: Calling R in Perl using RSPerl
in thread Calling R in Perl using RSPerl
Add /usr/lib64/R/lib/ to your @INC with the code mentioned before. And also check where R.pm is in, add that path too. You can use multiple unshift commands in that BEGIN block. Outside the block, do a "use R;" and see if that runs without errors.
BEGIN { unshift @INC, "/usr/lib64/R/lib/"; # unshift @INC, "/other/path/"; # if required }; use R;
use R;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Calling R in Perl using RSPerl
by rkeshvardoost (Novice) on Jan 12, 2016 at 23:25 UTC |