Java on Fedora 8 is a little funny so my guess is that is where the
problem is (or that you are missing the Java development (*-devel)
packages). I am (right now) building an Amazon image with Fedora 11 on
x86_64 with R (and the "Engineering and Scientific" group) installed:
let me know if you want me to share it once it is done even though you'd
need a 40c/hour instance to run it.
Allan.
Saptarshi Guha wrote:> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>