24°N-46°N, resolution 0.05x0.05 i.e. 440 rows x 460columns)?
>
> Thanks,
>
> Eliza
>
>
>> From: kri...@ymail.com
>> Date: Tue, 18 Mar 2014 21:39:58 +0900
>
>> Subject: Re: [R] open unknown file format in R
>> To: eliza_bo...@hotmail.com
>> CC: r-help@r-p
+0900
> Subject: Re: [R] open unknown file format in R
> To: eliza_bo...@hotmail.com
> CC: r-help@r-project.org
>
> Hello,
>
> It is not around the world. It is only for Japan (AphroJP,
> 123°E-146°E, 24°N-46°N, resolution 0.05x0.05 i.e. 440 rows x 460
> columns). You c
e globe and I am only interest in data of 22 stations.
>
> Thankyou very much in advance,
>
> Eliza
>
>
>> From: kri...@ymail.com
>> Date: Tue, 18 Mar 2014 08:51:01 +0900
>> Subject: Re: [R] open unknown file format in R
>> To: eliza_bo...@hotmail.com
>>
22 stations.
Thankyou very much in advance,
Eliza
> From: kri...@ymail.com
> Date: Tue, 18 Mar 2014 08:51:01 +0900
> Subject: Re: [R] open unknown file format in R
> To: eliza_bo...@hotmail.com
> CC: r-help@r-project.org
>
> Hello,
>
> It is in binary format. I didn&
Dear Pascal, Dan and Macqueen,
Thankyou very much for your help. With pascal' code I was managed reading the
file.
Thanks,
Eliza
> From: kri...@ymail.com
> Date: Tue, 18 Mar 2014 08:51:01 +0900
> Subject: Re: [R] open unknown file format in R
> To: eliza_bo...@hotmail.c
Hello,
It is in binary format. I didn't use stations. But to read the gridded
format, I used:
> readBin(fid, numeric(), n=1e8, size=4, signed=TRUE, endian='little')
where file is the connection created with file()
Hope this helps,
Pascal
On Tue, Mar 18, 2014 at 4:06 AM, eliza botto wrote:
If it's a text file, any of the usual functions, such as read.table(),
scan(), etc.
If it's a binary file, try readBin()
It's up to you to find out what kind of a file it is, and how the data is
structured within the file.
(hint: on a unix-alike system, the 'file' command will tell you something
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of eliza botto
> Sent: Monday, March 17, 2014 12:06 PM
> To: r-help@r-project.org
> Subject: [R] open unknown file format in R
>
> Dear R-Family,
> I have just downloaded a massive
8 matches
Mail list logo