tables in R show up as text #4108
tables in R show up as text #4108

see https://cran.r-project.org/doc/manuals/R-lang.html#Classes

R has an elaborate class system1, principally controlled via the class attribute. This attribute is a character vector containing the list of classes that an object inherits from. This forms the basis of the “generic methods” functionality in R.

in this case code ' else if (class(val) == "data.frame") {' doesn't accepted because class(val)  returns vercor  "tbl_df"     "tbl"        "data.frame".

I have used ''data.frame' %in% class(val)'

ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook