search for: osg_app

Displaying 2 results from an estimated 2 matches for "osg_app".

2009 Jul 22
1
strange behavior of system command
Dear R People: I'm running from R to a grid computer and getting some unusual results with the system command: > e7 <- system("globus-job-run xxxxx /bin/sh -c 'cd $OSG_APP/engage;chmod 777 oops'",intern=TRUE) chmod: changing permissions of `oops': Operation not permitted > e7 character(0) > I xx'ed out the site name. Anyhow, I would expect that the e7 would contain the warning. Is there any way to have e7 contain the warning please? Thanks...
2009 Jul 23
1
dimension trouble for a matrix
...x.df <- read.table(xx,header=FALSE,as.is=TRUE,sep="\t") n1 <- nrow(x.df) xy <- matrix(rep("",n1*3),nrow=n1,ncol=3) cat("dim",dim(xy),"\n") for(i in 1:n1) { xz <- paste("globus-job-run ",x.df[i,2]," /bin/sh -c 'echo $OSG_APP'", sep="") xw <- system(xz,intern=TRUE) if(length(xw)>0) { xy[i,1:2] <- x.df[i,1:2] print(xw) cat(i,xy[i,],"\n") cat(i,length(xw),dim(xw),"\n") xy[i,3] <- xw } } return(xy) } > I have no idea what's wrong. This should run lik...