[Rd] Documentation bug: Section 3.3.2 of R-Lang. (PR#9928)

2007-09-26 Thread S . P . Bird
Full_Name: Simeon Bird Version: 2.5.1 OS: Linux Submission from: (NULL) (131.111.200.200) In the manual The R Language Definition, section 3.3.2 reads: 3.3.2 Propagation of names propagation of names (first one wins, I think - also if it has no names?? —– first one *with names* wins, recycling

Re: [Rd] Documentation bug: Section 3.3.2 of R-Lang. (PR#9928)

2007-09-26 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: Full_Name: Simeon Bird Version: 2.5.1 OS: Linux Submission from: (NULL) (131.111.200.200) In the manual The R Language Definition, section 3.3.2 reads: 3.3.2 Propagation of names propagation of names (first one wins, I think - also if it has no names?? —– first

[Rd] modifying large R objects in place

2007-09-26 Thread Petr Savicky
I have a C function, which performs a transformation of a large integer matrix. The matrix may be of size 1.6GB, so I can have only one copy in RAM and have to modify it in place. This is possible using .Call and works fine. For debugging, I need two copies of a smaller matrix and modify only one

Re: [Rd] modifying large R objects in place

2007-09-26 Thread Byron Ellis
For the most part, doing anything to an R object result in it's duplication. You generally have to do a lot of work to NOT copy an R object. On 9/26/07, Petr Savicky [EMAIL PROTECTED] wrote: I have a C function, which performs a transformation of a large integer matrix. The matrix may be of

[Rd] Lack of final newline in write.dcf changes append usage

2007-09-26 Thread Roger Peng
The change in r42731 eliminating the final blank line when writing DCF files changes the way 'append' can be used in 'write.dcf' and I was wondering if this is intentional. Basically, I want to write a data frame to DCF format one row at a time, so I make use of repeated calls to

Re: [Rd] Lack of final newline in write.dcf changes append usage

2007-09-26 Thread Prof Brian Ripley
On Wed, 26 Sep 2007, Roger Peng wrote: The change in r42731 eliminating the final blank line when writing DCF files changes the way 'append' can be used in 'write.dcf' and I was wondering if this is intentional. Basically, I want to write a data Yes, it is intentional. That a blank line got

Re: [Rd] rggobi not in bin/macosx/universal/contrib/2.6/PACKAGES on CRAN

2007-09-26 Thread Herve Pages
Hi Simon, Simon Urbanek wrote: Actually, the fact that the tar ball is there must be a mirroring problem, because it's not on the master CRAN server. You should fix your mirror - objects may appear closer ... ;) Yesterday, before I reported the problem, I checked and found the same problem

Re: [Rd] rggobi not in bin/macosx/universal/contrib/2.6/PACKAGES on CRAN

2007-09-26 Thread hadley wickham
On 9/26/07, Herve Pages [EMAIL PROTECTED] wrote: Hi Simon, Simon Urbanek wrote: Actually, the fact that the tar ball is there must be a mirroring problem, because it's not on the master CRAN server. You should fix your mirror - objects may appear closer ... ;) Yesterday, before I

Re: [Rd] rggobi not in bin/macosx/universal/contrib/2.6/PACKAGES on CRAN

2007-09-26 Thread Herve Pages
hadley wickham wrote: [...] I've fixed the problem with GGobi, and Simon has updated the version on CRAN, so you should be able to get a binary version again v. soon. Thanks! H. __ R-devel@r-project.org mailing list

[Rd] Virtual class with no slots

2007-09-26 Thread Herve Pages
Hi, It seems there are 2 slightly different ways to create a virtual class with no slots (a kind of Java interface): with or without specifying 'representation(VIRTUAL)'. setClass(A, representation(VIRTUAL)) [1] A showClass(A) Virtual Class No Slots, prototype of class S4

[Rd] breaking my length method also breaks str()

2007-09-26 Thread Herve Pages
Hi, This works fine and gives 26: setClass(A, representation(bidule=character)) setMethod(length, A, function(x) length([EMAIL PROTECTED])) a - new(A, bidule=letters) str(a) length(a) But if my length method is broken, then str() stops working: setMethod(length, A, function(x)

Re: [Rd] delayedAssign

2007-09-26 Thread Gabor Grothendieck
I thought that perhaps the behavior in the previous post, while inconsistent with the documentation, was not all that harmful but I think its related to the following which is a potentially serious bug. z is a list with a single numeric component, as the dput output verifies, yet we cannot

[Rd] rJava and RJDBC

2007-09-26 Thread Joe W. Byers
I am desperate for help. I am trying to get the RJDBC and rJava .5to work on both my windows xp and linux Redhat EL5 Server. On both I get a ava.lang.ClassNotFoundException when calling JDBC(). My example is require(RJDBC)