DT:有没有一种方法可以在Google Colab中使用R作为交互式表格来显示数据框?

时间:2020-09-24 01:27:47

标签: r dataframe google-colaboratory dt

您是否知道使用R(最好是作为交互式表格)在colab中显示数据框的“不错”的方式? 我正在尝试下面的代码(通常在rstudio中使用该代码),但在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)

我进行了一些搜索,看起来有一种不错的方法可以在python https://colab.research.google.com/notebooks/data_table.ipynb#scrollTo=jcQEX_3vHOUz下的colab中显示带有过滤器的交互式表格

但是我找不到与R类似的东西。您有什么建议吗?

谢谢

0 个答案:

没有答案