[Rd] Where to put sgml file

Roger Bivand Roger.Bivand at nhh.no
Mon Oct 9 17:59:24 CEST 2006


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




More information about the R-devel mailing list