[R] r function definition

Robert Baer rbaer at atsu.edu
Tue Dec 4 01:30:05 CET 2012


On 12/3/2012 2:30 PM, qq 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?
You might be at the point where a development environment is useful.  
There are multiple choices, but I'm quite fond of RStudio.
http://www.rstudio.com/ide/download/

Rob

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


-- 
__________________
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksille College of Osteopathic Medicine
A. T. Still University of Health Sciences
Kirksville, MO 63501 USA




More information about the R-help mailing list