Displaying 20 results from an estimated 200 matches similar to: "Error in compactPDF/find_gs_cmd or documentation?"
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
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
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
2013 Apr 21
2
vignettes: problems with PDF compaction
[Env: OS: Win Xp; R 2.15.2; IDE: eclipse/StatET]
Each time I update my heplots package, I get warnings from R CMD check
on R-Forge,
* checking sizes of PDF files under ?inst/doc? ... WARNING
?gs+qpdf? made some significant size reductions:
compacted ?HE-examples.pdf? from 739Kb to 366Kb
and upon submission to CRAN, a message from maintainers:
On CRAN now: but again there were warnings
2012 May 24
1
New S3 methods for optional package
Hi,
I have asked this question before, but the solution I ended up with (see
below) creates a note when running R CMD check. So I am trying again...
I am developing a package B that, among other things, also offers some
extra S3-methods for functions in package A if the user has installed A.
I do not want to list A under Depends of B, as the dependency list of A
is rather long, and most
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 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
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
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
2016 Dec 07
3
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
>>>>> Jon Skoien <jon.skoien at jrc.ec.europa.eu>
>>>>> on Wed, 7 Dec 2016 11:04:04 +0100 writes:
> I would like to ask once more if this is reproducible also for others?
> If yes, should I submit it as a bug-report?
> Best,
> Jon
Please Windows users .. this is possibly only for you!
Note that I do *not* see problems on
2018 Feb 23
2
Problem with R_registerRoutines
Thanks a lot for your answer Jeroen!
I should have mentioned that I had actually only checked with the win-builder, as I did not have R-devel installed on my computer.
But based on your answer I installed R-devel locally on a Linux-server (Redhat), and the package could be checked without the NOTE. So you might be right that this is a windows issue. However, another package that I am maintaining
2012 Mar 08
2
Cannot change location of tempdir()
Hi,
One of the functions I use needs to write to a temporary file, in the
directory given by tempdir(). I want to change this from the standard
one, as the file is too large for the drive. However, tempfile() doesnt
seem to respect the environment variables when I change them with
Sys.setenv(). In a fresh R-session:
> Sys.getenv("TMP")
[1]
2016 Nov 28
2
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
I first answered to the email below in r-help, but as I did not see any
response, and it looks like a bug/unwanted behavior, I am also posting
here. I have observed this in RGui, whereas it seems not to happen in
RStudio.
Similar to OP, I sometimes have a problem with functions using the
progress bar. Frequently, the console is cleared after x iterations when
the progress bar is called in a
2018 Feb 23
2
Problem with R_registerRoutines
Dear list,
I am trying to update a package to pass the CRAN-checks.
But I am struggling with the following note:
File 'psgp/libs/i386/psgp.dll':
Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols'
File 'psgp/libs/x64/psgp.dll':
Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols'
It is good practice to register native
2008 Oct 30
2
Small modification of zip.file.extract in utils?
Dear list,
I needed to extract a zip-archive, and found zip.file.extract in utils.
My only problem was the use of tempdir(), since I wanted to permanently
extract the archive at a fixed location for later use. My own fix was
simple, adding an extra parameter zipdir (without default), and within
the function change
tmpd <- tempdir()
to
tmpd = ifelse(missing(zipdir),tempdir(),zipdir)
This
2012 Jun 24
1
Error using PostScriptTrace()
I couldn't run PostScriptTrace() from the package "grImport" without an
error. At first the postscript program couldn't be found. however the
problem persisted after the full path the postscript program was indicated.
I read earlier post on the subject in vain. See the codes and output below.
The file "Senegal_location_map.ps" was originally a "svg" file from:
2004 Oct 05
1
Bug in optim - way to solve problem?
Hi,
I want to automatically fit variograms to a large number of different
sample data sets, and call the funtion "likfit" (in package geoR) from
within a for-loop. "likfit" does again call "optim". After ssuccessfully
fitting variograms to some of the data sets, the procedure crashes and I
get the error message:
Error in optim(par = ini, fn = negloglik.GRF,
2013 Apr 04
5
help with kriging interpolation
All,
I am new to using R and know some basics. I wish to use kriging in R to
do the following:
given data Y =f(X1,X2,X3,.....,Xn) --1000+ irregular measured data set.
I would like to be able to get a single value y given sinle input set
(x1,x2,x3,...xn)
A google search on this takes me lierally to the same example on involving
analysis with soil sampling and I cannot figure out how to
2015 Jun 17
2
Add-on argument in sample()
On 6/16/2015 1:32 PM, Peter Meissner wrote:
> Am .06.2015, 14:55 Uhr, schrieb Millot Gael <Gael.Millot at curie.fr>:
>
>> Hi.
>>
>> I have a problem with the default behavior of sample(), which performs
>> sample(1:x) when x is a single value.
>> This behavior is well explained in ?sample.
>> However, this behavior is annoying when the number of