jupyter-notebook中r语言的数据显示问题
Data display problem with r language in jupyter-notebook
View(flights)
Error in View(flights): 'View()' not yet supported in the Jupyter R
kernel Traceback:
- View(flights)
- stop(sQuote("View()"), " not yet supported in the Jupyter R kernel")
想用jupyter-notebook拉取显示r语言的数据,估计notebook不支持打开所有这些数据。有解决办法吗?
View
-函数不是基础 R,而是 Rstudio 自带的。作为替代方案,您可以使用 base R 中的 head
或 tidyverse 中的 glimpse
。
View()
命令打开一个新的window 来显示数据,这在笔记本中是不可能的。
您可以使用 flights
或类似 head(flights)
.
的方式直接显示数据,而不是使用 View()
View(flights)
Error in View(flights): 'View()' not yet supported in the Jupyter R kernel Traceback:
- View(flights)
- stop(sQuote("View()"), " not yet supported in the Jupyter R kernel")
想用jupyter-notebook拉取显示r语言的数据,估计notebook不支持打开所有这些数据。有解决办法吗?
View
-函数不是基础 R,而是 Rstudio 自带的。作为替代方案,您可以使用 base R 中的 head
或 tidyverse 中的 glimpse
。
View()
命令打开一个新的window 来显示数据,这在笔记本中是不可能的。
您可以使用 flights
或类似 head(flights)
.
View()