Skip to content
Prev 349804 / 398513 Next

script works in Rstudio but not with Rscript

Does it work with R -f script?  If so, then it's because Rscript does not
attaching methods package by default, but R does. Try loading methods at
the top of your script.

My $.02

Henrik
On Apr 8, 2015 07:41, "Milt Epstein" <mepstein at illinois.edu> wrote: