Re: [Rd] Error in gzfile(file, mode) when checking a package with rcmd check

2011-11-06 Thread Patrick Giraudoux
Le 06/11/2011 20:57, Henrik Bengtsson a écrit : > On Sun, Nov 6, 2011 at 11:27 AM, Duncan Murdoch > wrote: >> On 11-11-06 1:59 PM, Patrick Giraudoux wrote: >>> Le 06/11/2011 19:47, Milan Bouchet-Valat a écrit : Le dimanche 06 novembre 2011 à 19:31 +0100, Patrick Giraudoux a écrit : > Mea

Re: [Rd] CRAN: How to list a non-Sweave doc under "Vignettes:" on package page?

2011-11-06 Thread Henrik Bengtsson
On Sun, Nov 6, 2011 at 6:09 PM, Yihui Xie wrote: > Thanks, and sorry for hijacking. I tried it once and gave up later > because I do not want hard-coded files (may be good or bad, though). > My point is that both CRAN and the package documentation are > restricted to Sweave for automatic generatio

Re: [Rd] CRAN: How to list a non-Sweave doc under "Vignettes:" on package page?

2011-11-06 Thread Yihui Xie
Thanks, and sorry for hijacking. I tried it once and gave up later because I do not want hard-coded files (may be good or bad, though). My point is that both CRAN and the package documentation are restricted to Sweave for automatic generation of the vignette list. I was hoping that vigettes could b

Re: [Rd] CRAN: How to list a non-Sweave doc under "Vignettes:" on package page?

2011-11-06 Thread Henrik Bengtsson
Hi. On Sun, Nov 6, 2011 at 5:14 PM, Yihui Xie wrote: > I have the same question. I wish vignettes which are shown in CRAN and > the package documentation are not restricted to Sweave (or I missed > something in the R-exts manual?). What I did in the past was to cheat > Sweave by putting an Rnw do

Re: [Rd] CRAN: How to list a non-Sweave doc under "Vignettes:" on package page?

2011-11-06 Thread Yihui Xie
I have the same question. I wish vignettes which are shown in CRAN and the package documentation are not restricted to Sweave (or I missed something in the R-exts manual?). What I did in the past was to cheat Sweave by putting an Rnw document which is essentially a tex document (I used my own funct

[Rd] CRAN: How to list a non-Sweave doc under "Vignettes:" on package page?

2011-11-06 Thread Henrik Bengtsson
Hi, is it possible to have non-Sweave vignettes(*) in inst/doc/ be listed under 'Downloads' on CRAN package pages? For instance, in my R.rsp package I have a inst/doc/report.pdf (part of the source *.tar.gz) that is not detected/listed. The PDF is not based on a Sweave vignette but an *.tex.rsp

[Rd] Efficiency of factor objects

2011-11-06 Thread Stavros Macrakis
Milan, Jeff, Patrick, Thank you for your comments and suggestions. Milan, This is far from a "completely theoretical problem". I am performing text analytics on a corpus of about 2m documents. There are tens of thousands of distinct words (lemmata). It seems to me that the natural representat

Re: [Rd] Error in gzfile(file, mode) when checking a package with rcmd check

2011-11-06 Thread Henrik Bengtsson
On Sun, Nov 6, 2011 at 11:27 AM, Duncan Murdoch wrote: > On 11-11-06 1:59 PM, Patrick Giraudoux wrote: >> >> Le 06/11/2011 19:47, Milan Bouchet-Valat a écrit : >>> >>> Le dimanche 06 novembre 2011 à 19:31 +0100, Patrick Giraudoux a écrit : Means "Mes documents" seems not to be the real c

Re: [Rd] Error in gzfile(file, mode) when checking a package with rcmd check

2011-11-06 Thread Duncan Murdoch
On 11-11-06 1:59 PM, Patrick Giraudoux wrote: Le 06/11/2011 19:47, Milan Bouchet-Valat a écrit : Le dimanche 06 novembre 2011 à 19:31 +0100, Patrick Giraudoux a écrit : Means "Mes documents" seems not to be the real cause, but the "On Work" directory. However, replacing "On Work" by "On_work" g

Re: [Rd] Error in gzfile(file, mode) when checking a package with rcmd check

2011-11-06 Thread Patrick Giraudoux
Le 06/11/2011 19:47, Milan Bouchet-Valat a écrit : Le dimanche 06 novembre 2011 à 19:31 +0100, Patrick Giraudoux a écrit : Means "Mes documents" seems not to be the real cause, but the "On Work" directory. However, replacing "On Work" by "On_work" gives a failure as before. Conclusion: looks lik

Re: [Rd] Error in gzfile(file, mode) when checking a package with rcmd check

2011-11-06 Thread Milan Bouchet-Valat
Le dimanche 06 novembre 2011 à 19:31 +0100, Patrick Giraudoux a écrit : > Means "Mes documents" seems not to be the real cause, but the "On > Work" directory. However, replacing "On Work" by "On_work" gives a > failure as before. Conclusion: looks like if the "space" character is > not the probl

Re: [Rd] Error in gzfile(file, mode) when checking a package with rcmd check

2011-11-06 Thread Patrick Giraudoux
Le 06/11/2011 18:57, Uwe Ligges a écrit : On 06.11.2011 18:46, Patrick Giraudoux wrote: Following Uwe Ligges' instructions (off list) I have updated Duncan Murdoch's toolchain, with no effect. The trouble was solved when I moved the package to a directory with a shorter path (U:\Documents and Se

Re: [Rd] Error in gzfile(file, mode) when checking a package with rcmd check

2011-11-06 Thread Uwe Ligges
On 06.11.2011 18:46, Patrick Giraudoux wrote: Following Uwe Ligges' instructions (off list) I have updated Duncan Murdoch's toolchain, with no effect. The trouble was solved when I moved the package to a directory with a shorter path (U:\Documents and Settings\pgiraudo\Bureau instead of U:\Docume

Re: [Rd] Error in gzfile(file, mode) when checking a package with rcmd check

2011-11-06 Thread Patrick Giraudoux
Following Uwe Ligges' instructions (off list) I have updated Duncan Murdoch's toolchain, with no effect. The trouble was solved when I moved the package to a directory with a shorter path (U:\Documents and Settings\pgiraudo\Bureau instead of U:\Documents and Settings\pgiraudo\Mes documents\R\pg