On 27 November 2015 at 15:43, Adrian Dușa wrote: | Is there a method to detect the computer's drives? | That would include USB sticks, when they are recognised by the operating | system.
That is very obviously OS-dependent amd would need to be wrapped conditional on the OS. In R you can test for _explicitly named_ directories and files, but not more. As such, the question is not appropriate for this forum. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.