Re: [Rd] install.packages(,type="source") broken on Windows

2006-09-08 Thread Herve Pages
OK thanks. Just FYI the same thing happens with R version 2.5.0 devel (2006-09-07 r39185). Best, H. Peter Dalgaard wrote: > [EMAIL PROTECTED] writes: > > >> Hi, >> >> On Windows, 'install.packages(,type="source")' displays the same output >> than 'R CMD INSTALL --help' and doesn't install anyt

Re: [Rd] install.packages(,type="source") broken on Windows

2006-09-08 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Hi, > > On Windows, 'install.packages(,type="source")' displays the same output > than 'R CMD INSTALL --help' and doesn't install anything... Yes. The culprit is r39127 | urbaneks | 2006-09-05 2

[Rd] install.packages(,type="source") broken on Windows

2006-09-08 Thread hpages
Hi, On Windows, 'install.packages(,type="source")' displays the same output than 'R CMD INSTALL --help' and doesn't install anything... This is with R version 2.4.0 alpha (2006-09-06 r39158). > install.packages('cat',type='source') trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/cat_0.0-6.

Re: [Rd] (PR#9202) Re: Bugs with partial name matching

2006-09-08 Thread Tony Plate
Anil Maliyekkel wrote: > [snip] > > Going back to the original partial replacement problem, is there > anyway to turn off partial matching, or to selectively apply exact > matching when trying to access a single element? I can get the > desired single element match using the convoluted synt

Re: [Rd] Extending [ method to S4 class and drop argument (PR#9211)

2006-09-08 Thread Martin Morgan
Or more in the spirit of method dispatch, and to get some insight into why this design decision is not a bug: > setClass("test",representation(x="character")) [1] "test" > > setMethod("[", + signature(x="test", drop="missing"), + function(x, i, j, ..., drop) { +

Re: [Rd] Extending [ method to S4 class and drop argument (PR#9211)

2006-09-08 Thread mtmorgan
Or more in the spirit of method dispatch, and to get some insight into why this design decision is not a bug: > setClass("test",representation(x="character")) [1] "test" > > setMethod("[", + signature(x="test", drop="missing"), + function(x, i, j, ..., drop) { +

Re: [Rd] (PR#9202) Re: Bugs with partial name matching

2006-09-08 Thread Bill Dunlap
> > I can get the > > desired single element match using the convoluted syntax D["ABC"] > > [[1]] and perform partial replacement operations on a new column. > > However, it would be nice to have single element access operator that > > does exact matching. > > It wouldn't fix the bug, and we are r

Re: [Rd] (PR#9202) Re: Bugs with partial name matching

2006-09-08 Thread Thomas Lumley
On Tue, 5 Sep 2006, Anil Maliyekkel wrote: > This problem does not appear when the following is done > > > D = list(ABCD=2:1) > > D$ABC[]=c(3,4) > > D > $ABCD > [1] 2 1 > > $ABC > [1] 3 4 > > > It appears to be a sequence specific bug for the $ operator, which > might explain why it did not occur

Re: [Rd] Extending [ method to S4 class and drop argument (PR#9211)

2006-09-08 Thread Gabor Grothendieck
Try this: > setClass("test",representation(x="character")) [1] "test" > setMethod("[","test",function(x,i,j,...,drop) { +print(i) +if (missing(drop)) drop <- TRUE +print(drop) + }) [1] "[" > a = new("test",x="fred") > a[1] [1] 1 [1] TRUE On 9/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED

Re: [Rd] Complete documentation gram.y ??

2006-09-08 Thread Barry Rowlingson
Patricia Bautista wrote: > Hi everybody, > > Does anybody know where I can find documentation about > file gram.y?. What I need to do is related to the > parse tree. I need the parse tree of a R user defined > function for being used by a c++ function. Briefly, I > have a C++ function that is use

[Rd] Extending [ method to S4 class and drop argument (PR#9211)

2006-09-08 Thread jverzani
Full_Name: John Verzani Version: 2.4.0 alpha (2006-09-05 r39134) OS: linux, gentoo 2.6.17 Submission from: (NULL) (163.238.43.26) When extending the "[" method to a new S4 class, the default value for the drop argument is not being found. Here is a small example: setClass("test",representation(x

Re: [Rd] Complete documentation gram.y ??

2006-09-08 Thread Duncan Murdoch
On 9/8/2006 10:03 AM, Patricia Bautista wrote: > Hi everybody, > > Does anybody know where I can find documentation about > file gram.y?. It's input to bison (or yacc). You could read bison documentation to find what it does. I don't think there is any documentation for it other than that a

[Rd] Complete documentation gram.y ??

2006-09-08 Thread Patricia Bautista
Hi everybody, Does anybody know where I can find documentation about file gram.y?. What I need to do is related to the parse tree. I need the parse tree of a R user defined function for being used by a c++ function. Briefly, I have a C++ function that is used to generate random numbers from a spe

Re: [Rd] [R] R drop behavior -- set as option in later version?

2006-09-08 Thread Martin Maechler
>>> Balaji S. Srinivasan stanford.edu> writes: Balaji> I know the topic of drop=TRUE/FALSE has been Balaji> discussed quite a bit, { indeed and often enough by great minds so that at one point in time newcomres could believe it was not worth the pain to take it up again ...