[R] errors when install RSQLite

ronggui ronggui.huang at gmail.com
Tue Mar 17 07:17:01 CET 2009


It seems you use Unix-like OS. Does it happen that you did not use
root to install the package? BTW, RSQLite does not require sqlite
installed separately, it is embedded in the package.

Best

2009/3/17 Dongyan Song <yzhskdls at hotmail.com>:
>
> Dear all,
>
> I am trying to install RSQLite package since I want to install "sqldf", and
> I used
>>> install.packages("RSQLite") first, which gave Error message as below:
>
> make: *** [RS-DBI.o] Error 1
> chmod: cannot access `/usr/lib/R/library/RSQLite/libs/*': No such file or
> directory
> ERROR: compilation failed for package 'RSQLite'
> ** Removing '/usr/lib/R/library/RSQLite'
> ** Restoring previous '/usr/lib/R/library/RSQLite'
>
> The downloaded packages are in
>        /tmp/RtmpZwBFdo/downloaded_packages
> Updating HTML index of packages in '.Library'
> Warning message:
> In install.packages("RSQLite") :
>  installation of package 'RSQLite' had non-zero exit status
>
> And then I tried
> # R CMD INSTALL RSQLite_0.7-1.tar.gz
> # R CMD INSTALL
> --configure-args=--with-sqlite3-dir=/usr/lib/sqlite-3.6.11/bld/
> RSQLite_0.7-1.tar.gz
> # R CMD INSTALL --configure-args=--with-sqlite-dir=/usr/bin
> RSQLite_0.7-1.tar.gz
> and all of them gave similar error messages.
>
> I have sqlite installed in my computer, in the directory /usr/bin, and I do
> not have a clue how to install it then. Thank you for help!
>
> Best,
> Dongyan Song
> --
> View this message in context: http://www.nabble.com/errors-when-install-RSQLite-tp22541474p22541474.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>



-- 
HUANG Ronggui, Wincent
Tel: (00852) 3442 3832
PhD Candidate
Dept of Public and Social Administration
City University of Hong Kong
Home page: http://asrr.r-forge.r-project.org/rghuang.html

A sociologist is someone who, when a beautiful women enters the room
and everybody look at her, looks at everybody.



More information about the R-help mailing list