[Rd] Generic Function for dffits?

2011-05-12 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 Viechtb

Re: [Rd] Recursively parsing srcrefs

2011-05-12 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 i

Re: [Rd] Recursively parsing srcrefs

2011-05-12 Thread Duncan Murdoch
On 12/05/2011 3:59 PM, Hadley Wickham wrote: 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

Re: [Rd] Recursively parsing srcrefs

2011-05-12 Thread Hadley Wickham
>> 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 on a particular location; that's wha

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

2011-05-12 Thread Duncan Murdoch
On 12/05/2011 1:55 PM, Henrik Bengtsson wrote: This might have been discussed before, but below is a "not-so-unlikely" use case where the user follows normal procedures, updates R to a major release version, and then R crashes: Thanks for putting together this nice reproducible example. I thi

Re: [Rd] Recursively parsing srcrefs

2011-05-12 Thread Duncan Murdoch
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 possible to walk through nested srcrefs,

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

2011-05-12 Thread Henrik Bengtsson
On Thu, May 12, 2011 at 10:55 AM, Henrik Bengtsson wrote: > This might have been discussed before, but below is a > "not-so-unlikely" use case where the user follows normal procedures, > updates R to a major release version, and then R crashes: > > 1. Use runs R stable (e.g. v2.13.0). > 2. User i

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

2011-05-12 Thread Henrik Bengtsson
This might have been discussed before, but below is a "not-so-unlikely" use case where the user follows normal procedures, updates R to a major release version, and then R crashes: 1. Use runs R stable (e.g. v2.13.0). 2. User installs a package with a namespace, e.g. install.packages("fortunes").

[Rd] Recursively parsing srcrefs

2011-05-12 Thread Hadley Wickham
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 the final step in allowing functions to modify other functions while preserving the original source. I've tried to make a bit of demo of what I want t

[Rd] Milestone: 3000 packages on CRAN

2011-05-12 Thread Henrik Bengtsson
So, it's time again. Today (2011-05-12) on CRAN [1]: "Currently, the CRAN package repository features 3000 available packages." Previous milestones: 2009-10-04: 2,000 packages [2] 2007-04-12: 1,000 packages [3] 2004-10-01:500 packages [4] 2003-04-01:250 packages [4] [1] http://cran.r-p

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

2011-05-12 Thread Simon Urbanek
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, it just allows R functions to do anything with it -- so

[Rd] Renjin - R for the JVM - new milestone released

2011-05-12 Thread Bertram, Alexander
Hi there, I've just posted a new milestone build for Renjin -- a port / new implementation of the R language interpreter for the JVM. There's still a long way to go, but the implementation of the base library is growing and is now sufficient to load packages assembled with R 2.10.x unmodified via

Re: [Rd] RCMD check fails on "checkin installed package size"

2011-05-12 Thread Duncan Murdoch
On 11/05/2011 8:07 AM, Stefan McKinnon Høj-Edwards wrote: Thanks. It worked. I added the line "_R_CHECK_PKG_SIZES_=no" to /etc/Rcmd_environ (I am the only user of this computer). Regarding the 'du' executable, it is found in the first directory in the PATH environment variable and came with Rt

Re: [Rd] raw connections: reading does not alter current position pointer

2011-05-12 Thread Prof Brian Ripley
I am not the author, but looking at the code shows that raw_read has a line missing compared to raw_write. It should work now in R-devel/R-patched. Thanks for the report. On Mon, 2 May 2011, William Dunlap wrote: Am I misunderstanding rawConnections here or are rawConnections not working rig