Friday, September 09, 2011

Condor and R (1)

It is quite useful to use and condor and Rscript to compute some heavy R tasks.


But, condor dose not provided some easy mechanism to
transfer files over nodes.
For example, you have a .RData
file which contains the data frames and variables you need for the
computing tasks like the following setup:
\[
\boldsymbol y = \mathbf X_i + \boldsymbol\varepsilon_i
\]
where you have a moving window over $\mathbf X$ with size $w$.
For this purpose, you may want to use following R code to
do it sequentially:



It's not a big problem if you run it sequentially or run it
parallelly on your local machine:



The problem is doing it with condor:

with the condor file:

You will get some condor error message like:

then how should we fix it ?

Update: Just use:

0 comments:

Post a Comment