similar to: error with bitmap

Displaying 20 results from an estimated 4000 matches similar to: "error with bitmap"

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
2007 Mar 31
1
Too long pathname in bitmap() crashes R on WinXP
Hi, using too long pathnames for bitmap() crash R on WinXP. I've verified that this is the case with R version 2.4.1 Patched (2007-03-25 r40958) and R version 2.5.0 alpha (2007-03-30 r40957). I cannot reproduce it on Linux. REPRODUCIBLE EXAMPLE: % Rterm --vanilla # Tell R where Ghostscript is gsexe <- "C:/gs/gs8.54/bin/gswin32c.exe"; gsexe <- "C:/Program
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 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
1999 Oct 04
1
bitmap copies of plots
Michael Lapsley was suggesting on R-help direct copies to gif/png/jpeg. The following seems to do a sensible job for me of copying the current device to any bitmap format supported by gs. The manipulation is needed to work around assumptions made by postscript(), and I think better fixed in postscript() (but not a couple of days before a release). I want to make onefile=FALSE work on
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
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",
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
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
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
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
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",
2009 Dec 22
0
Embed Fonts in All EPS files inside a Directory
Hi List, I would like to embed some fonts (AFM format) on 324 eps files produced by a R loop, I’m able to do so one-by-one with the following command: embedFonts('C:/Users/Rodrigo/Documents/UFPR/Micropaleontologia/Potiguar/Cata logo/Mapas/EPS/Example.eps', outfile='C:/Users/Rodrigo/Documents/UFPR/Micropaleontologia/Potiguar/Catalog o/Mapas/EPS/Example2.eps',
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
2009 Apr 05
1
problem with lattice tiff or bitmap: character size and color
Hi all, I am trying to make tiff files of lattice plots at a resolution greater than 300 dpi required by a journal (PLoS ONE). I have tried both the tiff and bitmap functions. tiff keeps panel colors but reduces axes and tick labels so they are nearly invisible. bitmap maintains correct label size but only produces greyscale. Regular plots work fine with tiff; the problem is only with lattice
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
2010 Jun 30
1
Why the variation when creating .pdf file output for my plots?
Esteemed R Users, Would some one be patient enough to explain the variation i see when creating .pdf file output for my plots? FYI- my goal is produce the highest quality .pdf output from the R 'command line' as opposed to using the menu of the acitve graphics window. Im using 32bit WinXP. Session info at the bottom. I have Ghostscript v8.71 installed and in the Path such that
2002 Mar 08
0
Create png graph from script?
I am looking for a way to create png format files from a script that runs from crontab. I would like to avoid ghostscript or depending on a particular x11 device being available. Any help is appreciated. Details below. I am running R Version 1.4.1 on Solaris 2.6. If I can rely on an x11 device being available I can achieve the result as follows: $ /fred/R-1.4.1/bin/R --no-save
2006 Oct 03
2
pdf/ convert/ font problem
Background: OS: Linux Ubuntu Dapper R : Version 2.3.1 (2006-06-01) Emacs 21.4.1 ESS Colleagues This is neither a bug report, nor a complaint, so I think this is the appropriate list. I am getting an odd font problem with a pdf generated using pdf(file = "../figures/PCNM.models.larvae.fluor.zoo.stability.2001.and.2002.pdf", title="", family="serif",
2004 Jul 07
1
fedora core 2 + bitmap() + ghostscript (PR#7062)
Hi all, A bug popped up recently when I upgraded to fedora core 2 (from core 1). Whenever I used the bitmap() function, ghostscript complained that it couldn't handle png or tiff devices. This was NOT a bug with R. It was with the version of ghostscript shipped with core 2. Going to rawhide and getting ghostscript 7.07-29 (core 2 comes with 7.07-25) solved this problem. Unfortunately, I