Displaying 1 result from an estimated 1 matches for "supdir".
Did you mean:
subdir
2008 Aug 14
1
error in passing an argument to do.call when do.call is in a for statement
...toreConsole = TRUE)
x<-rnorm(1000)
hist(x)
dev.off()}
#this mimicks the generic function
drawpic<-function(method,methodArgs,rep=5){
dir.create(paste("C:\\BB\\"))
time<-format(Sys.time(), "%Y-%m-%d-%H%M")
dir.create(paste("C:\\BB\\",time,sep=""))
supdir<-paste("C:\\BB\\",time,sep="")
for (i in 1:rep){
subdir<-randomstring()
dir.create(paste(supdir,"\\",subdir,sep=""))
Path<<-paste(supdir,"\\",subdir,"\\jpg.jpg",sep="")#using `<-' instead of `<<-'...