[R] Building package with vignette

Richard Chandler rchandler at nrc.umass.edu
Tue Aug 4 16:03:22 CEST 2009


Hello,

I have a package that builds fine using R CMD build pkg --no-vignette,
but I get the following error when running R CMD build pkg:

** building package indices ...
Error in setwd(OutVignetteDir) : cannot change working directory
ERROR: installing package indices failed

I don't know why it can't change directories since I am running as
administrator in Windows Vista. I also don't know what directory it is
trying to change to. I am able to build the vignette pdf using
texi2dvi Overview.Rnw --pdf. My path is specified as suggested in
Appendix E of the Installation and Admin manual, I have MikTex
installed, and I have read the section on Writing vignettes in Writing
R extensions. Can anyone tell me what I am missing?

Thanks,
Richard


platform       i386-pc-mingw32
arch           i386
os             mingw32
system         i386, mingw32
status
major          2
minor          9.1
year           2009
month          06
day            26
svn rev        48839
language       R
version.string R version 2.9.1 (2009-06-26)



Richard Chandler




More information about the R-help mailing list