On 1 Jan 2006, [EMAIL PROTECTED] wrote:
> However, that just isn't how connections are documented in the Green
> Book (referenced on all the relevant help pages, so required
> reading) and getConnection() allows you to create an R object
> pointing to a connection that previously had none.
Yes,
On 1/1/2006 1:05 PM, Prof Brian Ripley wrote:
> On Sun, 1 Jan 2006, Duncan Murdoch wrote:
>
>
>>On 12/28/2005 9:50 AM, Seth Falcon wrote:
>>
>>>On 27 Dec 2005, [EMAIL PROTECTED] wrote:
>>>
>>>
This is a bug in load, isn't it? load() opens the connection but
doesn't close it.
>>>
>>>
>>>W
On Sun, 1 Jan 2006, Duncan Murdoch wrote:
> On 12/28/2005 9:50 AM, Seth Falcon wrote:
>> On 27 Dec 2005, [EMAIL PROTECTED] wrote:
>>
>>> This is a bug in load, isn't it? load() opens the connection but
>>> doesn't close it.
>>
>>
>> Well, it may be that load needs a small fix, but that doesn't fi
On 12/28/2005 9:50 AM, Seth Falcon wrote:
> On 27 Dec 2005, [EMAIL PROTECTED] wrote:
>
>>This is a bug in load, isn't it? load() opens the connection but
>>doesn't close it.
>
>
> Well, it may be that load needs a small fix, but that doesn't fix
> anonymous connections in general, IMO.
No it d
I think what you're suggesting is that connections should become
first-class citizens in the R world by becoming a CONSXP, an
EXTPTRSXP + Finalizer or whatever (which wouldn't bother me a bit,
BTW). Then they'd play by the same rules as everything else, although
you might want to have an ex
On 27 Dec 2005, [EMAIL PROTECTED] wrote:
> This is a bug in load, isn't it? load() opens the connection but
> doesn't close it.
Well, it may be that load needs a small fix, but that doesn't fix
anonymous connections in general, IMO.
The loop could easily have been:
for (i in 1:50) {
print(l
On 12/27/2005 7:59 PM, Seth Falcon wrote:
> I would like to be able to use anonymous connections in R and have
> them close themselves when they go out of scope.
>
> Here is an example of what I think should work, but does not at
> present:
>
> ## create test file
> x <- 1:10
> fn <- "anon-con-t