Re: Adding Perl scripts to a package ([Rd] Regex Crashing R (perl = TRUE))

From: Prof Brian Ripley <>
Date: Thu 27 Jan 2005 - 02:23:38 EST

What has this to do with your subject?

I think this is rather what the exec directory is for, depending exactly what `an uncompiled perl script' really is.

On Wed, 26 Jan 2005, Seth Falcon wrote:

> A side response...
> On Jan 25, 2005, at 1:03 PM, wrote:
>> As a side note, is there a good way of incorporating an uncompiled perl
>> script into an R package to be invoked from a system call? Putting it in
>> the /src directory seems like the obvious place, but I can't convince R
>> to copy over the script uncompiled upon installation.
> That's what the inst/ directory of a package is for, I believe. Look for
> details in the Writing R Extensions manual. You might also want to look at
> system.file() which can help you locate files in an installed package.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Thu Jan 27 01:29:38 2005

This archive was generated by hypermail 2.1.8 : Thu 27 Jan 2005 - 02:27:24 EST