[R-sig-Debian] vignette() failure

Dirk Eddelbuettel edd at debian.org
Tue Oct 6 23:38:06 CEST 2009


On 6 October 2009 at 16:23, Sebastian P. Luque wrote:
| Hi,
| 
| I can't pinpoint exactly since what R version I first noticed this
| error, but are others seeing this?
| 
| R> vignette("grid")
| R> sh: : command not found

It's a bug. If I look at /etc/R/Renviron I see

## Default PDF viewer
R_PDFVIEWER=${R_PDFVIEWER-''}

and that should not be empty. My bad -- will fix.

Until new packages come and fix it, do something like this in ~/.Rprofile:

options("pdfviewer"="kpdf")
      
substituting whichever viewer you like best.

Dirk

 
| instead of having the vignette displayed in the proper viewer?  This is
| with:
| 
| R> sessionInfo()
| R version 2.9.2 (2009-08-24) 
| x86_64-pc-linux-gnu 
| 
| locale:
| LC_CTYPE=en_CA.UTF-8;LC_NUMERIC=C;LC_TIME=en_CA.UTF-8;LC_COLLATE=en_CA.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_CA.UTF-8;LC_PAPER=en_CA.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_CA.UTF-8;LC_IDENTIFICATION=C
| 
| attached base packages:
| [1] stats     graphics  grDevices utils     datasets  methods   base     
| 
| other attached packages:
| [1] slmisc_0.7.2    lattice_0.17-26
| 
| loaded via a namespace (and not attached):
| [1] grid_2.9.2  tools_2.9.2
| 
| Cheers,
| -- 
| Seb
| 
| _______________________________________________
| R-SIG-Debian mailing list
| R-SIG-Debian at r-project.org
| https://stat.ethz.ch/mailman/listinfo/r-sig-debian

-- 
Three out of two people have difficulties with fractions.



More information about the R-SIG-Debian mailing list