search for: bsub

Displaying 5 results from an estimated 5 matches for "bsub".

Did you mean: bsb
2012 Aug 21
1
Error: ReadItem: unknown type 98, perhaps written by later version of R
...ed correct: It reports in the out file: Error: ReadItem: unknown type 98, perhaps written by later version of R Execution halted Checking through google one had recommended rm ~/.RData I applied it, but the run again fails, when submitting through SAS for block 19. [SAS in macro lang.] %sysexec bsub R CMD BATCH &fullpath./dc19at&j..R &fullpath.dc19at&j..out ; [SAS ] %sysexec sleep 3 ; <looping through jobs in a block> If I go to the directory where the R program and the data reside and apply the same command by hand R CMD BATCH dc19at1.R dc19at1.out it works with n...
2009 Sep 11
1
help in matching two column vectors
...econd vector where a match is absent. With a simple example, I will explain my problem. (a<-1:6) (b<-c(5,2)) (m1<-match(a,b)) (ab<-cbind(a,m1)) m2<-numeric(length(m1)) for (i in 1:length(m1)) {m2[i]<-ifelse(is.na(m1[i]),NA,b(m1[i]))} # what I want to get - ab2 (shown below) bsub<-c(NA,2,NA,NA,5,NA) # hoped to get this from m2 via the for loop above (non NA elements from the b vector) (ab2<-cbind(a,bsub)) I get an error message that the function b is not found. How do I define this function? Are there any other simpler methods for achieving my final result? Without a...
2010 Dec 17
1
[R-sig-hpc] Error in makeMPIcluster(spec, ...): how to get a minimal example for parallel computing with doSNOW to run?
Shouldn't -n be 4 in the bsub command? One master+3 slaves. This was required for snowfall, but I think doSNOW is similar. Hope it helps mario On 16-Dec-10 23:09, Marius Hofert wrote: > Dear expeRts, > > I try to get a minimal example for parallel computing via "foreach&q...
2009 Apr 04
2
data.frame, converting row data to columns
...so there can be one row per name. But I need the wrist measurements to be in the same row. The number of wrist measures are variable, so I could fill in with NAs . But I really just need help with reshaping the data frame I think I had some success with the melt x = melt .data .frame(bsub,id.vars=c("name","nLevel","emot"),measure.vars=c("wrist")) But I can't figure out the cast to get the wrist values in the rows. Thanks ds David H. Shanabrook dhshanab@acad.umass.edu 256-1019 (home) [[alternative HTML version deleted]]
2010 Oct 01
1
Pass Arguments to R with an LSF submit
I'm trying to run R in batch mode on an LSF managed cluster. In simple settings, I can do it just fine. The trouble I'm having is when I try to pass arguments to the batch job. For example, bsub R CMD BATCH --args 1 3 commandfile.R & LSF doesn't like the &, and it doesn't run. I'm hoping one you can help me submit a job to an LSF cluster that allows me to pass arguments to R. Thank you, -tgs [[alternative HTML version deleted]]