Ok, Solved the problem by editing my Renviron file in /usr/lib/R/etc.
Thanks everyone for your help. On Fri, May 14, 2010 at 11:48 AM, Prof Brian Ripley <rip...@stats.ox.ac.uk>wrote: > On Fri, 14 May 2010, Sébastien Bihorel wrote: > > Yes, I have installed R through opensuse's package installer. Is ?Startup >> the correct place to look at about environment variables or is there a >> more >> appropriate help page? >> > > Well, ?R_PDFVIEWER brings up a more appropriate page. > > > >> >> On Fri, May 14, 2010 at 10:00 AM, Prof Brian Ripley < >> rip...@stats.ox.ac.uk> >> wrote: >> On Fri, 14 May 2010, Sébastien Bihorel wrote: >> >> 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. >> >> >> You could, but the help says >> >> pdfviewer: default PDF viewer. The default is set from the >> environment variable R_PDFVIEWER, the default value of >> which is set when R is configured. >> >> and that normal way is to set R_PDFVIEWER -- but no such viewer was >> found when R was configured. (If R was configured by someone else, >> e.g. if this was an RPM install, that may not be representative of >> your system.) >> >> >> Thanks for your help. >> >> Sebastien >> >> On Fri, May 14, 2010 at 7:44 AM, Duncan Murdoch >> <murdoch.dun...@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]] >> >> >> >> -- >> Brian D. Ripley, rip...@stats.ox.ac.uk >> Professor of Applied Statistics, >> http://www.stats.ox.ac.uk/~ripley/<http://www.stats.ox.ac.uk/%7Eripley/> >> University of Oxford, Tel: +44 1865 272861 (self) >> 1 South Parks Road, +44 1865 272866 (PA) >> Oxford OX1 3TG, UK Fax: +44 1865 272595 >> >> >> >> >> > -- > Brian D. Ripley, rip...@stats.ox.ac.uk > Professor of Applied Statistics, > http://www.stats.ox.ac.uk/~ripley/<http://www.stats.ox.ac.uk/%7Eripley/> > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UK Fax: +44 1865 272595 > [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.