Re: [Rd] Where to put package vignettes

2014-02-21 Thread Guillermo.Vinue
Dear All, As you mentioned, it was a matter of upgrading R. Now I have R 3.0.2 and everything has worked well. Thank you very much for all your comments and suggestions. They have been very helpful. Best regards, Guillermo > It is not guaranteed that knitr vignettes will work for R < 3.0.x > (

Re: [Rd] Where to put package vignettes

2014-02-20 Thread Yihui Xie
It is not guaranteed that knitr vignettes will work for R < 3.0.x (even with the Makefile approach, which was really a hack). Unless you must stay with R 2.15.x, you are strongly recommended to upgrade to R 3.0.x and forget about the Makefile approach. Then follow the three steps mentioned in http:

Re: [Rd] Where to put package vignettes

2014-02-20 Thread Hadley Wickham
@uv.es [mailto:guillermo.vi...@uv.es] >> Sent: 20. februar 2014 15:43 >> To: Søren Højsgaard >> Cc: r-devel@r-project.org >> Subject: RE: [Rd] Where to put package vignettes >> >> Dear Søren, >> >> Thank you very much for your answer, it solved my proble

Re: [Rd] Where to put package vignettes

2014-02-20 Thread baptiste auguie
vi...@uv.es] > Sent: 20. februar 2014 15:43 > To: Søren Højsgaard > Cc: r-devel@r-project.org > Subject: RE: [Rd] Where to put package vignettes > > Dear Søren, > > Thank you very much for your answer, it solved my problem and now my > package can be installed both o

Re: [Rd] Where to put package vignettes

2014-02-20 Thread Guillermo.Vinue
Dear Søren, Thank you very much for your answer, it solved my problem and now my package can be installed both on Linux and Windows and the vignette is available in both systems. I put the vignette in /vignettes. However, unfortunately my problems have not ended here. As mentioned, my vignette is

Re: [Rd] Where to put package vignettes

2014-02-20 Thread Søren Højsgaard
vel@r-project.org Subject: RE: [Rd] Where to put package vignettes Dear Søren, Thank you very much for your answer, it solved my problem and now my package can be installed both on Linux and Windows and the vignette is available in both systems. I put the vignette in /vignettes. Ho

Re: [Rd] Where to put package vignettes

2014-02-20 Thread Søren Højsgaard
My understanding is this: 1) Put vignettes files (.Rnw files) in the /vignettes subdirectory. 2) Build the package foo with R CMD build foo. 3) Install the package with R CMD INSTALL foo_xxx.tar.gz Then the vignettes will be available. However you can also install the package with R CMD INSTAL