On Thu, 31 Jul 2008, Prof Brian Ripley wrote:
On Thu, 31 Jul 2008, Roger D. Peng wrote:
Are the functions 'R_Unserialize' and 'R_InitFileInPStream' allowed to
be used in R packages? I guess I'm just not clear on the implications
of this comment in 'Rinternals.h':
/* The connection interface
On Thu, 31 Jul 2008, Roger D. Peng wrote:
Are the functions 'R_Unserialize' and 'R_InitFileInPStream' allowed to
be used in R packages? I guess I'm just not clear on the implications
of this comment in 'Rinternals.h':
/* The connection interface is not yet available to packages. To
allow li
Hmm...I don't think so. The function I'm talking about loops over a
file many times and does a lot of 'seeks'. I think just implementing
the loop in C makes it faster. And besides, I see the speedup on
Linux, which doesn't have the problem you mention.
-roger
On Thu, Jul 31, 2008 at 10:53 AM,
Hi,
On Thu, Jul 31, 2008 at 6:35 AM, Roger D. Peng <[EMAIL PROTECTED]> wrote:
> Are the functions 'R_Unserialize' and 'R_InitFileInPStream' allowed to
> be used in R packages? I guess I'm just not clear on the implications
> of this comment in 'Rinternals.h':
>
> /* The connection interface is no
Are the functions 'R_Unserialize' and 'R_InitFileInPStream' allowed to
be used in R packages? I guess I'm just not clear on the implications
of this comment in 'Rinternals.h':
/* The connection interface is not yet available to packages. To
allow limited use of connection pointers this define