From atp at piskorski.com  Mon Apr 21 19:08:51 2014
From: atp at piskorski.com (Andrew Piskorski)
Date: Mon, 21 Apr 2014 13:08:51 -0400
Subject: [Rd] read.table() code fails outside of the utils package
In-Reply-To: <27A253DD-2564-4F6E-AD37-24737BCF4FFE@r-project.org>
References: <20140421155317.GA11783@piskorski.com>
	<27A253DD-2564-4F6E-AD37-24737BCF4FFE@r-project.org>
Message-ID: <20140421170851.GA28440@piskorski.com>

On Mon, Apr 21, 2014 at 12:43:55PM -0400, Simon Urbanek wrote:

> And that's how it should be - there is not reason why any other code should link to it. Why don't you just use
> 
> .External(utils:::C_readtablehead, ...)

Ah, that works fine, and is nice and simple.  So problem solved, thank
you!

I do still wonder though, with the C symbol made visible in utils.so,
how come this still failed?:

   .External("readtablehead", ..., PACKAGE="utils") 
   Error: "readtablehead" not available for .External() for package "utils" 

-- 
Andrew Piskorski <atp at piskorski.com>



[Rd] read.table() code fails outside of the utils package
Andrew Piskorski