[R] Isolating string containing only file name from complete path

Ken Termiso jerk_alert at hotmail.com
Mon Jul 11 18:13:58 CEST 2005

Hi all,

What I'd like to do is to is to be able to extract a string corresponding to 
only the file name from a string containing the complete path, i.e. from the 
following path string:


I would like to end up with:


This would be most ideally done in a platform-independent way.

Thanks in advance,

More information about the R-help mailing list