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

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Thu 27 Jan 2005 - 01:37:05 EST

A side response...

On Jan 25, 2005, at 1:03 PM, Robert.McGehee@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.

+ seth



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Jan 27 00:59:32 2005

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:02:42 EST