[R] r function definition

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Dec 3 23:30:51 CET 2012


?source
---------------------------------------------------------------------------
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.

qq <qiz5 at hotmail.com> wrote:

>I am a very new R user. I am trying to write functons and debug
>functions.
>One problem for me is that I need to alwasy copy the whole function
>body and
>resubmit to R console every time I changed even one line of the
>function.
>Because I have long algorithm function, copying and pasting is very
>tedious
>for me. I assume if I save the function files, R should be able to just
>use
>the new function body since it is a scripting language. Can somebody
>let me
>know his best practice of using R function?
>
>
>
>--
>View this message in context:
>http://r.789695.n4.nabble.com/r-function-definition-tp4651943.html
>Sent from the R help mailing list archive at Nabble.com.
>
>______________________________________________
>R-help at 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.




More information about the R-help mailing list