Re: [R] Rscript question

2010-02-19 Thread Prof Brian Ripley
On Fri, 19 Feb 2010, Jinfeng Liu wrote: OS gmail.com> writes: Hi, I have some code I run interactively through the R interpreter and it works fine. I then run it as a script with Rscript and I get an error. The error is coming when Rscript builds a model matrix. Output from Rscript with the e

Re: [R] Rscript question

2010-02-19 Thread Jinfeng Liu
OS gmail.com> writes: > Hi, > I have some code I run interactively through the R interpreter and it works > fine. I then run it as a script with Rscript and I get an error. The error > is coming when Rscript builds a model matrix. > > Output from Rscript with the error: > running > '/usr/lib/R/