Hi,

I was trying like to print out data frame with POSIXct column
in html format using xtable package, but I got error message
when trying to print the table. Here is example:

  aaa<-data.frame(as.POSIXct(strptime('03 2005', '%d %Y')),0)
  aaa.tab<-xtable(aaa)
  print(aaa.tab)

  Error in Math.POSIXt(x + ifelse(x == 0, 1, 0)) :
          abs not defined for POSIXt objects

I was able to get around the problem with converting column 
back to string but still I would like to know is it a bug or 
I was doing something wrong. 

thanks,

-- 
Miha Razinger
Environmental Agency of Slovenia
Office of Meteorology

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to