Home > Mobile >  Data display problem with r language in jupyter-notebook
Data display problem with r language in jupyter-notebook

Time:12-22

View(flights)

Error in View(flights): 'View()' not yet supported in the Jupyter R kernel Traceback:

  1. View(flights)
  2. stop(sQuote("View()"), " not yet supported in the Jupyter R kernel")

I want to pull and display data in r language with jupyter-notebook, but I guess the notebook does not support opening all this data. Is there a solution for this?

CodePudding user response:

The View-function is not base R, but rather comes with Rstudio. As an alternative, you can use head from base R or glimpse from the tidyverse.

CodePudding user response:

The View() command opens a new window to display the data, which is not possible inside a notebook. Instead of using View() you can directly show the data using flights or something like head(flights).

  • Related