Displaying 2 results from an estimated 2 matches for "writecsvits".
2004 Aug 27
2
`its' questions
...T)
print(x2)
str(x1) # works
But here it breaks --
> str(x2)
Error in object[1:ile] : subscript out of bounds
Problem 2: I try to write an its out and read it back in, but the two
don't seem to be conformable for matrix subtraction.
# Let's try writing and reading --
writecsvIts(x1, filename="/tmp/try.1")
y <- its(readcsvIts(filename="/tmp/try.1"))
print(y)
print(x1)
But this breaks --
> y-x1
Error in y - x1 : dates must match
(But they are identical, as the print commands show. x1 was written
out and read back into y).
Problem 3: Ho...
2004 Aug 25
1
Difficulties in starting up with its package
...00-01-10", 1:30, ncol=3,
extract=T, weekday=T)
print(x2)
Now I get into trouble --
str(x1) # works
str(x2) # BREAKS
For the str(x2) it says "Error in object[1:ile] : subscript out of bounds"
Is this a bug?
I try to go on.
# Let's try writing and reading --
writecsvIts(x1, filename="/tmp/try.1")
y <- its(readcsvIts(filename="/tmp/try.1"))
print(y) # looks fine
print(x1) # looks fine
y-x1 # BREAKS
For the "y-x1" command, he says "Error in y - x1 : dates must match".
But when I look at y and x1, the...