From edd at debian.org  Mon Nov  4 23:55:27 2013
From: edd at debian.org (Dirk Eddelbuettel)
Date: Mon, 4 Nov 2013 16:55:27 -0600
Subject: [Rd] Determining files opened by an R session
In-Reply-To: <CAECWziJOs2sZpn8eunfcWO6dtYDYjW1JJS7WbdMqjgjpiMF42g@mail.gmail.com>
References: <52781286.7080808@t-online.de>
	<CAECWziJOs2sZpn8eunfcWO6dtYDYjW1JJS7WbdMqjgjpiMF42g@mail.gmail.com>
Message-ID: <21112.9695.519796.242578@max.nulle.part>


On 4 November 2013 at 14:31, Murray Stokely wrote:
| Most operating systems have tools which allow you to audit the resources
| used by a running process, for example the 'lsof' (list open files) command
| on Unix and MacOS X.  Or, for more complex dynamic tracing, the DTrace
| framework again on MacOS X or BSD Unix.

And strace is standard on Linux.
 
| Not sure what the Windows equivalent would be, or what platform you are
| using, but given the number of ways that code in packages and such may be
| accessing files in C code possibly based on environment variables or other
| configuration parameters, I would want to lean heavily on the operating
| systems tools for things like this rather than rely on parsing your R code
| looking for specific file access.

Yep.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



[Rd] Determining files opened by an R session
Dirk Eddelbuettel