Displaying 20 results from an estimated 200 matches similar to: "Too long pathname in bitmap() crashes R on WinXP"
2004 Aug 23
2
R on windows problem
Hi,
I've installed several versions of R on a number of Window
systems. I get the following error message (which I don't get on linux)
> dev2bitmap(file="test.jpeg",type="jpeg")
Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) :
gswin32c.exe not found
Any idea how to fix this? It seems common to all windows systems
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
2010 Aug 19
1
error with bitmap, please help
Hi All
I still have a problem with ?bitmap? function in R, I have downloaded
ghostscript 8.71 and added the path to the executable to the path
environment variable, by going to the control panel , system, advanced
system settings, added C:\Program Files(x86)\gs\gs8.71\bin to the path
variable. I have also added the R executable path to the path variable. I
have a 64 bit computer with windows 7
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
2015 Oct 04
2
Conditional importFrom (roxygen?)
Folks:
I am getting a build failure when I:
#' @importFrom utils shortPathName
which roxygenizes it to the NAMESPACE.
I suspect this is because this particular function is Windows-only, but I'm
a bit confused how I should "properly" importFrom a function like this so
it doesn't cause a build failure, but I don't get a note in my R CMD CHECK
if I DON'T have it:
2008 Jul 21
1
dev2bitmap error, 'gs' cannot be found
Dear List,
I am using the bioconductor package Category to do some gene enrichment
analysis, and usually save my KEGGmnplot's using a dev2bitmap command.
This has worked just fine, until suddenly earlier today I got this
error-message:
> dev2bitmap("04610_080721.jpg",type="jpeg", height = 10, width = 10,
res = 200)
Error in dev2bitmap("04610_CSF080721.jpg",
2007 Apr 25
5
Upload PDF / Save as tiff
Hi,
I''m trying to automate the conversion of a PDF document received via a
browser upload to a tiff image via ghostscript. I have the PDF data in
a string, and I need the tiff data returned into a string.
The general command I want to emulate is:
type test.pdf | "c:\program files\gs\gs8.56\bin\gswin32c.exe" -q
-dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sOutputFile=- > test5.tiff
2011 Mar 27
1
grImport/ghostscript problems
Hi All:
I've been struggling for a while trying to get grImport up and running. I'm on a Windows 7 (home premium 64 bit) machine running R-2.12.2 along with GPL Ghostscript 9.01.
I've set my Windows PATH variable to point to the Ghostscript \bin and \lib directories, and I've created the R_GSCMD environment variable pointing to gswin32c.exe.
I don't have any experience with
2007 Jan 12
7
Making TIFF images with rtiff
Many medical journals and publishers require that images, whether
photographs or line art, be submitted as high resolution .TIFF images.
One option for R users is to produce an image in one format and to
convert it to a .TIFF file using a second software program. My
experience has been that this option often results in images of poorer
quality, often with blurry contours, and a loss of
2008 Nov 03
1
dev2bitmap: extra missing
Hi,
I don't know if I am the first one to report the problem:
in 2.8.0 dev2bitmap gained aa support, but "extra" is null
if neither taa nor naa is specified.
> dev2bitmap("plot.pdf",type="pdfwrite")
Error in paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=", type, :
object "extra" not found
>
2010 Sep 11
2
Latex fonts in R graphics
Hello, R users.
I am trying to embed Computer modern fonts to an R plot and I get the
following error.
CM <- Type1Font("CM",
+ c(paste("cm-lgc/fonts/afm/public/cm-lgc/",
+ c("fcmr8a.afm", "fcmb8a.afm", "fcmri8a.afm", "fcmbi8a.afm"), sep=""),
+ "./cmsyase.afm"))
> pdf("cm.pdf",
2010 Aug 18
0
error with bitmap
Hi All
I still have a problem with ?bitmap? function in R, I have downloaded
ghostscript 8.71 and added the path to the executable to the path
environment variable, by going to the control panel , system, advanced
system settings, added C:\Program Files(x86)\gs\gs8.71\bin to the path
variable. I have also added the R executable path to the path variable. I
have a 64 bit computer with windows 7
2008 Nov 14
1
Bug#505698: r-base-core: dev2bitmap fails with gsexe related error (PR#13288)
Stefano,
Thanks for the bug report.
On 14 November 2008 at 14:35, Stefano Costa wrote:
| Package: r-base-core
| Version: 2.8.0-1
| Severity: normal
|
| As in subject. The bug is reproducible on my machine with these
| commands:
|
| > x <- rnorm(100)
| > plot(density(x))
| > dev2bitmap("density.png")
| Error in paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q
2005 Jun 03
3
plots from batchfile on windows
Hi,
On windows I'd like to run a batchfile that leaves me a plot. As a
test I have the scriptfile "test.r" which only contains:
x <- 1:10;
y <- sample( 10 )
plot( x, y )
Now I tried the following (but nothing worked):
a) "R --vanilla < test.r" in the cmd window, => that doesn't give me a plot
b) the same, but I added
2010 Mar 30
2
jpeg() saving blank files?
Hi,
I am having trouble saving graphics from R. jpeg() saves a file with
the correct name to the correct directory, but it consists of a blank
(white) jpeg with the specified dimensions--the image itself is not
being saved.
My code is
jpeg(filename="myfile.jpg",
height = 2.5, width = 8, units = "in", res = 72,
pointsize = 12, quality = 100, bg = "white",
2015 Oct 04
0
Conditional importFrom (roxygen?)
On 04/10/2015 10:10 AM, Jonathan Greenberg wrote:
> Folks:
>
> I am getting a build failure when I:
> #' @importFrom utils shortPathName
>
> which roxygenizes it to the NAMESPACE.
>
> I suspect this is because this particular function is Windows-only, but I'm
> a bit confused how I should "properly" importFrom a function like this so
> it
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 Aug 09
1
embedFonts() does not embed fonts?
Dear helpers,
I'm trying out the embedFonts() to embed fonts into my pdf files.
However, when I inspect the new pdf with a program designed to look
for embedded fonts, I see that the fonts have in fact not been
embedded. Below are my calls.
R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-pc-mingw32/i386 (32-bit)
2001 Apr 12
0
using bitmap to make a multi-page pdf file results in (PR#909)
On Wed, 11 Apr 2001 Setzer.Woodrow@epamail.epa.gov wrote:
> When I execute the following code:
>
> bitmap("test.pdf",type="pdfwrite")
> plot(1:10,1:10,main="ONE")
> plot(1:10,1:10,main="TWO")
> dev.off()
>
> the resulting file test.pdf contains four pages: graph ONE, graph TWO,
> graph ONE, graph TWO. I can recreate the problem
2003 Apr 01
2
Autogenerated png, bitmap images
I have two questions -
1. I am trying to create R png graphs via cron. I have this part working
using Xvfb (X virtual frame buffer). One problem that I have, though, is
that all the fonts on my graphs get messed up. Anybody have any nija R
commands to make all fonts look great? Anybody have any idea how to fix
this? So far, no luck on Solaris or Linux making the Xvfb fonts look
good.
I was