Re: [Rd] diagnosing a CMD check failure

2010-12-17 Thread Vincent Carey
That got me a little further. system2() seems not to like my system. > system("date") Fri Dec 17 15:35:21 EST 2010 > system2("date") sh: : No such file or directory This is with 2.13 r53555. On Fri, Dec 17, 2010 at 3:01 PM, Duncan Murdoch wrote: > On 17/12/2010

[Rd] diagnosing a CMD check failure

2010-12-17 Thread Vincent Carey
I have created a quite minimal package with a simple R program in the tests subfolder. When I run CMD check, I get * checking examples ... OK * checking for unstated dependencies in tests ... OK * checking tests ...sh: : No such file or directory ERROR I don't see a way of diagnosing this. The

[Rd] CMD check: checking data for non-ASCII characters is very time consuming

2010-09-02 Thread Vincent Carey
Checking data for non-ASCII characters takes a very long time for packages with substantial data components. Could the check be done manually by the developer, and a switch introduced to optionally skip this during check? __ R-devel@r-project.org mailing

[Rd] when prompt() throws an error...

2009-06-28 Thread Vincent Carey
" > > date() > sink() > date() [1] "Sun Jun 28 23:45:35 2009" > sessionInfo() R version 2.10.0 Under development (unstable) (2009-06-23 r48824) x86_64-unknown-linux-gnu locale: [1] C attached base packages: [1] stats graphics grDevices datasets utils method

[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 Found

[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))

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-o

[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 i

[Rd] list element names in S4 class extending list

2007-05-21 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("c

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

[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 end

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 subd