From Roger.Bivand at nhh.no  Mon Oct  9 17:59:24 2006
From: Roger.Bivand at nhh.no (Roger Bivand)
Date: Mon, 9 Oct 2006 17:59:24 +0200 (CEST)
Subject: [Rd] Where to put sgml file
In-Reply-To: <971536df0610090846y23b40eadq823be5265db40857@mail.gmail.com>
Message-ID: <Pine.LNX.4.44.0610091757441.19518-100000@reclus.nhh.no>

On Mon, 9 Oct 2006, Gabor Grothendieck wrote:

> I have a package that will have an sgml file.  One of the demos in ./demo
> will use it.  Where should I put it?
> 
> I tried putting it in ./demo but it did not survive the build so
> currently I put it in ./inst and it gets copied to the same level as the
> DESCRIPTION file and the demo gets it from there.  Is that right or
> is there a better choice?  I assume I can't use ./data since its not in
> the form that is directly readable as an R data file.

Perhaps add a folder to ./inst, and put the file there. You can always get 
to it with system.file(). 

> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




[Rd] Where to put sgml file
Roger Bivand