Re: [Rd] R 3.1.0 and C++11

2013-11-04 Thread Romain Francois
Le 03/11/2013 22:45, Michael Kane a écrit : I'd like to echo Whit's sentiment and hopefully warm up this thread. C++11's new features and functionality give R users low-level tools (like threads, mutexes, futures, date-time, and atomic types) that work across platforms and wouldn't require other

[Rd] ggplot2: Add '+' operator for aes (uneval) objects

2013-11-04 Thread Thaler,Thorn,LAUSANNE,Applied Mathematics
Dear all, Is there a reason, why there is no +-operator for aes (i.e. uneval) objects (as there is for themes and gg objects)? I had a couple of cases where such an operator would be useful, for instance to combine the result of aes and aes_string in functions. Any flaws with the following prop

Re: [Rd] ggplot2: Add '+' operator for aes (uneval) objects

2013-11-04 Thread Brian G. Peterson
This seems like a conversation to have with the package's maintainer (Hadley), as suggested by the posting guide: http://www.r-project.org/posting-guide.html "If the question relates to a contributed package , e.g., one downloaded from CRAN, try contacting the package maintainer first." and n

[Rd] Determining files opened by an R session

2013-11-04 Thread Martin Gregory
I'm using R in a regulated environment and one of the requirements is to be able to trace how a result is arrived at. I would like to be able to determine which files are opened in read or write mode by an R session, for example when a program uses source, sink, file, open, read.table, write.ta

Re: [Rd] Determining files opened by an R session

2013-11-04 Thread Bert Gunter
I am not sure R can do what you want (others may), but have a look at ?history for R's history mechanism, which keeps a record of all commands that you have entered and so might satisfy your needs. Note that there are various 3rd party GUI's/IDE's (e.g. RStudio) that might be more to your likin

Re: [Rd] Determining files opened by an R session

2013-11-04 Thread Gabriel Becker
If you have the code in a parseable form then CodeDepends will try to do this: > library(CodeDepends) > code [1] "w = rnorm(10); t = read.csv('mycsv.csv'); lm(y~x, data = t)" > scr = readScript("dummy", type = "R", txt = code) > inp = getInputs(scr) > length(inp) [1] 3 > inp[[2]]@files [1] "mycsv.

Re: [Rd] Determining files opened by an R session

2013-11-04 Thread Murray Stokely
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. Not sure what the Windows equivalent w

Re: [Rd] Determining files opened by an R session

2013-11-04 Thread Dirk Eddelbuettel
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