[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] failed to run interconnected R file on condor

Hi Everyone,
I have a R file(Simulate_Data.R) which is calling other R file(bay_alpha.R) when i submit the calling file(Simulate_Data.R) to the condor i'm getting a error 
Error in file(file, "r", encoding = encoding) :
  cannot open the connection
Calls: source -> file
In addition: Warning message:
In file(file, "r", encoding = encoding) :
  cannot open file 'C:/Users/test_case/bay_alpha.R': Permission denied
Execution halted
here is my submit file test_R.sub
universe = vanilla
Executable =  Rscript.bat
should_transfer_files = YES
when_to_transfer_output = ON_EXIT
arguments = Simulate_Normal_Data.R
input = Simulate_Normal_Data.R
Output = test_r_out.out
Log = test_r_log.log
error = error_r.error
where RScript.bat is as follows
set PATH=path to the R bin folder
R CMD BATCH --vanilla %1
can anyone please tell me where i went wrong