Stargazer output is code, not a table
问题 I am trying to use the package stargazer in RStudio to generate a summary table of my data. For some reason, I am not able to view the table in the output when I use either the html or latex code, but I can see it when I output as text. An example: library(stargazer) stargazer(attitude, type = 'text') Output looks like (as it is supposed to): ## ## ===================================== ## Statistic N Mean St. Dev. Min Max ## ------------------------------------- ## rating 30 64.633 12.173 40