Hi everyone, I'm trying to create unique filenames and then write a data frame into these files. This is the code I am using.
str1<-"fname" str2<-".ext.txt"; FILENAME<-paste0(str1,str2); write.table(df, file=FILENAME,col.names=FALSE,row.names=FALSE,quote=FALSE,sep="\t"); Ideally, a file called fname.ext.txt should be created, containing the data frame df. However, the file is not getting created at all. Am I going wrong somewhere? [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.