Re: [Rd] Creating package Vignette

2011-07-14 Thread steven mosher
Also useful if you want to do an FAQ On Thu, Jul 14, 2011 at 10:12 AM, Melissa Jane Hubisz wrote: > Another workaround is to create a "dummy" vignette which does nothing > but include the pdf file. Something like this: > vignette.Rnw: > > % \VignetteIndexEntry{vignette} > % \VignetteKeywords{k

Re: [Rd] Creating package Vignette

2011-07-14 Thread Prof Brian Ripley
On Thu, 14 Jul 2011, Melissa Jane Hubisz wrote: Another workaround is to create a "dummy" vignette which does nothing but include the pdf file. Something like this: vignette.Rnw: % \VignetteIndexEntry{vignette} % \VignetteKeywords{keywords here} % \VignettePackage{package name} \documentclass

Re: [Rd] Creating package Vignette

2011-07-14 Thread Melissa Jane Hubisz
Another workaround is to create a "dummy" vignette which does nothing but include the pdf file. Something like this: vignette.Rnw: % \VignetteIndexEntry{vignette} % \VignetteKeywords{keywords here} % \VignettePackage{package name} \documentclass[a4paper]{article} \usepackage{hyperref} \usepackag

Re: [Rd] Creating package Vignette

2011-07-14 Thread Ben Bolker
Prof Brian Ripley stats.ox.ac.uk> writes: > > It depends what you mean by 'vignette': the R docs have been unclear > (but R >= 2.13.0 are more consistent). In most cases a 'vignette' is > an Sweave document, the vignette source being the .Rnw file, and the > vignette PDF the processed .pdf f

Re: [Rd] Creating package Vignette

2011-07-14 Thread Prof Brian Ripley
It depends what you mean by 'vignette': the R docs have been unclear (but R >= 2.13.0 are more consistent). In most cases a 'vignette' is an Sweave document, the vignette source being the .Rnw file, and the vignette PDF the processed .pdf file. At present vignette() means Sweave documents, as

[Rd] Creating package Vignette

2011-07-14 Thread Nipesh Bajaj
Hi all, I was trying to create some vignette files for my newly developed package, however wondering whether there could be any simpler way to do so. In writing R extension it is advised to go through Sweave route, however I have already got a big pdf file and want to use this as package vignette.