I am using Stargazer to report the results from some models where I use robust standard errors. The process of calculating these and then feeding the models to Stargazer st
One workaround is to save the output of stargazer in a variable, then write it to file afterwards:
star = stargazer(fit1_robust, fit2_robust, add.lines = list(c("Adjusted $R^2$", fit1_r2, fit2_r2)) ) cat(star, sep = '\n', file = 'Test.tex')