[Rd] Regex Crashing R (perl = TRUE) (PR#7564)

Seth Falcon sfalcon at fhcrc.org
Wed Jan 26 15:37:05 CET 2005

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 

+ seth

More information about the R-devel mailing list