[R] output files in a different directory

JFRI (Jesper Frickmann) jfri at novozymes.com
Fri Nov 21 19:44:09 CET 2003

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!

Kind regards, 
Jesper Frickmann 
Statistician, Quality Control 
Novozymes North America Inc. 
Tel. +1 919 494 3266
Fax +1 919 494 3460

-----Original Message-----
From: Fatima Sanchez Cabo [mailto:f.sanchezcabo at tugraz.at] 
Sent: Friday, November 21, 2003 11:25 AM
To: r-help at stat.math.ethz.ch
Subject: [R] output files in a different directory


Is it possible in R to write the output files in a different directory
than the working directory?

Thanks in advance,


Fatima Sanchez-Cabo
Institute of Biomedical Engineering
Graz Technical University
Krengasse 37
8010 Graz / Austria
Department of Biomolecular Sciences
P.O. Box 88
Manchester M60 1QD/UK

R-help at stat.math.ethz.ch mailing list

More information about the R-help mailing list