From sfalcon at fhcrc.org  Wed Jan 26 15:37:05 2005
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Wed Jan 26 15:37:18 2005
Subject: [Rd] Regex Crashing R (perl = TRUE) (PR#7564)
In-Reply-To: <20050125210305.18BD11088E@slim.kubism.ku.dk>
References: <20050125210305.18BD11088E@slim.kubism.ku.dk>
Message-ID: <BFBC0B16-6FA7-11D9-9992-000D933A3A9E@fhcrc.org>

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


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