Re: [Rd] file.system() in packages

2013-01-21 Thread Dirk Eddelbuettel
Robin, Rcpp is experimenting with a 'callback' scheme in vignettes. For this, Rcpp itself has an unexported function bib() defined as bib <- function() { sub("\\.bib$", "", system.file( "doc", "Rcpp.bib", package = "Rcpp" ) ) } and packages depending on Rcpp can then do this i

Re: [Rd] file.system() in packages

2013-01-21 Thread Prof Brian Ripley
On 22/01/2013 01:33, robin hankin wrote: Hello. R-devel, r61697. I am having difficulty interpreting section 1.4 "Writing package vignettes" of the R-exts manual. Specifically, I want to use system.file() in some of my packages to locate a bib file, uncertainty.bib, which is part of the emulat

[Rd] file.system() in packages

2013-01-21 Thread robin hankin
Hello. R-devel, r61697. I am having difficulty interpreting section 1.4 "Writing package vignettes" of the R-exts manual. Specifically, I want to use system.file() in some of my packages to locate a bib file, uncertainty.bib, which is part of the emulator package. I only want to maintain a sing