On 3/31/06 12:20 PM, "Toby Daniel Ahrens" <[EMAIL PROTECTED]> wrote:

> Hi:
> 
> I have been writing some functions in R that are about 500-1000 lines long,
> and when I copy and paste the code into the R console, it takes about 20-30
> seconds for R to ³print² and run the code at the console command line (and
> this is just for function definition - R isn't actually executing any
> commands).  If I minimize the R console so that it shows only one line at a
> time, screen ³printing² time can be cut in half, but it would be nice to
> reduce this further when I am changing the code fairly often.  Is there any
> way to make the code run in R without ever printing each line in the R
> console (such as printing to a ³back² screen that isn¹t visible)?
> 
> Thanks very much and waiting impatiently,

See ?source.  Just save your R code and then source it.

Sean

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to