Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No display for DT::datatable in Google Colab. No error either. #1025

Open
3 tasks done
rohitfarmer opened this issue Oct 14, 2022 · 0 comments
Open
3 tasks done

No display for DT::datatable in Google Colab. No error either. #1025

rohitfarmer opened this issue Oct 14, 2022 · 0 comments

Comments

@rohitfarmer
Copy link

rohitfarmer commented Oct 14, 2022

Hi, I am working with an R runtime on Google Colab, and I am trying to display DT::datatable the way it works in a jupyter notebook. However, even though my code executes without an error, there is no display of the table. It is pushing the next cell to make space for the table, but still no display.

The code below works in a jupyter notebook but not on Google Colab.

library(DT)
DT::datatable(iris, options = list(pageLength = 5))

xfun::session_info('DT')

'R version 4.2.1 (2022-06-23)''Platform: x86_64-pc-linux-gnu (64-bit)''Running under: Ubuntu 18.04.6 LTS''''Locale:''  LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              ''  LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    ''  LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   ''  LC_PAPER=en_US.UTF-8       LC_NAME=C                 ''  LC_ADDRESS=C               LC_TELEPHONE=C            ''  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       ''''Package version:''  base64enc_0.1.3   crosstalk_1.2.0   digest_0.6.29     DT_0.25          ''  fastmap_1.1.0     graphics_4.2.1    grDevices_4.2.1   htmltools_0.5.3  ''  htmlwidgets_1.5.4 jquerylib_0.1.4   jsonlite_1.8.1    later_1.3.0      ''  lazyeval_0.2.2    magrittr_2.0.3    methods_4.2.1     promises_1.2.0.1 ''  R6_2.5.1          Rcpp_1.0.9        rlang_1.0.6       stats_4.2.1      ''  utils_4.2.1       yaml_2.3.5       '

Any suggestion would be helpful. Thanks!


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.name/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('DT'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/DT').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant