0

I am running R in batch mode using Rwui to display visual contents.

In the last section of this document: http://sysbio.mrc-bsu.cam.ac.uk/Rwui/tutorial/Technical_Report.pdf, it is said that the "The R script must not set the working directory" -
I don't understand what they do mean by that. I have checked the help but it's still obscure for me. Could someone briefly explain me what this sentence means?

I checked my R script and it seems to create a directory. setwd("a path").

shean10000
  • 25
  • 1
  • 1
  • 7

1 Answers1

2

I would take it to mean that your script should not set a working directory. You probably need to remove the setwd() command and instead read in your files using the full path as the filename

C_Z_
  • 7,427
  • 5
  • 44
  • 81
  • I will try that, it's going to be challenging for me since all the application was created by RWUI. I have created the Rscript myself. Thanks for your help! – shean10000 Mar 31 '15 at 16:50