[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] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread Ray Kiddy
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 > > -

Re: [Rd] dev.interactive() changes

2007-05-21 Thread Prof Brian Ripley
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

Re: [Rd] AIX testers needed

2007-05-21 Thread Ei-ji Nakama
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

Re: [Rd] relist, an inverse operator to unlist

2007-05-21 Thread Seth Falcon
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

Re: [Rd] Passing R CMD Check without data

2007-05-21 Thread Seth Falcon
"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

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread David Scott
>> >> 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

[Rd] dev.interactive() changes

2007-05-21 Thread Deepayan Sarkar
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

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread Peter Dalgaard
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

Re: [Rd] AIX testers needed

2007-05-21 Thread Jason Barnhart
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

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread John Fox
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

Re: [Rd] AIX testers needed

2007-05-21 Thread Hin-Tak Leung
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

Re: [Rd] AIX testers needed

2007-05-21 Thread Jason Barnhart
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

[Rd] readLines needs some extra bit of documentation.

2007-05-21 Thread Hin-Tak Leung
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

[Rd] Passing R CMD Check without data

2007-05-21 Thread Arjun Ravi Narayan
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

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread John Fox
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

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread Vladimir Eremeev
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

Re: [Rd] bug? in first plot

2007-05-21 Thread Prof Brian Ripley
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

[Rd] bug? in first plot

2007-05-21 Thread Petr PIKAL
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

[Rd] setIs-relation does not entail automatic coercion in S4 method dispatch --- should it?

2007-05-21 Thread Peter Ruckdeschel
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

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread Peter Dalgaard
[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