Re: [R] reading dataset

2014-03-27 Thread eliza botto
Dear Frede and pascal, Thankyou very much. I am so glad that you replied positively. Thankyou very once again. Eliza > From: kri...@ymail.com > Date: Thu, 27 Mar 2014 22:38:42 +0900 > Subject: Re: [R] reading dataset > To: fr...@vestas.com > CC: eliza_bo...@hotmail.com; r-hel

Re: [R] reading dataset

2014-03-27 Thread Pascal Oettli
47 6050 > fr...@vestas.com > http://www.vestas.com > > Company reg. name: Vestas Wind Systems A/S > This e-mail is subject to our e-mail disclaimer statement. > Please refer to www.vestas.com/legal/notice > If you have received this e-mail in error please contact the sender. &

Re: [R] reading dataset

2014-03-27 Thread Frede Aakmann Tøgersen
in error please contact the sender. > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of eliza botto > Sent: 27. marts 2014 13:26 > To: Pascal Oettli > Cc: r-help@r-project.org > Subject: Re: [R] reading da

Re: [R] reading dataset

2014-03-27 Thread eliza botto
is flag value.Did i get it right? Eliza > From: kri...@ymail.com > Date: Thu, 27 Mar 2014 12:39:30 +0900 > Subject: Re: [R] reading dataset > To: eliza_bo...@hotmail.com > CC: r-help@r-project.org > > Hello, > > Some hints: >- for the year 1961, the t

Re: [R] reading dataset

2014-03-26 Thread Pascal Oettli
Hello, Some hints: - for the year 1961, the total number of values is 27594000, - there are 180 longitudes and 140 latitudes, - there are 365 days, - there are 3 variables, Compare the total number of values and the result of (180 x 140 x 365 x 3). The order is "precip", "rstn", "fla

Re: [R] reading dataset

2014-03-26 Thread Jeff Newmiller
This question is about a specific data set you found on the internet... it is not in any way a question about R. You should be asking the suppliers of this data, not us. --- Jeff NewmillerThe .

[R] reading dataset

2014-03-26 Thread eliza botto
Dear useRs, A similar question has previously been asked by another user (https://stat.ethz.ch/pipermail/r-sig-geo/2011-September/012791.html) but i'll try to discuss it from another angle. Its about data reading. I am trying to read to read a data-set APHRO_MA_050deg_V1101R2.1961.gz from http:

Re: [R] Reading dataset in R

2013-03-25 Thread Zjoanna
AL > #1 10.45928 0.1690183 0.3952494 0.07470420 0.05284197 > #2 11.38388 0.1694641 0.3624458 0.07208597 0.06036395 > A.K. > > > > > > > ____________ > From: Zjoanna <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4662243&i=0&

Re: [R] Reading dataset in R

2013-03-22 Thread arun
494 0.07470420 0.05284197 #2 11.38388 0.1694641 0.3624458 0.07208597 0.06036395 A.K. From: Zjoanna To: r-help@r-project.org Sent: Friday, March 22, 2013 3:54 PM Subject: Re: [R] Reading dataset in R Hi, I also need to read this format of file in R, it is a

Re: [R] Reading dataset in R

2013-03-22 Thread Zjoanna
Hi, I also need to read this format of file in R, it is a Wordpad file. On Thu, Mar 21, 2013 at 5:07 PM, arun wrote: > > > Hi, > con<-file("Rout1112.text") > Lines1<- readLines(con) > close(con) > indx<-rep(rep(c(TRUE,FALSE),each=2),2) > Lines2<-Lines1[!grepl("[A-Za-z]",Lines1)] > > > res<

Re: [R] Reading dataset in R

2013-03-21 Thread arun
Hi, con<-file("Rout1112.text")  Lines1<- readLines(con)  close(con)  indx<-rep(rep(c(TRUE,FALSE),each=2),2)  Lines2<-Lines1[!grepl("[A-Za-z]",Lines1)] res<-read.table(text=paste(gsub("^\\d+\\s+","",Lines2[indx]),gsub("^\\d+\\s+","",Lines2[!indx])),sep="",header=FALSE)  nm1<-unlist(strsplit(gsub(