Re: [Rd] What about a bib file

2006-01-31 Thread Martin Maechler
> "Vince" == Vincent Carey 525-2265 <[EMAIL PROTECTED]> > on Mon, 30 Jan 2006 17:49:37 -0500 (EST) writes: Vince> Romain Francois suggests that a central bibliographic database Vince> (possibly in bibtex format) might be useful for reference inclusion Vince> in R package ma

Re: [Rd] [R] Help! What does this R command mean?

2006-01-31 Thread Gabor Grothendieck
I think that a pointer to ?formula needs to be added to ?":" On 1/31/06, Liaw, Andy <[EMAIL PROTECTED]> wrote: > ":" in a formula is not the same as ":" otherwise! > > Andy > > From: Ionut Florescu > > > > a:b means - all the element in the vector from a to b > > a[,-1] means for the matrix a kee

[Rd] an unpleasant interaction of environments and generic functions

2006-01-31 Thread Ross Boylan
I've run into an unpleasant oddity involving the interaction of environments and generic functions. I want to check my diagnosis, and see if there is a good way to avoid the problem. Problem: A library defines "foo" <- function(object) 1 setMethod("foo", c("matrix"), function(object) 30) After l

Re: [Rd] an unpleasant interaction of environments and generic functions

2006-01-31 Thread Ross Boylan
On Tue, 2006-01-31 at 15:21 -0800, Ross Boylan wrote: > Any suggestions about how to avoid this problem? > Maybe sys.source("file", 2)... Seems to work! Not quite. The original versions of some stuff from the library hung around, and my efforts to delete them led to more difficulties. Specifical

Re: [Rd] [R] Help! What does this R command mean?

2006-01-31 Thread Duncan Murdoch
On 1/31/2006 4:55 PM, Gabor Grothendieck wrote: > I think that a pointer to ?formula needs to be added to ?":" Good suggestion; I'll do it. Duncan Murdoch > > > On 1/31/06, Liaw, Andy <[EMAIL PROTECTED]> wrote: >> ":" in a formula is not the same as ":" otherwise! >> >> Andy >> >> From: Ionut F

[Rd] window() problem (PR#8545)

2006-01-31 Thread KjetilBrinchmannHalvorsen
window() does not work correctly when called with extend=TRUE and the new time range intersect null with the old time range! Maybe this is really a feature request, but the documentation does not say what to expect in this case. This case does occur in programming! This is R2.2.1 on windows, l

[Rd] recover() (PR#8546)

2006-01-31 Thread KjetilBrinchmannHalvorsen
After using options(error=recover), it takes a long time (too long) to get back to the prompt. Look at: Browse[1]> recover() Enter a frame number, or 0 to exit 1: window(test, start = c(15, 1), end = c(17, 1), extend = TRUE) 2: window.ts(test, start = c(15, 1), end = c(17, 1), extend = TRUE) 3:

[Rd] Word boundaries and gregexpr in R 2.2.1 (PR#8547)

2006-01-31 Thread stgries
Full_Name: Stefan Th. Gries Version: 2.2.1 OS: Windows XP (Home and Professional) Submission from: (NULL) (68.6.34.104) The problem is this: I have a vector of two character strings. > text<-c("This is a first example sentence.", "And this is a second example sentence.") If I now look for

Re: [Rd] recover() (PR#8546)

2006-01-31 Thread ripley
Why are you calling recover() at the browse() prompt? What the help page says is When finished browsing in this call, type 'c' to return to 'recover' from the browser. Type another frame number to browse some more, or type '0' to exit 'recover'. You can also type Q in the brow

Re: [Rd] an unpleasant interaction of environments and generic functions

2006-01-31 Thread Uwe Ligges
Ross Boylan wrote: > I've run into an unpleasant oddity involving the interaction of > environments and generic functions. I want to check my diagnosis, and > see if there is a good way to avoid the problem. > > Problem: > A library defines > "foo" <- function(object) 1 > setMethod("foo", c("mat