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
On May 21, 2007, at 5:59 AM, John Fox wrote:
> Dear Peter and Ray,
>
> I think that Ray's problem finding apropos is that "apropos" has
> one "p."
> Interestingly, help.search("appropos") (as suggested by Peter) is
> able to
> accommodate the spelling error.
>
> Regards,
> John
>
> -
Thanks, it should work now.
On Mon, 21 May 2007, Deepayan Sarkar wrote:
> On 5/5/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
>
> [...]
>
>> You meam as in
>>
>> o dev.interactive() regards devices with the displaylist enabled
>> as interactive, and packages can register the nam
Hi.
I was not careful to 32bit very much.
You can expand memory for data to 2G by LDR_CNTRL.
It is as follows.
LDR_CNTRL="MAXDATA=0x1000" 1 256 MB
LDR_CNTRL="MAXDATA=0x2000" 2 512 MB
LDR_CNTRL="MAXDATA=0x3000" 3 768 MB
LDR_CNTRL="MAXDATA=0x4000" 4
Hi Andrew,
Andrew Clausen <[EMAIL PROTECTED]> writes:
> For reasons I can't explain, the code I posted worked in my session, but
> didn't
> work when I started a fresh one. standardGeneric() seems to get confused
> by defaults for missing arguments. It looks for a "missing" method with
> this c
"Arjun Ravi Narayan" <[EMAIL PROTECTED]> writes:
> I have a package which passes R CMD check with the --no-vignettes option.
> However, it does not pass the check without that, as the vignette relies on
> some data files that I cannot distribute. However, I would like the package
> to pass the che
>>
>> By the way, the R program itself is really badly in need of an
>> "appropos()" to
>>
I don't normally pick on spelling errors and my reply is out of sequence
because I deleted the Peter's message replying on this.
?appropos
will give a not found reply
?apropos
will give some useful info
On 5/5/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
[...]
> You meam as in
>
> o dev.interactive() regards devices with the displaylist enabled
> as interactive, and packages can register the names of their
> devices as interactive via deviceIsInteractive().
>
> ?
Quick
John Fox wrote:
> Dear,
>
> My spelling correction was poorly phrased, since there are actually two p's
> in "apropos," but there aren't two adjacent p's.
>
> I agree that a reference to apropos on the help page for help is a good
> idea.
>
>
Of course, except that it is unclear that the origina
Thanks for responding.
I don't think it's that simple. That's a soft limit, the hard limit
is "unlimited."
The results of gc() in the original post indicated that R could
utililize more than 32MB of RAM.
My sysadmin had already increased my memory limits prior to my
posting.
Just to confirm
Dear,
My spelling correction was poorly phrased, since there are actually two p's
in "apropos," but there aren't two adjacent p's.
I agree that a reference to apropos on the help page for help is a good
idea.
Regards,
John
John Fox, Professor
Department of Soci
Jason Barnhart wrote:
> Thank you for responding.
>
> I should have added -a on my ulimit command. Here are its results;
> which I believe are not the limiting factor.
>
> %/ > ulimit -a
> core file size(blocks, -c) 1048575
> data seg size (kbytes, -d) unlimited
> file size
Thank you for responding.
I should have added -a on my ulimit command. Here are its results;
which I believe are not the limiting factor.
%/ > ulimit -a
core file size(blocks, -c) 1048575
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max memor
I have a need to use readLines to read just the first line
of a file and do some processing on that, and read and re-read
?readLines and did not see any mention of whether the actual
end-of-line character (LF, CR/LF or CR) is included as part of
the returned character vector or not.
I just tried i
I have a package which passes R CMD check with the --no-vignettes option.
However, it does not pass the check without that, as the vignette relies on
some data files that I cannot distribute. However, I would like the package
to pass the check so that I can put it on CRAN, so that other people with
Dear Peter and Ray,
I think that Ray's problem finding apropos is that "apropos" has one "p."
Interestingly, help.search("appropos") (as suggested by Peter) is able to
accommodate the spelling error.
Regards,
John
John Fox, Professor
Department of Sociology
McMa
There are also R reference cards and other quick- and kick-starting manuals,
mentioned in the documentation.
Ray Kiddy-2 wrote:
>
> There is no section in the FAQ equivalent to "Using R". The "R Basics" is
> too
> basic. I would say it addresses "meta-R" questions, such as installing.
>
> I ha
Please, that is a serious old version of R-devel and we are now on r41655.
I don't see it on a recent version (and actually I have never seen it).
On Mon, 21 May 2007, Petr PIKAL wrote:
> Started as -vanilla
>
> R version 2.6.0 Under development (unstable) (2007-04-30 r41390)
> Copyright (C) 2007
Started as -vanilla
R version 2.6.0 Under development (unstable) (2007-04-30 r41390)
Copyright (C) 2007 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'licens
Hi R-devels,
I am a bit puzzled about when/if "setIs-conditional" coercion is performed
in S4 method dispatch.
Setup: Myclass1 setIs()-conditionally is inheriting from Myclass2.
My first guess would have been:
If the corresponding test clause in setIs() is TRUE and there is
no Myclass1-method f
[EMAIL PROTECTED] wrote:
> By the way, the R program itself is really badly in need of an "appropos()" to
> go alongside "help()". Perhaps "help()" can be renamed to "hunt()" or
> "huntAndPeck()".
>
>
help.search("appropos")
--
O__ Peter Dalgaard Ă˜ster Farimagsgade 5, Entr
21 matches
Mail list logo