[R] R-2.0.1 reinstall non-CRAN pkg

Anthony Westerling leroy at ucsd.edu
Sat Nov 27 08:21:47 CET 2004


Yes.  It is looking the correct directory.  Note that the package is  
installed without errors.  The problem is that, even after being newly  
reinstalled, it is still not recognized as a valid package for R-2.0

Tony


On Nov 26, 2004, at 9:08 PM, Liaw, Andy wrote:

> Have you checked where R is looking for that package (.libPaths()  
> would tell
> you), and whether that's where you've installed it?
>
> HTH,
> Andy
>
>> From: Anthony Westerling
>>
>>
>> I am trying to upgrade to R-2.0.1 from R-1.9 on a Mac running
>> OS X 10.3.
>>
>> I have some simple packages I wrote myself that have to be
>> reinstalled
>> to be recognized as valid packages.  I have been using them
>> for a while
>> on earlier versions of R, so didn't expect to have any problems.
>>
>> I am probably going about this the wrong way?  I simply used
>>
>> R CMD build mypkgdir
>>
>> and then
>>
>> R CMD install mypkgdir.tar.gz
>>
>> the package installs without any error messages.
>>
>> however, library(mypkgname) still generates spiteful
>>
>> 	Error in library(mypkgname) : 'mypkgname' is not a
>> valid package --
>> installed < 2.0.0?
>>
>> messages.
>>
>> My apologies if answers to this kind of question have already been
>> posted.  I have looked over the archived r-help threads for the last
>> couple of months.
>>
>> Best
>>
>> Anthony Westerling
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide!
>> http://www.R-project.org/posting-guide.html
>>
>>
>
>
> ----------------------------------------------------------------------- 
> -------
> Notice:  This e-mail message, together with any attachment...{{dropped}}




More information about the R-help mailing list