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

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

Replies are listed 'Best First'.
Re^5: site_perl files
by marto (Cardinal) on Jul 24, 2018 at 05:41 UTC

    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?

Re^5: site_perl files
by roboticus (Chancellor) on Jul 25, 2018 at 13:20 UTC

    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.