The package R.utils has a function to get absolutepath

On Sun, Sep 26, 2010 at 1:00 AM, Sebastian Gibb <li...@sebastiangibb.de>wrote:

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

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

Reply via email to