in reply to Re^2: site_perl files
in thread site_perl files

yaklichk0719:

It appears from the PERL5LIB variable that it's expecting you to be using RSPerl. Have you installed that? It may provide the missing piece(s) you're looking for. I did a quick search and found it at http://www.omegahat.net/RSPerl.

Update: fixed link to RSPerl (missing slashes)

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^4: site_perl files
by yaklichk0719 (Acolyte) on Jul 23, 2018 at 22:01 UTC
    I tried to installed RSPerl but I am getting. I put the compressed file in /software/R-2.15.3/library and tried to install using the command: R CMD INSTALL RSPerl_0.92-1.tar.gz

    I am getting an error:

    Converters.c: At top level: Converters.c:1037: error: expected ‘)’ before ‘*’ token Converters.c:1078: error: expected ‘)’ before ‘*’ token make: *** [Converters.o] Error 1 ERROR: compilation failed for package ‘RSPerl’ * removing ‘/usr/local/lib64/R/library/RSPerl’
    I wonder what the problem could be? Should I re-install R?

    2018-07-25 Athanasius added code and paragraph tags

      I've never heard of RSPerl but this doesn't look like a perl problem. If you are looking to work with R from perl have you considered something like Statistics::R?

      yaklichk0719:

      Sorry, but I don't know anything about RSPerl, other than looking it up when you mentioned your problem. Looking at the error messages you posted, though, it looks like RSPerl isn't compiling properly. Since RSPerl is an R to Perl interface, and the internals of perl change from version to version, I'd suspect that RSPerl is only going to compile properly for particular versions of perl. You might either:

      • See if you can find an R/RSPerl/Perl installation that's already configured nicely (such as for a virtual machine environment),
      • or possibly read the docs on RSPerl and find out what versions of perl it's compatible with, and use perlbrew or something to put that version of perl into place, and try again.

      Sorry I can't offer any better information than that, but I'm not planning on installing R and RSPerl on my machine in the near future.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.