Re: [R] calling in inverted commas

2014-04-14 Thread eliza botto
help. Thank-you once again, Eliza From: fr...@vestas.com To: smartpink...@yahoo.com; fr...@vestas.com CC: eliza_bo...@hotmail.com; r-help@r-project.org Date: Sat, 12 Apr 2014 12:54:49 +0200 Subject: RE: [R] calling in inverted commas Oh, I see. Actually I forgot to check whether if could

Re: [R] calling in inverted commas

2014-04-12 Thread Frede Aakmann Tøgersen
en Cc: Eliza Botto ,"R. Help" Emne: Re: [R] calling in inverted commas HI, Please ignore the previous message. I copied your codes directly from the email. For some reason, the urlPattern <- ... showed some special characters. I manually fixed it and now it is working. urlPatter

Re: [R] calling in inverted commas

2014-04-12 Thread Frede Aakmann Tøgersen
. Br. Frede Sendt fra Samsung mobil Oprindelig meddelelse Fra: arun Dato:12/04/2014 12.31 (GMT+01:00) Til: Frede Aakmann Tøgersen Cc: Eliza Botto ,"R. Help" Emne: Re: [R] calling in inverted commas HI, Thanks for the link. I should have used ?sprintf(). BTW, I am not ab

Re: [R] calling in inverted commas

2014-04-12 Thread arun
skip = 4, header = TRUE, na.strings = "-.9",                      sep = "", check.names = FALSE, stringsAsFactors = FALSE)     close(u) } str(precipList) Have a nice day. Yours sincerely / Med venlig hilsen Frede Aakmann Tøgersen Specialist, M.Sc., Ph.D. Plant Performance &a

Re: [R] calling in inverted commas

2014-04-12 Thread arun
.D. Plant Performance & Modeling Technology & Service Solutions T +45 9730 5135 M +45 2547 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 yo

Re: [R] calling in inverted commas

2014-04-12 Thread Frede Aakmann Tøgersen
ions T +45 9730 5135 M +45 2547 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] calling in inverted commas

2014-04-11 Thread arun
Hi, I noticed some special characters after sending. It should be: toreplace <- gsub(".*\\.pl\\?(west\\=.*south=.*)\\¶ms.*","\\1",Url1) end <- gsub(".*south=.*(\\¶ms.*)","\\1",Url1) A.K. On Saturday, April 12, 2014 1:06 AM, arun wrote: HI, Not sure if this helps: df2 <- data.frame(Col1=c(68.

Re: [R] calling in inverted commas

2014-04-11 Thread arun
HI, Not sure if this helps: df2 <- data.frame(Col1=c(68.25, 68.75, 69.25), Col2=c(24.75, 25.25, 25.75)) Url1 <- "http://disc2.nascom.nasa.gov/daac-bin/Giovanni/tovas/Giovanni_cgi.pl?west=68.25&north=24.75&east=68.25&south=24.75¶ms=0%7C3B42_V7&plot_type=Time+Plot&byr=1998&bmo=01&bdy=1&eyr=2007&

[R] calling in inverted commas

2014-04-11 Thread eliza botto
Dear useRs, Here are three steps for downloading a file from a certain website in R. Here you see that in "URL" command (west=68.25&north=24.75&east=68.25&south=24.75) are actually the first and second column values of 1st row of a matrix called df2 (300 rows and 2 columns). more precisely, df2[