Question: would it be better if the contents list of the unzip() function
returned the filenames as character rather than factor since they are
probably unique strings?

> tmp <- unzip(fnam, list=TRUE)
> str(tmp)
'data.frame':   31 obs. of  3 variables:
 $ Name  : Factor w/ 31 levels "fred1.csv",..: 1 2 3 4 5 6 7 8 9 10 ...
 $ Length: num  424486 2664277 219798 442383 480857 ...
 $ Date  : POSIXct, format: "2012-12-01 04:05:00" "2012-12-02 04:06:00"
"2012-12-03 04:45:00" "2012-12-04 03:52:00" ...

thanks,
Sean

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to