Displaying 20 results from an estimated 4000 matches similar to: "bitmap copies of plots"
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
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
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
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
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
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
2004 Nov 30
1
bitmap (blank image) plot rendering without X11
Hi,
I am trying to generate plots on our unix (no X) server to be included 
in our web-pages -> specifically pngs.
Without X, png() obviously doesn't work, so I have been trying to define 
the graphics print device bitmap as described in the help:
 > bitmap(file="plot.png", type = "png256", height = 6, width=6,res=72)
 > pie(c(12,5))
 >
2000 Jul 18
5
X11 & dev2bitmap
Hi,
I am trying to put some graphics I have generated from R on a
webpage using dev2bitmap to create a bitmap, .BMP, file. 
When I look at my notes from 2 or 3 months ago I was successfully able to
put the ACTIVE device plot result into a bitmap file using a command such
as:
dev2bitmap("InsectSpray.BMP")
Job done!
Now when I try the same command, I get the following:
>
2008 Aug 11
2
How to specify the type and size of font in bitmap format output?
Hi, all
I need to specify a font (for example, type=helvetica and size=10) in bitmap
output (for example, dev.print(bitmap, 'test.png').
How can I do this?
Thanks.
Hyunchul
	[[alternative HTML version deleted]]
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 11
0
using bitmap to make a multi-page pdf file results in duplication of (PR#908)
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 with R version 1.2.1 and
1.2.2.  I am using Aladdin ghostscript version 6.50.  The temporary file
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
2000 Apr 28
1
dev2bitmap from a script invoked by another process
Issue:
I have a R script that is invoked periodically by another process. In the
script, a graphics is generated and I want to get a the image for the graph
as a jpeg.
Here is a prototypical version of the script (try.R):
plot(1)
dev2bitmap("try.jpg", type = "jpeg")
I am running R-1.0.0 on Solaris 7.
The script is invoked as: R --vanilla < try.R
A file named try.jpg is
2000 Dec 15
1
Bug in bitmap producing pdf???
I thought I was clever.
I produce both ps and pdf files from LaTeX (MiKTeX), so
sometimes I need to get .eps graphs from R, sometmes .pdf.
To rationalize this I wrote the following function to let me
easily choos what I want wihtou changing the code in my
R-programs too much (here embedded in a small test program):
plt <- 
function( file,
          type = "pdf",
           dir =
2007 May 22
5
Reducing the size of pdf graphics files produced with R
Hi,
Without trying to print 1000000 points (see <http:// 
finzi.psych.upenn.edu/R/Rhelp02a/archive/42105.html>), I often print  
maps for which I do not want to loose too much of coastline detail,  
and/or plots with 1000-5000 points (yes, some are on top of each  
other, but using transparency (i.e. rgb colors with alpha  
information) this actually comes through as useful information.
2010 Jan 19
1
[LLVMdev] [PATCH] Emit rbit, clz on ARM for __builtin_ctz
On Jan 15, 2010, at 10:03 AM, Chris Lattner wrote:
> 
> When/if another target wants this, we could add a ISD::RBIT operation,  
> it doesn't need to be added at the llvm ir level,
Blackfin can add with backwards carry, essentially doing
(rbit (add (rbit a), (rbit b)))
This is used for FFTs.
I wasn't hoping to be able to pattern-match something so complicated.
2010 Jan 15
0
[LLVMdev] [PATCH] Emit rbit, clz on ARM for __builtin_ctz
On Jan 14, 2010, at 10:13 PM, David Conrad wrote:
> Hi,
>
> On ARMv6T2 this turns cttz into rbit, clz instead of the 4  
> instruction sequence it is now.
>
> I'm not sure if adding RBIT to ARMISD and doing this optimization in  
> the legalize pass is the best option, but the only better way I  
> could think of doing it was to add a bitreverse intrinsic to llvm  
2010 Jan 15
1
[LLVMdev] [PATCH] Emit rbit, clz on ARM for __builtin_ctz
On Fri, Jan 15, 2010 at 6:03 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Jan 14, 2010, at 10:13 PM, David Conrad wrote:
>
>> Hi,
>>
>> On ARMv6T2 this turns cttz into rbit, clz instead of the 4
>> instruction sequence it is now.
>>
>> I'm not sure if adding RBIT to ARMISD and doing this optimization in
>> the legalize pass is
2004 Jan 17
3
Multiple groupedData plots in a postscript file using a loop
Hallo!
I want to plot multiple grouped data in a postscript
file using a loop. As I use a loop no plot (or just
one empty plot) is generated. Here an example:
library(nlme)
data(Loblolly) # example data from nlme
postscript("PSFile.ps")
for (i in 1:1) # just as example
{
	plot(Loblolly)
}
dev.off()
Result: Just an empty PSFile.ps.
(Withoput the loop it works.
May anybody help?
Karl
2003 Nov 24
1
Warning calling par
Hi. I have a function that works well under R 1.7.1 But under 1.8.0 and 1.8.1 I get:Warning message: 
calling par(new=) with no plot
And it doesnt plot
The function is:
mplotmeth1<-function(data1,data2,alpha,nr){
	psfile<-paste("Meth1_",nr[1],"-",nr[length(nr)],".ps",sep="")
	postscript(psfile)
	close.screen(all=T)
	par(mex=0.73,cex=0.8)