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

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

Sounds like you need to transfer the included file as well. Condor doesn't know about dependencies. You have to tell it about them. Try:

transfer_input_files = bay_alpha.R

For details see http://www.cs.wisc.edu/condor/manual/v7.4/condor_submit.html

- Ian

On 2010-08-14, at 5:14 PM, Shruti Mudra <shruti.mudra@xxxxxxxxx> wrote:

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

Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: