Message-ID: <17706.29669.958145.312621@lxh5.stat.uni-muenchen.de>
Date: 2006-10-09T16:08:05Z
From: Friedrich Leisch
Subject: Where to put sgml file
In-Reply-To: <971536df0610090846y23b40eadq823be5265db40857@mail.gmail.com>
>>>>> On Mon, 9 Oct 2006 11:46:51 -0400,
>>>>> Gabor Grothendieck (GG) 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 would probably use a directory "inst/sgml-files" (replace "sgml-files"
by your favorite name which is not already used by R like "data") and
place the file there. If it is a single file and no second file is on
the horizon, then putting it directly into "inst" is also OK.
> I assume I can't use ./data since its not in
> the form that is directly readable as an R data file.
exactly.
best,
fritz