Displaying 10 results from an estimated 10 matches for "gsexe".
Did you mean:
sexe
2007 Mar 31
1
Too long pathname in bitmap() crashes R on WinXP
...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 Files/gs/gs8.56/bin/gswin32c.exe";
gsexe <- shortPathName(gsexe);
Sys.putenv("R_GSCMD"=gsexe);
# Total length of pathname (R crashes when it is too long)
n <- 130;
# Output path
path <- tempdir()...
2008 Jul 21
1
dev2bitmap error, 'gs' cannot be found
...pe="jpeg", height = 10, width = 10,
res = 200)
Error in dev2bitmap("04610_CSF080721.jpg", type = "jpeg", height = 10, :
sorry, 'gs' cannot be found
I don't know what this means, it seems to be something about my
environment.
(From dev2bitmap function:)
gsexe <- Sys.getenv("R_GSCMD")
if (is.null(gsexe) || !nzchar(gsexe)) {
gsexe <- "gs"
rc <- system(paste(shQuote(gsexe), "-help > /dev/null"))
if (rc != 0)
stop("sorry, 'gs' cannot be found")
}
I cant f...
2008 Nov 14
1
Bug#505698: r-base-core: dev2bitmap fails with gsexe related error (PR#13288)
...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 -sDEVICE=", type,
| :
| object "extra" not found
| >
Confirmed. The code in looks a little off inasmuch as in
if (!is.na(taa))
extra <- paste(" -dTextAlphaBits=", taa, sep = "")
if (!is.na(gaa))...
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
> dev2bitmap("plot.pdf",type="pdfwrite",taa=4)
>
I guess a useful default for extra is missing:
if (!is.na(taa))
extra <- paste(" -dTextAlphaBits=", taa...
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 I've
tried. Is there a package I can install that will correct this?
Best wishes,
Harry
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
2001 Apr 12
0
using bitmap to make a multi-page pdf file results in (PR#909)
...er of graphs in it. Furthermore, if I execute
> from the command line the command as constructed in 'bitmap()', using the
> Rbit... file as input, I get a pdf file with the correct number of graphs
> in it.
It's Windows-specific and easy to fix: replace
cmd <- paste(gsexe, " -dNOPAUSE -dBATCH -q -sDEVICE=", type,
" -r", res,
" -g", ceiling(res*width), "x", ceiling(res*height),
" -sOutputFile=", file, " ", tmp, sep="")
by
cmd <- paste(gsex...
2011 Jan 14
1
How to point R toward Ghostscript on a Windows XP system
...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
>From consulting the archives and the help file, I deduced that I needed to install Ghostscript, which I did. Subsequent messages in the archives suggest directing R toward Ghostscript using an environm...
2010 Aug 19
1
error with bitmap, please help
...a 64 bit computer with windows 7 as an operating system. When running
the following script, I get an error in the system
df=read.table("sample.txt",sep="\t")
bitmap(file="sample.JPG",type="jpeg",width=5,height=5,res=300,pointsize=10)
Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) :
gswin32c.exe not found
plot(df$V1,df$V2,pch=20,col="blue")
is there anything that I am missing??
Thanks for your input
--
View this message in context: http://r.789695.n4.nabble.com/error-with-bitmap-please-help-tp23311...
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
2010 Aug 18
0
error with bitmap
...ve a 64 bit computer with windows 7 as an operating system. When running
the following script, I get an error in the system
df=read.table("sample.txt",sep="\t")
bitmap(file="sample.JPG",type="jpeg",width=5,height=5,res=300,pointsize=10)
Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) :
gswin32c.exe not found
plot(df$V1,df$V2,pch=20,col="blue")
is there anything that I am missing??
Thanks for your input
--
View this message in context: http://r.789695.n4.nabble.com/error-with-bitmap-tp2330168p2330168.html...