Re: [Rd] Possible changes to connections

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Thu, 31 May 2007 14:12:26 -0700

Hi,

One more comment on this thread...

Jeffrey Horner <jeff.horner_at_vanderbilt.edu> writes:

> Prof Brian Ripley wrote:
>> When I originally implemented connections in R 1.2.0, I followed the model
>> in the 'Green Book' closely. There were a number of features that forced
>> a particular implementation, and one was getConnection() that allows one
>> to recreate a connection object from a number.
> [...]
>> Another issue is that the current connection objects can be saved and
>> restored but refer to a global table that is session-specific so they lose
>> their meaning (and perhaps gain an unintended one).
>>
>> What I suspect is that very few users are aware of the Green Book
>> description and so we have freedom to make some substantial changes
>> to the implementation. Both issues suggest that connection objects should
>> be based on external pointers (which did not exist way back in 1.2.0).
>
> Sounds great! I would also like to see the following interface (all or
> in parts) added for working with connections from C. This is an update
> to the patch I created here:
>
> http://wiki.r-project.org/rwiki/doku.php?id=developers:r_connections_api

I wanted to voice a "me too" for wanting to see an interface added for working with connections from C in package code. There are a number of places where this would be useful and provide cleaner solution than what is possible today.

The proposed interface looks useful.

+ seth

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 31 May 2007 - 21:19:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 31 May 2007 - 23:34:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.