[R] error for installation

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Jul 20 11:49:12 CEST 2009


Take a look into your library and manually remove the 00LOCK directory 
(if exists) and you can also delete the "fields" directory therein. Then 
start a clean R session without attaching/loading/importing fields and 
try to reinstall it which should work now.

Best wishes,
Uwe Ligges



jlfmssm wrote:
> I used packages 'fields". when I load workspace again, then
> do installation again.
> I get the following error.  I read R for Windows FAQ (4.8 see below), but I
> still can't
> figure it out. Does anyone can help me out?
> 
> Thanks,
> 
> jlm
> 
> 
>>  install.packages("fields",repos="http://streaming.stat.iastate.edu/CRAN/
> ",);
> trying URL '
> http://streaming.stat.iastate.edu/CRAN/bin/windows/contrib/2.9/fields_5.02.zip
> '
> Content type 'application/zip' length 4200608 bytes (4.0 Mb)
> opened URL
> downloaded 4.0 Mb
> 
> package 'fields' successfully unpacked and MD5 sums checked
> Warning: cannot remove prior installation of package 'fields'
> The downloaded packages are in
>         E:\Documents and Settings\aiminy\Local
> Settings\Temp\RtmpwsmfG9\downloaded_packages
> updating HTML package descriptions
>>  library(fields);
> Error in library(fields) : there is no package called 'fields'
>  4.8 update.packages() fails.
> 
> You may not be able to update a package which is in use: Windows `locks' the
> package's DLL when it is loaded. So use update.packages() (or the menu
> equivalent) in a new session.
> 
> If you put library(foo) in your .Rprofile you will need to start R with
> --vanilla to be able to update package foo. If you set R_DEFAULT_PACKAGES to
> include foo, you will need to unset it temporarily.
> 
> It has been reported that some other software has interfered with the
> installation process by preventing the renaming of temporary files, *Google
> Desktop* being a known example.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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.




More information about the R-help mailing list