[Rd] .libPaths() on Windows may return duplicated paths

2011-03-15 Thread Henrik Bengtsson
In R v2.12.2 patched (2011-03-13 r54787) and also in R v2.13.0 devel (2011-03-15 r54806), .libPaths() may return the multiple paths referring to the same "normalized" path name. Here is an example from Rterm --vanilla using R v2.12.2 patched: > paths <- .libPaths(c("C:/", "C:\\")) > paths [1] "C:

Re: [Rd] object not found whilst loading namespace

2011-03-15 Thread Duncan Murdoch
On 11-03-15 9:59 PM, Max Kuhn wrote: Please disregard the last email... The issue was a syntactical error in a file that, alphabetically, comes before confusionMatrix.R in the package. The odd thing was that the problem in this file did not throw and error (or I would have easily found it). I d

Re: [Rd] object not found whilst loading namespace

2011-03-15 Thread Max Kuhn
Please disregard the last email... The issue was a syntactical error in a file that, alphabetically, comes before confusionMatrix.R in the package. The odd thing was that the problem in this file did not throw and error (or I would have easily found it). I decided to source the R files one by one

[Rd] object not found whilst loading namespace

2011-03-15 Thread Max Kuhn
I've been updating a package and, when installing a local devel version, I get an error "object 'confusionMatrix' not found whilst loading namespace". Looking around online, it appears that this might be related to loading a specific RData file, but it doesn't seem to be the case AFAICT. I've inst

Re: [Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-15 Thread Greg Snow
You could use winProgressBar (windows only) or TkProgressBar (tcltk package required) instead, then nothing is output to the console/standard out but you still have a visual of your progress. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 80

Re: [Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-15 Thread Duncan Murdoch
On 15/03/2011 8:46 AM, Matt Shotwell wrote: Here's a temporary fix; reassign 'cat' in the environment of 'txtProgressBar': tpbEnv<- new.env() assign("cat", function(...) cat(file=stderr(),...), tpbEnv) environment(txtProgressBar)<- tpbEnv I would suggest renaming the function as well. What's

Re: [Rd] Standardized Pearson residuals

2011-03-15 Thread peter dalgaard
On Mar 15, 2011, at 14:22 , Jari Oksanen wrote: > On 15/03/11 13:17 PM, "peter dalgaard" wrote: > >> >> On Mar 15, 2011, at 04:40 , Brett Presnell wrote: >> >>> > Background: I'm currently teaching an undergrad/grad-service course from > Agresti's "Introduction to Categorical Data An

Re: [Rd] Standardized Pearson residuals

2011-03-15 Thread peter dalgaard
On Mar 15, 2011, at 13:42 , John Maindonald wrote: >> Peter Dalgaard: It would also be nice for teaching purposes if glm or >> summary.glm had a >> "pearsonchisq" component and a corresponding extractor function, but I >> can imagine that there might be arguments against it that haven't >> occur

Re: [Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-15 Thread Matt Shotwell
Here's a temporary fix; reassign 'cat' in the environment of 'txtProgressBar': tpbEnv <- new.env() assign("cat", function(...) cat(file=stderr(),...), tpbEnv) environment(txtProgressBar) <- tpbEnv Best, Matt On 03/15/2011 05:37 AM, Andreas Borg wrote: Hi all, I use txtProgressBar to monitor

Re: [Rd] Standardized Pearson residuals

2011-03-15 Thread Jari Oksanen
On 15/03/11 13:17 PM, "peter dalgaard" wrote: > > On Mar 15, 2011, at 04:40 , Brett Presnell wrote: > >> Background: I'm currently teaching an undergrad/grad-service course from Agresti's "Introduction to Categorical Data Analysis (2nd edn)" and deviance residuals are not used i

Re: [Rd] Standardized Pearson residuals

2011-03-15 Thread John Maindonald
> Peter Dalgaard: It would also be nice for teaching purposes if glm or > summary.glm had a > "pearsonchisq" component and a corresponding extractor function, but I > can imagine that there might be arguments against it that haven't > occured to me. Plus, I doubt that anyone wants to touch glm un

Re: [Rd] Standardized Pearson residuals

2011-03-15 Thread peter dalgaard
On Mar 15, 2011, at 04:40 , Brett Presnell wrote: > >>> Background: I'm currently teaching an undergrad/grad-service course from >>> Agresti's "Introduction to Categorical Data Analysis (2nd edn)" and >>> deviance residuals are not used in the text. For now I'll just provide >>> the students wi

[Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-15 Thread Andreas Borg
Hi all, I use txtProgressBar to monitor progress of large computations. What I miss is the ability to redirect the progress bar to a stream other than stdout, specifically to the message stream. This would be useful for running Sweave scripts: When redirected to stderr, the bar could be visib