[R] question about read.columns

Gabor Grothendieck ggrothendieck at gmail.com
Thu Jun 23 01:13:27 CEST 2011


On Wed, Jun 22, 2011 at 7:07 PM, Changbin Du <changbind at gmail.com> wrote:
> INstalling of "RSQLite" was successful.
>
> in R:
>> packageVersion("RSQLite")
> [1] '0.9.4'
>
>
>
> When I try to install "sqldf", I found the following errors:
>
>> install.packages("sqldf")
> Installing package(s) into '/house/homedirs/c/cdu/library/'
> (as 'lib' is unspecified)
> trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/sqldf_0.4-0.tar.gz'
> Content type 'application/x-gzip' length 19920 bytes (19 Kb)
> opened URL
> ==================================================
> downloaded 19 Kb
>
> ERROR: failed to lock directory '/house/homedirs/c/cdu/library' for
> modifying
> Try removing '/house/homedirs/c/cdu/library/00LOCK'
>
> The downloaded packages are in
>     '/tmp/RtmpszmT38/downloaded_packages'
> Warning message:
> In install.packages("sqldf") :
>   installation of package 'sqldf' had non-zero exit status
>
> When I try to remove the /house/homedirs/c/cdu/library/00LOCK'  by rm -r
> 00LOCK,
>
> I got the following errors:
>
> cdu at nuuk:~/library$ rm -r 00LOCK
> rm: cannot remove `00LOCK/RSQLite/libs/.nfs00000001301e52e000000004': Device
> or resource busy
>
> Not known what happened.
>
> Gabor, do you have  any idea?
>
> Thanks!
>

You will need to remove the lock file.  Try shutting down any
processes that could be trying to access it *e.g. all R processes and
all shells) and then try removing it again.  If need be change the
file's permissions and/or try as root.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list