[R] Get the filename from the given path

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Aug 18 15:45:41 CEST 2012



On 17.08.2012 14:02, Michael Meyer wrote:
> Do
>
> splits <- strsplit(filePath,"file://%22,fixed=true)[[1/]]
> fileName <- splits[length(splits)])


And what is your question now?

If this is an answer, and we really appreciate people who try to help, 
please
a) cite the question and
b) provide answers that at least work for you. Yours has way too many 
errors or typos.

Best,
Uwe Ligges









> 	[[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> 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