[R] RJDBC in Ubuntu
am
anita.mehrotra at accenture.com
Thu Aug 2 07:45:49 CEST 2012
Hi,
I'm working with R on Cassandra and need to install RJDBC on my Ubuntu
virtual machine. The traditional commands (install.packages(RJDBC, dep=TRUE)
and library(RJDBC)) don't work: they throw an error that they can't find the
package. I tried installing it using the Rkward GUI, but can't write to any
of the pre-set directories because of permissions issues. When I try running
it as root, nothing happens.
I finally tried re-running the install.packages(*'*RJDBC*'*, dep=TRUE)
command with quotes around RJDBC, and got the following:
Warning in install.packages("RJDBC", dep = TRUE) :
argument 'lib' is missing: using
'/home/bigd/R/x86_64-pc-linux-gnu-library/2.10'
also installing the dependency ‘rJava’
trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/rJava_0.9-3.tar.gz'
Content type 'application/x-gzip' length 537153 bytes (524 Kb)
opened URL
==================================================
downloaded 524 Kb
trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/RJDBC_0.2-0.tar.gz'
Content type 'application/x-gzip' length 11178 bytes (10 Kb)
opened URL
==================================================
downloaded 10 Kb
The downloaded packages are in
‘/tmp/Rtmp7Pb3wA/downloaded_packages’
Warning messages:
1: In install.packages("RJDBC", dep = TRUE) :
installation of package 'rJava' had non-zero exit status
2: In install.packages("RJDBC", dep = TRUE) :
installation of package 'RJDBC' had non-zero exit status
...but it's still not working.
Any suggestions? Help would be greatly appreciated.
Sincerely,
AM
--
View this message in context: http://r.789695.n4.nabble.com/RJDBC-in-Ubuntu-tp4638828.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list