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
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
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
"
>
> 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
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
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))
> 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
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
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
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
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
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
12 matches
Mail list logo