[R] How to export hexbin tables?

David Winsemius dwinsemius at comcast.net
Thu Mar 22 19:18:59 CET 2012


On Mar 22, 2012, at 12:31 PM, fco.pch wrote:

> Hi all!
> I'm trying to save an output of the HEXBIN process... is so much data
> (105k), and I need to export to an ASCII file.

?dump

> I tried to use:
> write.table() ----> Error in as.data.frame.default(x[[i]], optional  
> = TRUE)
> :
>  cannot coerce class 'structure("hexbin", package = "hexbin")' into a
> data.frame
>
> cat() ---> Error in cat(list(...), file, sep, fill, labels, append) :
>  argument 1 (type 'S4') cannot be handled by 'cat'
>
> write()
>
> ...but they didn't work  :/
> Please, somebody can help me?
>
> THANKS! Fco
>


David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list