Romain Francois wrote:
Would this work better:
<>=
bib <- system.file( "doc", "bayesian.bib", package = "emulator" )
cat( "\\bibliography{",bib,"}\n",sep='')
@
Romain
Yes, this gives cleaner TeX output (I keep on forgetting about Sweave's
'result' code chunk option).
But I still don't unders
Would this work better:
<>=
bib <- system.file( "doc", "bayesian.bib", package = "emulator" )
cat( "\\bibliography{",bib,"}\n",sep='')
@
Romain
Robin Hankin wrote:
Hello Romain
this is brilliant; it never occurred to me to use cat() in this way.
It works but I don't know why.
With:
<>=
bib
Hello Romain
this is brilliant; it never occurred to me to use cat() in this way.
It works but I don't know why.
With:
<>=
bib <- system.file( "doc", "bayesian.bib", package = "emulator" )
cat( "\\bibliography{",bib,"}\n",sep='')
@
in the Rnw file, the TeX file looks like this:
\begin{Schunk
Hi Robin,
Something like:
<>=
bib <- system.file( "bib", "mybib.bib", package = "yada" )
cat( "\\bibliography{",bib,"}\n")
@
It would also be nice to be able to use bibliography in Rd files ...
Romain
Robin Hankin wrote:
Hi
I have a bundle comprising three packages.
Each package has a vign
Hi
I have a bundle comprising three packages.
Each package has a vignette. Currently each
vignette has a separate .bib file.
How do I arrange the bundle so that each
vignette accesses a single, common, .bib file?
thanks
Robin
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridg