Re: [R] Downloading file with lapply

2010-10-15 Thread Santosh Srinivas
Thx. -Original Message- From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Sent: 15 October 2010 13:11 To: Santosh Srinivas Cc: r-help@r-project.org Subject: Re: [R] Downloading file with lapply On 15.10.2010 09:19, Santosh Srinivas wrote: > I'm still getting famil

Re: [R] Downloading file with lapply

2010-10-15 Thread Uwe Ligges
On 15.10.2010 09:19, Santosh Srinivas wrote: I'm still getting familiar with lapply I have this date sequence x<- seq(as.Date("01-Jan-2010",format="%d-%b-%Y"), Sys.Date(), by=1) #to generate series of dates I want to apply the function for all values of x . so I use lapply (Still a newbie!) I

[R] Downloading file with lapply

2010-10-15 Thread Santosh Srinivas
I'm still getting familiar with lapply I have this date sequence x <- seq(as.Date("01-Jan-2010",format="%d-%b-%Y"), Sys.Date(), by=1) #to generate series of dates I want to apply the function for all values of x . so I use lapply (Still a newbie!) I wrote this test function pFun <- function (x) {