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

bartjoosen bartjoosen at hotmail.com
Wed Oct 15 16:36:13 CEST 2008


Hello,

Writing 19000 lines of R-script in Excel sounds terrible.
Could you provide us some code (please NOT 19000 lines), and the way you
generate this with Excel,
maybe we can figure out a much shorter/faster way to accomplish the same
result?

Bart



Duncan Murdoch-2 wrote:
> 
> On 10/14/2008 2:39 PM, Michael Just wrote:
>> Erik, Roger, others:
>> 
>> Why I use excel: the ability to concatenate and 'drag' formulas. I use it
>> because it is what I know. Apparently, excel is frowned upon, what should
>> I
>> be using? I don't know how else to create many very similar lines of R
>> code.
> 
> I think you're solving the wrong problem.  It's unlikely that you really 
> need a 19000 line R script, especially if it's a script that Excel could 
> create: it's likely that a loop in R would be much more compact and 
> easier to read.
> 
> Duncan Murdoch
> 
> ______________________________________________
> 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.
> 
> 

-- 
View this message in context: http://www.nabble.com/Maximum-number-of-pasted-%27code%27-lines--tp19978992p19994869.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list