Skip to content

R interpreter not recognized

4 messages · Maria I. Tchalakova, Paul Smith, Stefan Evert

#
Hello,

I am trying to install a program based on R, but I am receiving the
following error message:
root at darkstar:/home/maria/UCS# perl System/Install.perl
Error: Can't run the R interpreter (/usr/local/bin/R).
Please make sure that R is installed and specify the fully qualified
filename of the R interpreter with -R if necessary (see "doc/install.txt").

I do have installed R, and I can see it (it is working also fine when I use it):
I have specified the location of the R interpreter with -R (or -rh)
/usr/local/bin/R" when running the program, but it still doesn't work.
I have also used -R /usr/local/lib/R/bin/R or -rh
/usr/local/lib/R/bin/R.
I have also added the locations to my search path.

It seems that the problem comes from my environment, but I cannot
figure out what's wrong. Do you have any clues why the interpreter
cannot be found?
Thank you.
#
On Thu, Apr 9, 2009 at 9:01 AM, Maria I. Tchalakova
<maria.tchalakova at gmail.com> wrote:
Maria: what is the Linux distribution that you are using?

Paul
#
Hi Paul,

I am using Slackware 12.0.0.

Maria
On Thu, Apr 9, 2009 at 2:35 PM, Paul Smith <phhs80 at gmail.com> wrote:
#
Dear Maria,

this is quite probably my faul, in some way.  The UCS software has  
been abandoned a bit recently, as I'm planning to rewrite it into a  
pure R package.  On the other hand, I still use the software  
occasionally, so it should work with recent R versions.
This either means that your R installation is damaged and Install.perl  
can't run the command "R --version"; or that it has problems parsing  
the output of this command, so it thinks there's something wrong with R.

What do you get if you type

	/usr/local/bin/R --version

in a shell window?

Which version of UCS are you trying to install?  The message printed  
by "R --version" was changed some time ago (in early 2006, or so), so  
the Install.perl script stopped working at that time.  You need to  
download UCS-0.5-prerelease, which works for me (version 0.4 will not).

If you still can't get it to work, please contact me off-list so we  
can figure out the problem.

Cheers,
Stefan



[ stefan.evert at uos.de | http://purl.org/stefan.evert ]