[R] output files in a different directory
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Fri Nov 21 20:33:40 CET 2003
"JFRI (Jesper Frickmann)" <jfri at novozymes.com> writes:
> Yes it is. Example from my program:
>
> workdir <- "S:\\Stat\\C03202\\R-output\\"
> ...
> sink(file=paste(workdir, assayname, "-1.txt", sep=""))
> ...
> win.metafile(filename = paste(workdir, assayname, "-2%02d.wmf", sep=""))
>
> You get the idea!
Also check out file.path() and setwd().
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list