0

I m trying to run basic summary() function with r notebook. When ı run the code, its works properly and ı can see code and output on the console but when ı look at the preview I can just see code and output of summary function does not display

And a screenshot:enter image description here

enter image description here

Anyone knows how I can solve this problem? Thank you

Ozgur Alptekın
  • 505
  • 6
  • 19
  • Try to click "Run all" from the drop down menu in the top right corner. Does this help? I've the impression that sometimes RStudio doesn't caches the outputs correctly – starja Sep 17 '20 at 17:28
  • If you knit to HTML once, the preview will work afterwards. Preview doesn't recalculate the whole document but uses already evaluated cache. – Waldi Sep 17 '20 at 17:30
  • I did what u both said but still does not work.Neither on preview nor on knit to html – Ozgur Alptekın Sep 17 '20 at 19:02
  • Click on the gear icon next to the green arrow, this gives you some options for output, play with those and see if anything works. Also maybe try creating a new notebook in a new directory and see if that works – Daniel_j_iii Sep 21 '20 at 18:41

0 Answers0