Re: [R] pdf filenames in while loop

2008-08-20 Thread Barry Rowlingson
2008/8/20 Wesley Roberts <[EMAIL PROTECTED]>: > Dear R users, > pdf(file="as.character(paste(f.mat[a])).pdf") Whoa! Why the quotes? And why the as.character? Just paste: pdf(file=paste(f.mat[a],".pdf",sep="")) should do it. It looks like you were trying to create a file called "as.character(.

[R] pdf filenames in while loop

2008-08-20 Thread Wesley Roberts
Dear R users, I am a remote sensing researcher currently studying the use of LiDAR data for quantifying tree height, in particular I would like to determine the sample size needed to capture and quantify canopy height variability. To do this I have employed the use of automap(), which automatic