Re: [R] R base package grid does not output raster image

2013-07-27 Thread Terry
Prof Brian Ripley stats.ox.ac.uk> writes: > Basically Remote Desktop restricts the number of colours when connecting > to a Windows Server machine, and interpolating rasters needs a lot of > colours. Hi Brain, I looked into this further and have a solution. 1. On the server launch Remote Des

Re: [R] R base package grid does not output raster image

2013-07-23 Thread Prof Brian Ripley
On 24/07/2013 07:23, Terry Seaward wrote: Hi, I don't think this is a remote desktop issue. I can run the following code by remoting into both a Windows 7 machine and a Windows Server R2 There are Windows Server 2003, 2008, 2012 but not R2. machine. I can see the results on the Windows 7 m

[R] R base package grid does not output raster image

2013-07-23 Thread Terry Seaward
Hi, I don't think this is a remote desktop issue. I can run the following code by remoting into both a Windows 7 machine and a Windows Server R2 machine. I can see the results on the Windows 7 machine but not the server. > library(grid) > grid.raster(1:10/11) Best regards, Terry Terry

Re: [R] R base package grid does not output raster image

2012-05-27 Thread Uwe Ligges
ank(), legend.background=theme_blank(), plot.margin=unit(0*c(-1.5, -1.5, -1.5, -1.5), "lines")) pdf("plot.pdf", height=7, width=7) p dev.off() ____________ From: Uwe Ligges [lig...@statistik.tu-dortmund.de] Sent: Saturday, May 26, 2012 11:

Re: [R] R base package grid does not output raster image

2012-05-26 Thread Patrick Nicholson
"none", legend.title=theme_blank(), legend.background=theme_blank(), plot.margin=unit(0*c(-1.5, -1.5, -1.5, -1.5), "lines")) pdf("plot.pdf", height=7, width=7) p dev.off() ________ From: Uwe Ligges [lig...@stat

Re: [R] R base package grid does not output raster image

2012-05-26 Thread Uwe Ligges
On 24.05.2012 23:04, Patrick Nicholson wrote: I am running 64-bit R 2.15.0 on a Windows Server 2008 R2 Amazon EC2 instance. grid does not produce output. For example, the following code should print the R logo to the window() device: library(grid) library(png) img.path<- system.file("img", "

[R] R base package grid does not output raster image

2012-05-24 Thread Patrick Nicholson
I am running 64-bit R 2.15.0 on a Windows Server 2008 R2 Amazon EC2 instance. grid does not produce output. For example, the following code should print the R logo to the window() device: library(grid) library(png) img.path <- system.file("img", "Rlogo.png", package="png") bg <- readPNG(img.pa