[R] CGIwithR and visible output of 'invisible(capture.output(library(...)))'
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Jan 27 14:57:21 CET 2007
This is done by .onLoad, so your settings are irrelevant.
We have no information here on your platform, version of R, R2HTML or
anything else. But almost certainly the problem is the command given by
getOption("unzip"), which looks like an unzip clone not respecting the -q
flag.
Try using the 'real' unzip () instead, from http://www.info-zip.org/.
On Sat, 27 Jan 2007, Leo Gürtler wrote:
> Eric schrieb:
>> library(R2HTML, verbose = FALSE)
>>
>
> Dear Eric,
>
> thanks - I tried that, but that does not work for me. And it does not
> depend whether R2HTML is loaded via script/ batch job (-> webserver,
> cgi) or directly within R.
>
> The same happens (of course) by using
>
> require(R2HTML, quietly=TRUE)
>
> Are there any further options I missed?
> The problem seems to be that the file "R2HTMLstuff.zip" is extracted
> every time (although this is not necessary) - how can I ged rid of that?
>
> thanks,
>
> best,
>
> leo
>
>
> ----output----
>
>> library(R2HTML, verbose=FALSE)
> MiniUnz 1.01b, demo of zLib + Unz package written by Gilles Vollant
> more info at http://www.winimage.com/zLibDll/unzip.html
>
> /usr/local/lib/R/site-library/R2HTML/output/R2HTMLstuff.zip opened
> extracting: ASCIIMathML.js
> extracting: factor.gif
> extracting: gridR2HTML.css
> extracting: gridR2HTML.js
> extracting: numeric.gif
> extracting: Pastel.css
> extracting: R2HTML.css
> extracting: R2HTMLlogo.gif
> creating directory: runtime/
> creating directory: runtime/lib/
> extracting: runtime/lib/grid.js
> extracting: runtime/readme.txt
> creating directory: runtime/styles/
> creating directory: runtime/styles/classic/
> extracting: runtime/styles/classic/gecko.xml
> extracting: runtime/styles/classic/grid.css
> extracting: runtime/styles/classic/grid.png
> extracting: runtime/styles/classic/icons.png
> extracting: runtime/styles/classic/loading.gif
> creating directory: runtime/styles/flat/
> extracting: runtime/styles/flat/gecko.xml
> extracting: runtime/styles/flat/grid.css
> extracting: runtime/styles/flat/grid.png
> extracting: runtime/styles/flat/icons.png
> extracting: runtime/styles/flat/loading.gif
> creating directory: runtime/styles/xp/
> extracting: runtime/styles/xp/gecko.xml
> extracting: runtime/styles/xp/grid.css
> extracting: runtime/styles/xp/grid.png
> extracting: runtime/styles/xp/icons.png
> extracting: runtime/styles/xp/loading.gif
> extracting: SciViews.css
> extracting: tablesort.htc
>>
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list