Re: [R] open unknown file format in R

2014-03-18 Thread Pascal Oettli
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

Re: [R] open unknown file format in R

2014-03-18 Thread eliza botto
+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

Re: [R] open unknown file format in R

2014-03-18 Thread Pascal Oettli
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 >>

Re: [R] open unknown file format in R

2014-03-18 Thread eliza botto
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&

Re: [R] open unknown file format in R

2014-03-18 Thread eliza botto
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

Re: [R] open unknown file format in R

2014-03-17 Thread Pascal Oettli
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:

Re: [R] open unknown file format in R

2014-03-17 Thread MacQueen, Don
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

Re: [R] open unknown file format in R

2014-03-17 Thread Nordlund, Dan (DSHS/RDA)
> -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