[Rd] Defining an iterator

2009-01-25 Thread Stavros Macrakis
Inspired by Rudolf Biczok's query of Fri, Jan 23, 2009 at 1:25 AM, I tried to implement iteration in a generic way using S4. (Though I am admittedly still struggling with learning S4.) > setClass("foo",representation(bar="list")) [1] "foo" > x<-new("foo",bar=list(1,2,3)) Given this, I would not e

Re: [Rd] Automatic shortening of text to fit into area

2009-01-25 Thread Paul Murrell
Hi Prof Brian Ripley wrote: > Almost all devices do support clipping, so this is rather a minority > interest. As a measure of the rarity, I wrote that code almost 10 years ago and this is the first mention of this problem (though perhaps there are millions out there suffering in silence ...)

Re: [Rd] Defining an iterator

2009-01-25 Thread John Chambers
It's unclear from your mail what you actually tried to do, but here are a few comments that may be relevant. The syntactic form for() is indeed implemented as a primitive function. Some primitives can and are used as generic functions, but `for` is not currently one of them. > setGeneric("f

Re: [Rd] FW: [R] The Quality & Accuracy of R

2009-01-25 Thread Peter Dalgaard
Muenchen, Robert A (Bob) wrote: Dear R Developers, This is my first time subscribing to this list, so let me start out by saying thank you all very much for the incredible contribution you have made to science through your work on R. As you all know many users of commercial stat packages, the

Re: [Rd] Defining an iterator

2009-01-25 Thread Martin Morgan
Stavros Macrakis writes: > Inspired by Rudolf Biczok's query of Fri, Jan 23, 2009 at 1:25 AM, I > tried to implement iteration in a generic way using S4. (Though I am > admittedly still struggling with learning S4.) > >> setClass("foo",representation(bar="list")) > [1] "foo" >> x<-new("foo",bar=l

Re: [Rd] Defining an iterator

2009-01-25 Thread luke
On Sun, 25 Jan 2009, John Chambers wrote: It's unclear from your mail what you actually tried to do, but here are a few comments that may be relevant. The syntactic form for() is indeed implemented as a primitive function. Some primitives can and are used as generic functions, but `for` is no

Re: [Rd] Defining an iterator

2009-01-25 Thread Stavros Macrakis
Thank you for your helpful reply, which clarified several issues for me. -s __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] loading RBlas.dll

2009-01-25 Thread sachin1234
hi Antonio, The name's Sachin :) . I need this because im not implementing the ATLAS, fast BLAS or anything like that. What im trying to do is to make a GPU version of blas. I have implemented this so far but extremely inefficiently. What i need to do is to do things like initialisation of the GP

[Rd] Warning: closing unused connection 3

2009-01-25 Thread Dan Kelley
The subject is a warning that occurs with my 'oce' package in the test on r-devel-windows-ix86, i.e. http://cran.r-project.org/web/checks/check_results_oce.html I see that some other packages have this same error. I tried searching postings to this group for this warning, but found nothing. I'