[R] Maximum number of pasted 'code' lines?

Paul Hiemstra p.hiemstra at geo.uu.nl
Wed Oct 15 13:16:45 CEST 2008


Michael Just wrote:
> Hello,
> I write most of my R code in excel and then paste it into R. I am wondering
> if there is a limit to how much I can paste? I want to paste about 19,000
> lines of code should this work? I am doing this because when I did it chunks
> it took about an hour and half. I thought if I could insert it all and leave
> it for that long that would be better time management. I am still waiting
> for 19,000 paste to process. Any thoughts or suggestions?
>
> Thanks,
> Michael
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>   
Hi,

For windows I use the Tinn-R text editor that integrates nicely with R. 
For linux I use Kate (standard KDE text editor). 19000 lines of code, 
pfieuw, that is a lot of code....you could export the lines to a text 
file and load them into R using source().

cheers,
Paul

-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone: 	+31302535773
Fax:	+31302531145
http://intamap.geo.uu.nl/~paul



More information about the R-help mailing list