From nali at umn.edu  Mon Jun 26 18:34:58 2006
From: nali at umn.edu (Na Li)
Date: Mon, 26 Jun 2006 11:34:58 -0500
Subject: [Rd] C API to R connections?
Message-ID: <e3odwfdgel.fsf@bass.biostat.umn.edu>


Is it a public C API to R connection?  I couldn't find any.  Can I use
the *Rconnection in user C code?

Instead of straight fopen, I would like the ability to read in
compressed file (gz, bz2), remote file, etc, using the implementation
that R already has, with a uniformed interface.

Also it would be nice to open the file/connect in R and handle any
exceptions/errors in R but do the actually reading in C (I'm dealing
with a binary format).

Thanks,

Michael



[Rd] C API to R connections?
Na Li