Displaying 1 result from an estimated 1 matches for "cmdownfun".
2010 Oct 15
1
Downloading file with lapply
...uot;,x,sep=""))
}
When I run it:
> lapply(x,pFun(x))
It gives the result correctly.. but end with an error
Error in match.fun(FUN) :
'pFun(x)' is not a function, character or symbol
Question 1: What is the issue here??
Now, to the real problem. I wrote a function to cmDownFun(sDate)which is
working correctly
If I do cmDownFun (x[6]) .. it works correctly .. (i.e. my function was ok
this time around!)
Hoewever if I do, lapply (x,cmDownFun(x))
It fails at 01-Jan-2010 .... this is because of: HTTP status was '404 Not
Found'
This is OK, because the file does not e...