Displaying 2 results from an estimated 2 matches for "foodat".
Did you mean:
foodata
2008 Mar 20
3
Problem with diff(strptime(...
...[1] NA 0.9993155 1.0020534 0.8323066 1.0841889 0.9993155
1.1690623
[8] 0.8131417 2.0177960 2.8390372
There have been a few messages about this problem, but apparently no
solution. The problem can be seen with these examples (I haven't
included the real data as it is not mine):
foodate<-c("1/7/1991","1/8/1991","1/8/1991","3/8/1991")
as.numeric(diff(strptime(foodate,"%d/%m/%Y"))/365.25)
[1] 7333.0595 0.0000 473.1006
foodate<-factor(c("1/7/1991","1/8/1991","1/8/1991","3/8/1991"))
a...
2018 Mar 18
0
rdwd package error: invalid file argument raised by readDWD
...low:
library(rdwd)
ftpURL <- selectDWD(name = "", exactmatch = TRUE,
res="monthly",
var="kl", per="historical", current = TRUE)
ftpFile <- dataDWD(file = ftpURL, dir = "stella/input/",sleep = 0)
> fooDat <- readDWD(ftpFile,
+ meta = substr(ftpFile, nchar(ftpFile) - 3, 10000) ==
".txt",
+ fread = FALSE, minfo = FALSE, format = NA, tz = "GMT",
+ progbar = TRUE)
*Error in file.exists(file) : invalid 'file' argument*...