[R] detect computer drives

Dirk Eddelbuettel edd at debian.org
Fri Nov 27 15:03:43 CET 2015


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 | edd at debian.org



More information about the R-help mailing list