[R] Problem with vignette printing

Duncan Murdoch murdoch.duncan at gmail.com
Fri May 14 13:44:34 CEST 2010


On 14/05/2010 7:25 AM, Sébastien Bihorel wrote:
> Dear R-users,
>
> I am trying to figure out why I cannot print vignettes in my new R
> installation (R.11 on opensuse 11.2). Apparently, vignette objects are
> properly created but could not be printed:
>
>   
>> z<-vignette('grid')
>> str(z)
>>     
> List of 3
>  $ file : chr "/usr/lib/R/library/grid/doc/grid.Snw"
>  $ pdf  : chr "/usr/lib/R/library/grid/doc/grid.pdf"
>  $ topic: chr "grid"
>  - attr(*, "class")= chr "vignette"
>   
>> z
>>     
> sh: : command not found
>
> What would you suggest me to do to perform a step-by-step debugging of the
> vignette-specific print function?

The print function is utils:::print.vignette.  It looks as though your 
options("pdfviewer") setting doesn't work.

Duncan Murdoch



More information about the R-help mailing list