Quantcast

Get the filename from the given path

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Get the filename from the given path

Michael Meyer-3
Do
 
splits <- strsplit(filePath,"file://%22,fixed=true)[[1/]]
fileName <- splits[length(splits)])
        [[alternative HTML version deleted]]


______________________________________________
[hidden email] 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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Get the filename from the given path

Uwe Ligges-3


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]]
>
>
>
> ______________________________________________
> [hidden email] 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.
>

______________________________________________
[hidden email] 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.
Loading...