[R] How to change R file in stats?

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Thu Jan 17 07:57:14 CET 2013

Sorry, this is not the place for a detailed answer to this question.

For testing you can load modified R functions into an R session by loading the original package using the library function and then pasting the new function definition at the command line. When R goes looking for that function it will find your global version before it finds the one from the package.

For rebuilding the package, please read the Writing R Extensions documentation.
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
Sent from my phone. Please excuse my brevity.

Ibrahim Sobh <im_sobh at hotmail.com> wrote:

>I have changed some code in R file inside the stats package
>(dendrogram.R). Now I wan to test and run the stats package with the
>new updated code, what should I do in detail?
>RegardsIbrahim Sobh  		 	   		  
>	[[alternative HTML version deleted]]
>R-help at r-project.org mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list