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

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" 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 URL > paths to files, i

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 certainl

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

[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" "examp

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

[Rd] readTableHead refers to itself as readTableHeader in some messages

2011-05-13 Thread Joris Meys
Dear all, is there a reason why the function readTableHead refers to itself in the error or warning messages as readTableHeader? lines 1590-1596 of scan.c : if(data.con->text && data.con->blocking) { warning(_("incomplete final line found by readTableHeader on '%s'"),