3

Attempting to use SummaryTools on my work PC (Windows). I am trying to run dfSummary() but the only output i get is the HTML code in the console.

I do not have issue using this library on my personal Mac, so i assume this might have something to do with how R is installed but there is no one to help troubleshot this from IT.

Previous related topics have suggest instead of dfSummary(iris)

to use:

print(dfSummary(iris),method='render')

Neither method works

library(summarytools) dfSummary(iris) print(dfSummary(iris),method='render')

Actual output should include pretty graphs and tables. Similar to what is found here:

https://cran.r-project.org/web/packages/summarytools/vignettes/Introduction.html

Dominic Comtois
  • 10,230
  • 1
  • 39
  • 61
  • 4
    How about `view(dfSummary(iris))`? That saves an html file to your computer (I'm on Windows 10) and prints the table to RStudio's viewer (if you're using RStudio). – Greg Sep 06 '19 at 20:32
  • OMG Thank you so much Greg!!!!! This was so simple and worked perfectly – Jenna Davis Sep 09 '19 at 15:19
  • 1
    Note that the `view()` function exists in other packages, so in order to avoid conflicts, you can also use summarytools' `stview()` function which is a shortcut for `summarytools::view()` – Dominic Comtois Jan 29 '21 at 02:00

0 Answers0