Troubleshooting R BatchJobs Error is.list(control)

I was testing out the R package BatchJobs and ran into this error which was a little hard to trouble shoot.

The output (if any) follows:
:

:
running
:
‘/source/R/3.2.2/lib64/R/bin/R –slave –no-restore –no-save –no-restore –file=/data/talkowski/Samples/16pMouse:
_TissueAtlas/DataAnalysis/wgcnaAnalysis/boot_wgcna/BatchJobs/jobs/01/1.R –args /dev/stdout’
:

:
WARNING: ignoring environment value of R_HOME
:
Loading required package: BBmisc
:
Loading required package: methods
:
Loading registry: /data/talkowski/Samples/16pMouse_TissueAtlas/DataAnalysis/wgcnaAnalysis/boot_wgcna/BatchJobs/regis:
try.RData
:
Loading conf:
:
2016-03-24 16:09:17: Starting job on node cmu095.research.partners.org.
:
Auto-mailer settings: start=first+last, done=first+last, error=all.
:
Setting work dir: /data/talkowski/Samples/16pMouse_TissueAtlas/DataAnalysis/wgcnaAnalysis/Rscripts
:
Error : is.list(control) is not TRUE
:
Error in doWithOneRestart(return(expr), restart) : bad error message
:
Calls: <Anonymous> -> sendMail -> warningf
:
Setting work back to: /data/talkowski/Samples/16pMouse_TissueAtlas/DataAnalysis/wgcnaAnalysis/Rscripts
:
Memory usage according to gc:
:
used (Mb) gc trigger (Mb) max used (Mb)
:
Ncells 352464 18.9 592000 31.7 460000 24.6
:
Vcells 475908 3.7 1023718 7.9 786431 6.0
:
Execution halted
:

After loading the .RData files in the registry folder and running through trace route I finally figured out that it was mainly due to the max.retries option in the submitJobs function. I changed it form the default 10 to 0.  The error was resolved and I could start submitting my jobs to the LSF using R.

I am really glad for the people who developed this package and their efforts. Given the fix i found, I would rather not take away their time by posting a bug on github, as this might be potentially a system specific issue. If the developers have any time and are inclined to post their comments on this someday it would be great.

Advertisements

One thought on “Troubleshooting R BatchJobs Error is.list(control)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s