DT: is there a way to display dataframe using r in google colab as interactive table?

Viewed 489

Are you aware of a "nice" way to display the dataframe in colab using R, preferably as an interactive table? I am trying the code below (which I typically use in rstudio) but it is not working in colab.

library(datasets)

data(iris)

library(DT)
DT::datatable(iris) #this typically displays a beautiful interactive html table, but not working with colab


#these display a simple table
View(iris)

fix(iris)

I did some search and looks like there is a nice way to display interactive table with filters in colab under python https://colab.research.google.com/notebooks/data_table.ipynb#scrollTo=jcQEX_3vHOUz

but I could not find anything similar for R. Do you have any suggestions?

Thank you

0 Answers
Related