Once again a problem of dev libraries.
First install r-java and r-java-dev
$ yum -y install r-java r-java-dev
Procced to install RWeka
$ sudo R CMD javareconf
R$ install.packages('RWeka')
voilá
Note: Sometimes it happens that R is not able to load properly the java libraries. In order to avoid this yo need to re-run as root R CMD javareconf [ see: http://rwiki.sciviews.org/doku.php?id=packages:cran:rjava]
First install r-java and r-java-dev
$ yum -y install r-java r-java-dev
Procced to install RWeka
$ sudo R CMD javareconf
R$ install.packages('RWeka')
voilá
Note: Sometimes it happens that R is not able to load properly the java libraries. In order to avoid this yo need to re-run as root R CMD javareconf [ see: http://rwiki.sciviews.org/doku.php?id=packages:cran:rjava]
No comments:
Post a Comment