Displaying 20 results from an estimated 1200 matches similar to: "vignettes: problems with PDF compaction"
2011 Mar 27
1
Bug in tools::compactPDF() in 2.13-0-alpha
Dear List,
There seems to be an bug in compactPDF() or at least an inconsistency
with the documented behaviour.
The documentations states:
Details:
This by default makes use of ?qpdf?, available from <URL:
http://qpdf.sourceforge.net/>, including a Windows binary. If
?gs_cmd? is non-empty, GhostScript is used.
I don't have qpdf on my system so planned to use
2018 Jul 08
2
[R] consider running tools::compactPDF(gs_quality = "ebook")
Dear all,
I run
R CMD build --compact-vignettes="both" gRbase
and/or
R CMD build --compact-vignettes="gs+qpdf" gRbase
and in the log from r-devel (on winbuilder) I get
* checking sizes of PDF files under 'inst/doc' ... WARNING
'gs+qpdf' made some significant size reductions:
compacted 'gRbase-arrays.pdf' from 421Kb to 115Kb
consider
2018 Jul 08
2
consider running tools::compactPDF(gs_quality = "ebook")
Dear all,
I run
R CMD build --compact-vignettes="both" gRbase
and/or
R CMD build --compact-vignettes="gs+qpdf" gRbase
and in the log from r-devel (on winbuilder) I get
* checking sizes of PDF files under 'inst/doc' ... WARNING
'gs+qpdf' made some significant size reductions:
compacted 'gRbase-arrays.pdf' from 421Kb to 115Kb
consider
2018 Jul 08
2
consider running tools::compactPDF(gs_quality = "ebook")
Dear all,
I run
R CMD build --compact-vignettes="both" gRbase
and/or
R CMD build --compact-vignettes="gs+qpdf" gRbase
and in the log from r-devel (on winbuilder) I get
* checking sizes of PDF files under 'inst/doc' ... WARNING
'gs+qpdf' made some significant size reductions:
compacted 'gRbase-arrays.pdf' from 421Kb to 115Kb
consider
2014 Jul 14
1
Error in compactPDF/find_gs_cmd or documentation?
I am using tools::compactPDF for reducing the size of some pdf-files
with GhostScript. I had some trouble in the beginning as the
documentation seems not to match the usage of the function. For
GhostScript, one has to set the argument gs_cmd, which has the following
description:
gs_cmd - Character string giving the path to the GhostScript executable,
if that is to be used. On Windows this is
2011 Jun 23
5
Reducción tamaño de gráficos en PDF
Buenas tardes a todos,
Estoy interesado en realizar varios gráficos y luego guardarlos
individualmente como PDF. Hasta ahí todo bien. Sin embargo, el archivo
resultante tiene aproximadamente 20MB. Podría alguien por favor indicarme
cómo reducir su tamaño? A continuación un ejemplo de lo que intento hacer
y mi sessionInfo(). Estoy usando Mac OS X.
Muchas gracias,
Jorge Ivan Velez
# R code
2015 Oct 10
1
R CMD check --as-cran without qpdf
Today, a package that has an HTML vignette (but no PDF vignette) failed
R CMD check --as-cran on a system without qpdf. I think the warning
originates here [1], due to a premature check for the existence of qpdf
[2]. Setting R_QPDF=true (as in /bin/true) helped, but perhaps it's
possible to check qpdf existence only when it matters.
I have attached a patch (untested) that could serve as a
2012 Jun 06
1
stumped on re-building package vignette
[Env: Win Xp / StatET 2.0 / R 2.15.0]
In my heplots package I extended the HE-examples.Rnw vignette under
inst/doc. The package passes R CMD check
on my machine:
* using log directory 'C:/eclipse-3.7/heplots.Rcheck'
* using R version 2.15.0 (2012-03-30)
* using platform: i386-pc-mingw32 (32-bit)
...
* checking sizes of PDF files under 'inst/doc' ... OK
* checking installed files
2018 Jul 08
0
[R] consider running tools::compactPDF(gs_quality = "ebook")
?did this inside R; not ideal but worked.
________________________________
From: R-devel <r-devel-bounces at r-project.org> on behalf of S?ren H?jsgaard <sorenh at math.aau.dk>
Sent: 08 July 2018 15:46
To: r-devel at r-project.org
Subject: Re: [Rd] [R] consider running tools::compactPDF(gs_quality = "ebook")
Dear all,
I run
R CMD build --compact-vignettes="both"
2012 Apr 20
1
R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)
Hi,
in help("R_GSCMD") it says "R_GSCMD: Optional. The path to
Ghostscript, used by dev2bitmap, bitmap and embedFonts. Consulted when
those functions are invoked.". However, if 'R_GSCMD' contains a full
pathname to the Ghostscript executable (as above "path" indicates),
e.g.
> Sys.getenv("R_GSCMD")
[1] "C:\\Program
2019 Sep 27
1
passing extra arguments to devtools::build
This question was posed on SO :
https://stackoverflow.com/questions/58118495/passing-extra-argumenets-to-devtoolsbuild
but there has been no useful reply.
Something seems to have changed in the |devtools|package, so that the
following commands, that used to run now give an error I can't decipher:
|>Sys.setenv(R_GSCMD="C:/Program
2012 Jan 24
1
Failure to get compactPDF to compact a pdf file
I am failing to get compactPDF to make any change to a pdf file
that, a/c to the message from the CRAN upload site, can be very
substantially compacted. Any ideas what may be wrong?
I have also tried recreating the pdf file. I also tried
R CMD build --resave-data --compact-vignettes DAAG
The data files compact alright (but I get the 'significantly better compression'
warning message
2014 Dec 23
1
upquote.sty in Fedora 21
On Mon, Dec 15, 2014 at 6:55 AM, Tom Callaway <tcallawa at redhat.com> wrote:
> As pointed out, this is no longer an issue in R 3.1.2, which is in all
> Fedora branches (except 21, where it is landing later today, hopefully).
Thank you. Another missing dependency pops up when running CMD check:
* checking compiled code ... OK
WARNING
?qpdf? is needed for checks on size
2012 Dec 17
1
Problems with building R from sources
Hello all,
I'm trying to build R 32bit from source in a Windows 64 machine. I have
followed the steps in "R Installation and Adiministration" (
http://cran.r-project.org/doc/manuals/R-admin.html#Getting-the-source-files)
or at least I think I did everything described. I am not sure if I have
installed the libjpeg, libtiff and libpng files though. I have upzipped
them in the
2012 Sep 17
1
other files in \inst\doc
I would like to include a Mathematica notebook and cdf file (both are
ASCII files) in the \inst\doc directory as supporting documentation. These
files are not large, about 340K each one. When I check using
R CMD check --as-cran ...
I get the following warning:
......................
* checking data for ASCII and uncompressed saves ... OK
WARNING
'qpdf' is needed for checks on size
2018 Feb 09
3
R Compilation gets stuck on Windows 64
Hi Avraham,
What a coincidence, I have been following this post of yours:
https://www.avrahamadler.com/2013/10/24/an-openblas-based-rblas-for-windows-64-step-by-step/
Looks like this post is slightly older than what you have shared
previously. It is strange that you did not get the attachments. I am
pasting the contents of the MkRules.local here:
2020 Nov 01
2
vignettes present in 2 folders or won't work
Dear all,
I am struggling with an issue related to static vignettes: they work, but
only when present in double in the tarball -- in the folder inst/doc and
vignettes; see below for details.
Details:
I am pre-compiling heavy vignettes thanks to the vignette builder R.rsp.
So basically, I have PDF files which I want the package to use as Vignettes.
For this, I have the following in my
2011 Jan 14
1
How to point R toward Ghostscript on a Windows XP system
A colleague designed a script for a bar plot, which I'd like to export to my directory via the barplot command:
bitmap(file="barplot.tif", type="tifflzw", height=4, width=6.5, res=1250)
Unfortunately, this command produces the following error message:
Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) :
'gswin32c.exe' not found
2019 Mar 14
1
r76237 broken?
It looks like the most recent SVN commit changed line 1068 of
src/library/tools/R/admin.R to include a call to "shQuotee" (sic), which
is now breaking Travis r-devel builds ... ('checking sizes of PDF files
under ?inst/doc?: .Error in shQuotee(tf) : could not find function
"shQuotee"')
The new line reads:
res <- system2(qpdf, c(qpdf_flags, shQuote(p),
2013 Nov 07
1
Can't install R 2.15 and r-recommended on Ubuntu
Hi
When attempting to install R in version 2.15 (for testing purposes) on a
clean Ubuntu 12.04 machine from the CRAN Ubuntu repository, I can't seem
to install r-recommended:
+ sudo apt-get install --no-install-recommends
r-base-dev=2.15.3-1precise0precise1 r-base-core=2.15.3-1precise0precise1
r-recommended=2.15.3-1precise0precise1 qpdf
Reading package lists... Done
Building dependency