简体   繁体   中英

How to handle R kernel tibble in Jupyter lab .ipynb file to display limited row results?

I am trying using R Kernel in jupyter lab and getting 1000's of rows or more displaying when results are tibble, this makes my browser crash sometimes.

How do i limit these so that it doesn't make my browser crash and works as smoothly as in Rstudio?

I am using below versions:

jupyter lab: Version 2.2.6

R: R version 4.0.3

在此处输入图像描述

Not exactly a proper solution but a way around that I tried is to pipe the results to print and mention number of rows there: validaton_splits %>% print(n=1) .

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM