I have a CSV file which contains a column of data in the following format %m/%d/%Y %H:%M:%S
. From reading on this site I believe the best solution is to use the read.zoo()
function.
I installed the zoo
package from the CRAN repository and load the zoo
package at the start of my script.
When I run the following code I get an
Error: could not find function "read.zoo"`
library(zoo)
DataSampler <- read.zoo("DataSampler.csv", tz = "", header = T,
format = '%m/%d/%Y %H:%M:%S')
Can anyone help me out and tell me why I am getting such an error?
I read the documentation regarding the zoo package but there is no reference to what packages and libraries are required.