search for: subdirmake

Displaying 1 result from an estimated 1 matches for "subdirmake".

2010 Nov 24
1
diverting output from nested loops
...e, Lara for (K in ...){ ... create object ... topDirName <- as.character(paste("topName", K, sep="")) topDirMake <- dir.create(topDirName) for (L in ...) { subDirName <- as.character(paste("subName", L, sep="")) subDirMake <- dir.create(subDirName) ... manipulate object ... for (M in ...) { objectName <- as.character(paste("objName", M, ".pdf", sep="")) pdf(objectName) plot(object) dev.off() } } } [[a...