[Rd] version stamp details missing on current checkout

2008-06-26 Thread Vincent Carey 525-2265
this is from a fresh svn checkout: [EMAIL PROTECTED] R-devel]$ ls -tl Makefile -rw-rw-r-- 1 stvjc stvjc 12833 Jun 26 07:24 Makefile [EMAIL PROTECTED] R-devel]$ svn up At revision 45988. [EMAIL PROTECTED] R-devel]$ bin/R R version 2.8.0 Under development (unstable) (--) Copyright (C) The R

[Rd] aesthetics of do.call

2007-08-20 Thread Vincent Carey 525-2265
library(MASS) G1 = glm(sp~CW, data=crabs, fam=binomial) G2 = do.call(glm, list(sp~CW, family=binomial, data=crabs)) G1$call is very nice to look at G2$call is very voluminous if we revise do.call to function (what, args, quote = FALSE, envir = parent.frame()) { if (!is.list(args))

[Rd] X11() dies in remote background

2007-07-21 Thread Vincent Carey 525-2265
this is not a problem with R but a request for related advice. i am trying to run a lengthy batch job from my home. the OS is ... Linux jedi.bwh.harvard.edu 2.4.22-openmosix1smp #1 SMP Fri Sep 5 01:05:37 CEST 2003 i686 athlon i386 GNU/Linux i start the job and put it in the background. while

Re: [Rd] X11() dies in remote background

2007-07-21 Thread Vincent Carey 525-2265
Vincent Carey 525-2265 [EMAIL PROTECTED] writes: this is not a problem with R but a request for related advice. i am trying to run a lengthy batch job from my home. the OS is ... Linux jedi.bwh.harvard.edu 2.4.22-openmosix1smp #1 SMP Fri Sep 5 01:05:37 CEST 2003 i686 athlon

[Rd] list element names in S4 class extending list

2007-05-22 Thread Vincent Carey 525-2265
can list names attributes be preserved through S4 class containment? seems to be so but only if the containment relationship is direct ... see below. setClass(c1, contains=list) [1] c1 l1 = list(a=1, b=2) o1 = new(c1, l1) names(o1) # pleasant surprise [1] a b setClass(c2, contains=c1)

Re: [Rd] setIs and method dispatch in S4 classes

2006-04-07 Thread Vincent Carey 525-2265
as a fan of S4 i had a look at this; more definitive replies are undoubtedly to come ## now: B00 mother class to B01 and B02, and again B02 contains B01 by setIs: setClass(B00, representation(a=numeric)) setClass(B01, representation(a=numeric,b=numeric), contains= B00) the direct

[Rd] extending list in S4: loss of element names

2006-02-06 Thread Vincent Carey 525-2265
using R 2.3 of 1/31/06 new(list) list() new(list, list(a=1)) $a [1] 1 setClass(listlike, contains=list) [1] listlike new(listlike, list(a=1)) An object of class listlike [[1]] [1] 1 Why does the list in the second construction lose the element name? A workaround is to endow the listlike

Re: [Rd] What about a bib file

2006-01-30 Thread Vincent Carey 525-2265
Romain Francois suggests that a central bibliographic database (possibly in bibtex format) might be useful for reference inclusion in R package man pages. This has been discussed by a small group, with one proposal presented for a package-specific bibtex database placed in a dedicated package