0

I generated a data table

require(data.table)
DT <- data.table(
ID =c("b","b","b","a","a","c"),
a= 1:6,
b= 7:12,
c=13:18)
DT

The DT is shown in Environment. But print(DT) does not give an result in the console and class(DT) does not respond. View(DT) shows the generated table. Same is with a data table downloaded from the internet. I checked R-Studio and could not find any wrong settings.

Phil
  • 7,287
  • 3
  • 36
  • 66
AloesR2512
  • 11
  • 4
  • 3
    Can you try on a fresh R session – akrun Sep 19 '22 at 20:07
  • 1
    Just a guess, but don't use `require`, use `library` instead. If `require(data.table)` does not find the package, it just returns `FALSE` which does not look bad or alarming. See https://stackoverflow.com/a/51263513/3358272, https://yihui.org/en/2014/07/library-vs-require/, https://r-pkgs.org/namespace.html#search-path – r2evans Sep 19 '22 at 20:29

1 Answers1

-2

I'm not sure can you try this from setting.

enter image description here

cat cat
  • 85
  • 5
  • 2
    Maybe I'm missing something, but what in the question suggests the OP is attempting to render a notebook? – r2evans Sep 19 '22 at 21:31