On 13-01-17 8:31 AM, S Ellison wrote:
-----Original Message-----
I have changed some code in R file inside the stats package
(dendrogram.R).
That was brave. Others have already commented on its wisdom...
Now I wan to test and run the stats package
with the new updated code, what should I do in detail?
1. Read and follow the instructions in 'Writing R extensions' to build an
installable .tar.gz or (for windows) .zip binary of the stats package.
2. Back up your copy of R.
3. Install the newly built stats package in the normal way.
Stats is a base package, so that won't work. Base packages are built
and installed differently from other packages.
He could modify the sources and build a custom copy of R for himself,
but that seems kind of extreme.
A better way would be to copy the source for the function into his own
package. If he intends to release it, he must retain copyright notices
on it and release his own package with a GPL-compatible license.
Duncan Murdoch
4. Test.
5. Revert to the backup.
Safer still to create a different installation of R locally and apply the new
package install to that.
S
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}
______________________________________________
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.