Just figured out.. as.data.frame(as.matrix(<tabular_object>),stringsAsFactors=F)
could work! :) On Mon, Feb 22, 2016 at 12:17 PM, Santosh <santosh2...@gmail.com> wrote: > Dear Rxperts.. > I am able to generate tables using Tables R package.. > However, when I have been unsuccessful in using kable (from knitr package) > to generate the table in R markdown script.. > > It's because the output generated by "tabular" in Tables package is of > class "tabular". The kable function in knitr package accepts data.frame. > > Is there a way to convert the tabular class objects into data.frame > objects? > > Or is there a way that kable can accept "tabular" class object? > > > Thanks so much.. > Santosh > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.