Skip to content
Prev 311036 / 398506 Next

Error in Sweave but not underlying script

On 16/11/2012 2:26 PM, Bush, Daniel P. DPI wrote:
No, it's a pretty standard evaluation environment.  However,  it may be 
running R without some functions that exist in your workspace when you 
source the script within an R session.  It's also possible (but doesn't 
seem likely) that RStudio is causing some problems; you could try 
running "R CMD Sweave yourdoc.Rnw" from the command line, outside of 
Rstudio, to see if that makes a difference.

Duncan Murdoch