Hello,
 
I have recently been trying Bivand's book and tried to print the degree symbol along with longitude and latitude in the axes. It only prints a gamma or kappa symbol. 

I am using Ubuntu 10.10 on an i486 . The version of R is the latest R version 2.11.1 (2010-05-31)

I have a slice of Debian lenny running on the same machine and it can print the degree symbol perfectly.

Does anyone know if this is an Ubuntu problem or just a problem with the latest R distribution. Should I ask this question on an R forum?

I did find some chatter about this on another forum ( I can not remember which) but it did not get resolved there, or I could not find the resolution. 
I believe someone said that Ripley, B. had contacted them off forum for some advice.

Any advice on this would be appreciated. 

Karl Wilson

--- On Sun, 10/10/10, r-sig-geo-request@stat.math.ethz.ch <r-sig-geo-request@stat.math.ethz.ch> wrote:

From: r-sig-geo-request@stat.math.ethz.ch <r-sig-geo-request@stat.math.ethz.ch>
Subject: R-sig-Geo Digest, Vol 86, Issue 10
To: r-sig-geo@stat.math.ethz.ch
Date: Sunday, October 10, 2010, 10:00 AM

Send R-sig-Geo mailing list submissions to
    r-sig-geo@stat.math.ethz.ch

To subscribe or unsubscribe via the World Wide Web, visit
    https://stat.ethz.ch/mailman/listinfo/r-sig-geo
or, via email, send a message with subject or body 'help' to
    r-sig-geo-request@stat.math.ethz.ch

You can reach the person managing the list at
    r-sig-geo-owner@stat.math.ethz.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of R-sig-Geo digest..."


Today's Topics:

   1. Re: reading .grd file in R? (govindas@msu.edu)
   2. Re: reading .grd file in R? (Rainer Hurling)


----------------------------------------------------------------------

Message: 1
Date: Sat, 09 Oct 2010 13:22:36 -0400
From: govindas@msu.edu
To: Barry Rowlingson <b.rowlingson@lancaster.ac.uk>
Cc: r-sig-geo@stat.math.ethz.ch
Subject: Re: [R-sig-Geo] reading .grd file in R?
Message-ID: <20101009132236.12931k4z1ww82sik@mail.msu.edu>
Content-Type: text/plain; charset="iso-8859-1"



Yes, i know its a Grads file ..! i have attached the control file and the g[[elided Yahoo spam]]

http://www.4shared.com/file/cuSG-05j/rf05_1975.html

I have not used Grads before, still i was able to read in  the control file and get the basic info.!?but, i am not sure about the package  required for .grd files in R - will i be able to read a Grads grid file into  R??? 

Thank u all,
Mahalakshmi 

 Quoting Barry Rowlingson <b.rowlingson@lancaster.ac.uk>:

> On Sat, Oct 9, 2010 at 12:32 AM,? <govindas@msu.edu> wrote:
>>
>>
>> Can someone let me know what package and function should be used to 
>> read *.grd files in R? I tried readGDAL, open.ncdf functions already 
>> which threw errors for file format mismatch.
>
>? A file extension is not a good indication of what the file type is. I
> could rename any file 'foo.grd' and it could be anything.
>
>? Show us what readGDAL gives as an error message, and then we might be
> able to help. readGDAL tries to guess the file format, maybe it
> guessed right but the file is corrupted.
>
>? Where did the file come from? Can we get it? Can you open it in a
> text editor? Do you have a unix/linux box so you can run the command
> 'file' on it?
>
> Barry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101009/17dafa28/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rfpt5.ctl
Type: application/octet-stream
Size: 279 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20101009/17dafa28/attachment-0001.obj>

------------------------------

Message: 2
Date: Sat, 09 Oct 2010 21:49:50 +0200
From: Rainer Hurling <rhurlin@gwdg.de>
To: govindas@msu.edu
Cc: r-sig-geo@stat.math.ethz.ch
Subject: Re: [R-sig-Geo] reading .grd file in R?
Message-ID: <4CB0C75E.8090903@gwdg.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Mahalakshmi,

On 09.10.2010 19:22 (UTC+1), govindas@msu.edu wrote:
> Yes, i know its a Grads file ..! i have attached the control file and
[[elided Yahoo spam]]
>
> http://www.4shared.com/file/cuSG-05j/rf05_1975.html
>
> I have not used Grads before, still i was able to read in the control
> file and get the basic info.! but, i am not sure about the package
> required for .grd files in R - will i be able to read a Grads grid file
> into R???

I am afraid there is no direct solution at this time in R. Perhaps the 
following script can help converting the data?

http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file

Hope this helps,
Rainer


> Thank u all,
> Mahalakshmi
>
> Quoting Barry Rowlingson <b.rowlingson@lancaster.ac.uk>:
>
>  > On Sat, Oct 9, 2010 at 12:32 AM, <govindas@msu.edu> wrote:
>  >>
>  >>
>  >> Can someone let me know what package and function should be used to
>  >> read *.grd files in R? I tried readGDAL, open.ncdf functions already
>  >> which threw errors for file format mismatch.
>  >
>  >  A file extension is not a good indication of what the file type is. I
>  > could rename any file 'foo.grd' and it could be anything.
>  >
>  >  Show us what readGDAL gives as an error message, and then we might be
>  > able to help. readGDAL tries to guess the file format, maybe it
>  > guessed right but the file is corrupted.
>  >
>  >  Where did the file come from? Can we get it? Can you open it in a
>  > text editor? Do you have a unix/linux box so you can run the command
>  > 'file' on it?
>  >
>  > Barry



------------------------------

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


End of R-sig-Geo Digest, Vol 86, Issue 10
*****************************************



      
	[[alternative HTML version deleted]]

