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

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jan 26 16:23:38 CET 2005


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, Robert.McGehee at geodecapital.com 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,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list