> Is it possible to have variable driven csv file names?  Such as:
> 
> ds.name<-"bob.csv"
> 
> write.table(
>       distribution.data,
>       file = "~//Documents/Research/Distribution Analysis/ds.name",
>       sep = ",",
>       col.names = FALSE,
>       qmethod = "double")

Yes.  You just need to construct your filename string using paste. Replace 
the file argument with

paste("~//Documents/Research/Distribution Analysis/", ds.name, sep="")

Also take a look at ?file.path for platform independent file paths.

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}

______________________________________________
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.

Reply via email to