Re: [Rd] Re: R-devel Digest, Vol 19, Issue 20

2004-09-22 Thread Uwe Ligges
Shaogang Qu wrote: I met several problems in using R, and I can not find the exact answer after reading some r-docs and searching the web, maybe I use them in a wrong way. So, I hope you may offer me some guide on it if possible. The problems are as follows: 1 I see the example sou

[Rd] Rgraphviz compilation error

2004-09-22 Thread Saurin Jani
Hi, I am installing Rgraphviz at Linux Fedora Core 2 with 32 bit AMD athlon with 512 RAM. I have installed graphviz version: graphviz-1.16-1.src.rpm installed already on system. I am doing: $ R CMD INSTALL -l /usr/local/lib/R/library Rgraphviz_1.4.0.tar.gz --

[Rd] attaching to position 1

2004-09-22 Thread Patrick Burns
If an attempt is made to attach to position 1, it appears to work (not even a warning) but in fact it doesn't work as many would expect. "search" thinks that it gets placed in position 2, but nothing is actually there (according to "ls"). This is guaranteed to be confusing (and annoying) to people

[Rd] Re: R-devel Digest, Vol 19, Issue 20

2004-09-22 Thread Shaogang Qu
I met several problems in using R, and I can not find the > exact answer after reading some r-docs and searching the web, maybe I > use them in a wrong way. > > So, I hope you may offer me some guide on it if possible. The problems > are as follows: > > 1 I see the example source fo

Re: [Rd] Re: Compile error in 2004-09-21 R 1.9.1 Patched

2004-09-22 Thread Duncan Murdoch
On 22 Sep 2004 11:43:46 +0200, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > >r28973 | (no author) | 2004-04-12 14:11:32 +0200 (Mon, 12 Apr 2004) | 2 lines > >This commit was manufactured by cvs2svn to create branch >'R-1-9-pat

Re: [Rd] Re: Compile error in 2004-09-21 R 1.9.1 Patched

2004-09-22 Thread Peter Dalgaard
Marc Schwartz <[EMAIL PROTECTED]> writes: > On Tue, 2004-09-21 at 18:32, Marc Schwartz wrote: > > Hi all, > > > > I just downloaded the latest R-patched tarball [Version 1.9.1 Patched > > (2004-09-21)] and ran into an error during compilation. This is on FC2 > > and the error is as follows: Thos

Re: [Rd] S4 methods and polymorophism

2004-09-22 Thread Eric Lecoutre
At 10:52 22/09/2004, [EMAIL PROTECTED] wrote: I think, it must be x instead of object? setMethod("length", signature(x="Collection"), function(x) length([EMAIL PROTECTED])) Hi, This is right, this latest works - Thank you. For "show" methods, I did understand I had to use "object" with --- > getGe

Re: [Rd] S4 methods and polymorophism

2004-09-22 Thread Matthias . Kohl
I think, it must be x instead of object? setMethod("length", signature(x="Collection"), function(x) length([EMAIL PROTECTED])) > Hi! > Have you tried ? > > setMethod("length",signature(object="Collection"),function(object){ > length([EMAIL PROTECTED])}) > °°° >

Re: [Rd] S4 methods and polymorophism

2004-09-22 Thread Wolski
Hi! Have you tried ? setMethod("length",signature(object="Collection"),function(object){ length([EMAIL PROTECTED])}) °°° And I would use R.2.0 instead of R.1.9 /E *** REPLY SEPARATOR *** On 9/22/2004 at 10:21 AM Eric Lecoutre wrote: >>>Hel

[Rd] S4 methods and polymorophism

2004-09-22 Thread Eric Lecoutre
Hello R Power Users, There is a rather large introduction you may skip to go directly to my question about S4 classes. I am working on some toy code to help me get in through S4 classes. Doing this homework, I have some questions about S4 classes. I have carefully read available help and some a