[R] detect computer drives

Adrian Dușa dusa.adrian at unibuc.ro
Fri Nov 27 15:18:43 CET 2015


On Fri, Nov 27, 2015 at 4:03 PM, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> 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.


OK, thanks very much, it helps.
Adrian

	[[alternative HTML version deleted]]



More information about the R-help mailing list