[R] error installing RcppClassic

C Lin baccts at hotmail.com
Tue Mar 26 16:52:30 CET 2013


Thank you very much for taking the time to read my jumbled email. 
I was usually pretty good with following directions but not lately very sorry!

I don't know why I never thought of exiting R and restarting. Thanks it's now working.

Lin


----------------------------------------
> Subject: Re: [R] error installing RcppClassic
> From: dwinsemius at comcast.net
> Date: Mon, 25 Mar 2013 11:36:28 -0700
> CC: r-help at r-project.org
> To: baccts at hotmail.com
>
>
> On Mar 25, 2013, at 9:09 AM, C Lin wrote:
>
> >
> > Anyone knows what does this error means? 
> > library(RcppClassic) Error in gzfile(file, "rb") : cannot open the connection 
> > I thought I installed the package successfully: 
> > install.packages('RcppClassic') 
> > Installing package(s) into C:/Program Files/R/library‚ (as lib‚ is unspecified) also installing the dependency Rcpp‚
> > trying URL 'http://cran.at.r-project.org/bin/windows/contrib/2.15/Rcpp_0.10.2.zip'Content type 'application/zip' length 3882722 bytes (3.7 Mb) opened URL downloaded 3.7 Mb trying 
> > URL 'http://cran.at.r-project.org/bin/windows/contrib/2.15/RcppClassic_0.9.3.zip'Content type 'application/zip' length 854312 bytes (834 Kb) 
> > opened URL downloaded 834 Kb package ŒRcpp‚ 
> > successfully unpacked and MD5 sums checked 
> > Warning: cannot remove prior installation of package ŒRcpp‚ package ŒRcppClassic‚ successfully unpacked and MD5 sums checked 
> > The downloaded binary packages are in C:\Users\xxxx\AppData\Local\Temp\Rtmp2t8Lm6\downloaded_packages
> > Thanks,Lin
> >
> > [[alternative HTML version deleted]]
>
> The jumbled content that reached the mailing list is due to your failing to heed the directions in the Posting Guide. (There is quite a bit more that you should be doing that is also described therein.)
>
> It appears that your error may be due to your failure to read and properly address the warnings in that console output: "Warning: cannot remove prior installation of package ŒRcpp‚ package ŒRcppClassic". My guess is that you are trying to install a package when it is already loaded and that 
s a guess since I work in a different OS and I do not use Rcpp. (I do however read warnings and search Rhelp for prior reports.) If my guess is correct, you may get success by exiting R, restarting and then installing the new version of the package and then re-load it.
>
>
> --
> David Winsemius
> Alameda, CA, USA
>
 		 	   		  


More information about the R-help mailing list