I keeep getting this error every time I try to run the stargazer function and I don't understand. I have uninstalled the package, installed it again, restarted R, uninstalled and installed R.
Error in .stargazer.wrap(..., type = type, title = title, style = style, : could not find function ".stargazer.wrap"
The strangest thing is that stargazer was initially working and then it suddenly started throwing this error, every time I run it, with any type of data. With or without data. An example of data that I have tried:
model <- lm(mpg ~ wt, data = mtcars) stargazer(model) Error in .stargazer.wrap(..., type = type, title = title, style = style, : could not find function ".stargazer.wrap" I have just realised that when running it like this it does work!
stargazer::stargazer(model, type='text') 5Related questions 27 Using stargazer with Rstudio and Knitr 1 Run R code inside stargazer function 5 Extending Stargazer Related questions 27 Using stargazer with Rstudio and Knitr 1 Run R code inside stargazer function 5 Extending Stargazer 7 Using stargazer for lfe and getting error 5 Understanding an error returned by stargazer in R 4 Stargazer producing various latex errors 2 Stargazer() does not fit the page 3 Stargazer error with polr in R 1 Stargazer Title Not Showing (Non-reproducible Error) 1 Stargazer for ARDL package's output: 'Error: Unrecognized object type' Load 7 more related questions Show fewer related questions
Reset to default