[R] Get the filename from the given path

R. Michael Weylandt michael.weylandt at gmail.com
Fri Aug 17 14:39:57 CEST 2012


On Fri, Aug 17, 2012 at 5:28 AM, Rantony <antony.akkara at ge.com> wrote:
> Hi,
>
> Here i have a file path,
> for eg : -
> FPath <- "D:\\MyFolder\\MyFile.txt"
>
> HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
>

Quite possibly by yelling at it....


or regular expressions: you know, whatever

> - thanks in advance
> Antony.
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Get-the-filename-from-the-given-path-tp4640578.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list