On 28.10.2010 12:26, Robert Kinley wrote:
your advice to use    R CMD INSTALL source.library

It's a *package*, not a library.

Uwe


>    did the trick

  and I now understand  packages a little better.

         many thanks

              Bob Kinley









Uwe Ligges<lig...@statistik.tu-dortmund.de>
28/10/2010 10:30

To
Robert Kinley<kinley_rob...@lilly.com>
cc
r-help@r-project.org
Subject
Re: [R] updating a local package






Essential infrastructure work has been done in the meantime, both ion
the documentation system and on the location of binaries.
That means you really need to reinstall the package and hence you need
to start with a source package.
Details for installing from source are given in the manual "R
Installation and Administartion".

Uwe Ligges


On 28.10.2010 11:23, Robert Kinley wrote:
Hi folks

I have inherited a package which was created before release 2.10 and I
need to have it working in release 2.12

There is a folder containing the Man, Data and R subfolders, and the
description
file, and there is also the corresponding zip file.

I can install the package from the zip file, but when I try to load it I
get the message :-
          Error: package   was built before R 2.10.0: please re-install
it

If I try to rebuild the zip file using
          C:\Program Files\R\R-2.12.0\bin\R.exe CMD build
my.library.folder

I get pages and pages of warnings and error messages, many of which seem
to  refer
to the Man folder.

Having never built a formal package before, I'm a bit  stuck for what to
do next ...

Presumably the expected structure of the folders has changed but the
documentation
on packages looks scary - can anyone suggest the best way forward - even
if
its only RTFM !

          thanks          Bob Kinley





                [[alternative HTML version deleted]]

______________________________________________
R-help@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.



______________________________________________
R-help@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.

Reply via email to