Hi Duncan,

You are right, my options("pdfviewer") is currently an empty string... I
will have to look into the documentation to create a .Rprofile (I believe)
and set this option at loading.

Thanks for your help.

Sebastien

On Fri, May 14, 2010 at 7:44 AM, Duncan Murdoch <murdoch.duncan@gmail.com>wrote:

> 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
>

	[[alternative HTML version deleted]]

