[R] Get the filename from the given path

Berend Hasselman bhh at xs4all.nl
Fri Aug 17 15:04:33 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 ?
> 

Please don't shout.

?basename


Berend




More information about the R-help mailing list