Thanks for the tip. Actually I found that I can just write
vignette(vignettename) in a demo. I think that's the easiest way to
link to a .pdf file.
It works only if the .pdf file is built from a Sweave file. I thought
that I could just put a .pdf file and an index.html in inst/doc/ but I
get
On 11/9/2006 6:37 AM, Agner Fog wrote:
Thanks for the tip. Actually I found that I can just write
vignette(vignettename) in a demo. I think that's the easiest way to
link to a .pdf file.
It works only if the .pdf file is built from a Sweave file. I thought
that I could just put a .pdf
Duncan Murdoch wrote:
Actually how you built the .pdf is irrelevant, but it does look for
file with the same name and one of these extensions:
Rnw rnw Snw snw Rtex rtex Stex stex
So you could just create a zero length file with the same basename and
one of those extensions, and it
On 11/9/2006 1:15 PM, Agner Fog wrote:
Duncan Murdoch wrote:
Actually how you built the .pdf is irrelevant, but it does look for
file with the same name and one of these extensions:
Rnw rnw Snw snw Rtex rtex Stex stex
So you could just create a zero length file with the same
2006/11/8, Agner Fog [EMAIL PROTECTED]:
Thanks for the tip. I had thought of using the demo facility for this
but I didn't know how to check for the operating system.
See help about '.Platform'. I.e.,
.Platform$OS.type
can be useful.
This is a clumsy solution, but better than nothing. I