Re: [R] Rscript and roxygen error

2014-05-26 Thread Yihui Xie
library(methods) Regards, Yihui -- Yihui Xie Web: http://yihui.name On Mon, May 26, 2014 at 9:48 AM, Witold E Wolski wrote: > the same script which is not working with Rscript does work with R CMD BATCH. > > I thought the main difference between Rscript and R CMD BATCH is where > the ouptut ge

Re: [R] Rscript and roxygen error

2014-05-26 Thread Witold E Wolski
the same script which is not working with Rscript does work with R CMD BATCH. I thought the main difference between Rscript and R CMD BATCH is where the ouptut gets redirected and that Rscript should preferred over the old R CMD BATCH. On 26 May 2014 15:12, Witold E Wolski wrote: > I do wan

[R] Rscript and roxygen error

2014-05-26 Thread Witold E Wolski
I do want to run a R script (runrox.sh) containing two commands: library(roxygen2) roxygenize("imsbInfer") When pasting these 2 lines into R they run with no error. But when calling: Rscript runrox.sh the script produces this error: roxygen fails with Error: Failure in roxygen block beginning