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 Seaward Risk Manager T +27 21 416 1923 terry.seaward@investecmail.com 36 Hans Strijdom Avenue Foreshore, Cape Town, 8001, South Africa www.investecassetmanagement.com This email is confidential and may be legally privileged. It is subject to important terms and conditions, available at www.investecassetmanagement.com/email. Please notify the sender if you cannot access this link. If you are not the intended recipient, please advise the sender immediately and delete this email and any attachments. [[alternative HTML version deleted]]
Prof Brian Ripley
2013-Jul-24 06:43 UTC
[R] R base package grid does not output raster image
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 R2There are Windows Server 2003, 2008, 2012 but not R2.> machine. I can see the results on the Windows 7 machine but not the > server.This is a known problem with Windows Remote Desktop: it is nothing to do with R. See ?rasterImage in R. Basically Remote Desktop restricts the number of colours when connecting to a Windows Server machine, and interpolating rasters needs a lot of colours.>> library(grid) > >> grid.raster(1:10/11) > > > > Best regards, > > Terry > > > Terry Seaward Risk Manager > T +27 21 416 1923 > terry.seaward at investecmail.com > > 36 Hans Strijdom Avenue Foreshore, Cape Town, 8001, South Africa > www.investecassetmanagement.com-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595