[Rd] Where to put sgml file
Friedrich Leisch
friedrich.leisch at stat.uni-muenchen.de
Mon Oct 9 18:08:05 CEST 2006
>>>>> 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
More information about the R-devel
mailing list