Anthony Westerling wrote:
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?

So it is not packaged correctly, and thinks it has been installed under R < 2.0.0.
Please check the DESCRIPTION file carefully and rebuild the package, after that installating is should work.


Uwe Ligges


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

______________________________________________
[EMAIL PROTECTED] 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}}


______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to