[R] Changing downloaded source code into a package
Duncan Murdoch
murdoch.duncan at gmail.com
Mon Aug 9 21:36:25 CEST 2010
On 09/08/2010 10:22 AM, JH wrote:
> I am wanting to change some lines of code in the R package named "nlme"
> http://cran.r-project.org/web/packages/nlme/index.html
>
That is usually a bad idea. If you have found a bug in the package, let
the maintainers know about it. If you want to add to it, write your own
package that makes use of nlme.
If you start editing the package yourself, then quickly you'll end up
being cut off from bug fixes and enhancements when the next version
comes out.
For instructions on installing a source package, see the Writing R
Extensions manual.
Duncan Murdoch
> To do this I have downloaded the Package source named nlme_3.1-96.tar.gz,
> opened up the file and changed the text documents within the folder named R,
> specifically the cor.Struct.txt file.
> I now want to know how can I use this modified nlme_3.1-96.tar.gz file in R
> 2.10. How do I convert this source code into a package?
>
>
> I have looked on the internet and tried using cmd.exe then the code
> Rmcd.exe INSTALL -1 ~/nlme_3.1-96.tar.gz
> I end up getting the message "The system can't find the specified path",
> when I have the file in the directory that Rmcd.exe is in.
>
>
>
More information about the R-help
mailing list