[Rd] Determining files opened by an R session
Dirk Eddelbuettel
edd at debian.org
Mon Nov 4 23:55:27 CET 2013
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
More information about the R-devel
mailing list