install.packages("c:/Users/utsav/Source/Repos/crosstalk/", repos = NULL, type="source")
Nothing fancy. Just a scratchboard for Open Source Geospatial manipulations. Involves (although not limited to) Linux, R, gdal, Quantum GIS, Geoserver etc.
Tuesday, March 1, 2016
Install from R command line a package source on disk
install.packages("c:/Users/utsav/Source/Repos/crosstalk/", repos = NULL, type="source")
Monday, February 29, 2016
Rstudio does not see rJava under Ubuntu 12.04
library(rJava) in Rstudio gives the error :
Solution : add
export LD_LIBRARY_PATH=/usr/lib/jvm/java-8-oracle/lib/amd64:/usr/lib/jvm/java-8-oracle/jre/lib/amd64/server
into /etc/bash.bashrc , then run
. /etc/bash.bashrc
then run
sudo R CMD javareconf
then restart Rstudio
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/home/anh/Rlibs/rJava/libs/rJava.so':
libjvm.so: cannot open shared object file: No such file or directory
Solution : add
export LD_LIBRARY_PATH=/usr/lib/jvm/java-8-oracle/lib/amd64:/usr/lib/jvm/java-8-oracle/jre/lib/amd64/server
into /etc/bash.bashrc , then run
. /etc/bash.bashrc
then run
sudo R CMD javareconf
then restart Rstudio
Subscribe to:
Posts (Atom)