Re: [Rd] Recursively parsing srcrefs

2011-05-13 Thread Romain Francois
Le 12/05/11 21:59, Hadley Wickham a écrit : Is it possible to recursively parse srcrefs to match the recursive structure of the underlying code? I'm interested in this because it's I don't understand what you mean by that. It is certainly possible to walk through nested srcrefs, to zoom in

[Rd] Generic Function for dffits?

2011-05-13 Thread Viechtbauer Wolfgang (STAT)
Dear All, help(influence.measures) shows that there are generic functions for dfbetas(), covratio(), cooks.distance(), hatvalues(), and a few others, but apparently not for dffits(). Wouldn't it be more consistent to have a generic function for this in stats as well? Best, -- Wolfgang

Re: [Rd] Create and access several instances of a C++ class from R

2011-05-13 Thread soeren . vogel
On 07.05.2011, at 11:15, Romain Francois wrote: Try having do_bar with this signature: void do_bar(NumericVector data); And my advice would probably also to have your C field either as a NumericVector. NumericVector is just a thin wrapper around the internal R data structure. Having

[Rd] RProfmem output format

2011-05-13 Thread Hadley Wickham
Hi all, When I run the example in RProfmem, I get: Rprofmem(Rprofmem.out, threshold=1000) example(glm) Rprofmem(NULL) noquote(readLines(Rprofmem.out, n=5)) ... [1] 1384 :5416 :5416 :1064 :1064 :readRDS index.search example [2] 1064 :readRDS index.search example [3] 4712

Re: [Rd] Reproducible use case for R crash after updating R

2011-05-13 Thread Duncan Murdoch
A simple version of a fix is now in R-devel: if the .RData file can't be loaded during startup, an error message is printed, and R starts with an empty workspace. The name of the .RData file is printed. It's usually just .RData, because that's what R tries to load; the file will be in the

Re: [Rd] Recursively parsing srcrefs

2011-05-13 Thread Duncan Murdoch
On 11-05-12 2:37 PM, Duncan Murdoch wrote: On 12/05/2011 1:02 PM, Hadley Wickham wrote: Hi all, Is it possible to recursively parse srcrefs to match the recursive structure of the underlying code? I'm interested in this because it's I don't understand what you mean by that. It is certainly

Re: [Rd] R html help system [Was: How to document man/*.Rd pages with images?]

2011-05-13 Thread Sean Robert McGuffee
On 5/12/11 9:13 AM, Simon Urbanek simon.urba...@r-project.org wrote: I just want to clarify the mechanics of the help system when using html. R has a built-in HTTP server (aka Rhttpd) which transforms HTTP requests to function calls. It is not your usual web server, because it doesn't map

Re: [Rd] R html help system [Was: How to document man/*.Rd pages with images?]

2011-05-13 Thread Simon Urbanek
On May 13, 2011, at 7:08 PM, Sean Robert McGuffee wrote: On 5/12/11 9:13 AM, Simon Urbanek simon.urba...@r-project.org wrote: I just want to clarify the mechanics of the help system when using html. R has a built-in HTTP server (aka Rhttpd) which transforms HTTP requests to function