[R] R on EC2 and R CMD javareconf
Saptarshi Guha
saptarshi.guha at gmail.com
Wed Jun 10 05:33:05 CEST 2009
Hello,
I am using EC2 to launch several instances. On each instance, I
perform the following commands
yum -y install R (installs R-2.6)
R CMD javareconf
sleep 10
wget rpackage.tgz
R CMD INSTALL rpackage.tgz
Now, rpackage.tgz needs to be built with jni libraries. When the
instance is fully up, i log in and check if rpackage was successfully
installed and find out it wasn't.
Running
R CMD INSTALL rpackage.tgz
again, i get the response that I should run R CMD javareconf, which I
do and then successfully install rpackage (using R CMD...)
Q: Why doesn't it work the first time? I am using a small instance and
Fedora 8 AMI
Regards
Saptarshi
More information about the R-help
mailing list