Is there a way to do it? For example I tried this: args<-commandArgs() fname <- args[6]."-".args[9] # then I would like to create a file # using the above created name postscript(filename=fname) dev.off() But that concatenation doesn't seem to do it. -- Gundala Viswanath