[R] get absolute file path

Sebastian Gibb lists at sebastiangibb.de
Sun Sep 26 10:00:47 CEST 2010


Hello,

I get a value which stores a relative file name. (I get it from another 
function, which I don't want to change.)
e.g.
> fileName <- "../data/2010-08.csv";

Is it possible to get the absolute file path out of this value?
(e.g. /home/sebastian/documents/data/2010-08.csv)

Kind regards,

Sebastian



More information about the R-help mailing list