On 08/09/2010 06:51 PM, JH wrote:
I want to edit a function in the nlme package. I download the package source
nlme_3.1-96.tar.gz from the link below then edit it one of the scripts
inside of it. From this stage how can I turn it into a package that I can
use in R?
http://cran.r-project.org/web/packages/nlme/index.html
Building R packages under Windows (which I assume you are using, but you
don't specify) can be done by looking at the instructions at:
http://www.murdoch-sutherland.com/Rtools/
But to be true, loading the library and than sourcing the one function
you changed, like Jim Lemon suggested, is a better option.
regards,
Paul
--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone: +3130 253 5773
http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770
______________________________________________
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.