[R] Cryptic error from stargazer
@@h|mk@poor @end|ng |rom gm@||@com
Thu Jun 8 07:51:40 CEST 2023
I had done an automatic upgrade of my Debian 10 system which had also
I reinstalled the stargazer package and the error went away.
Query : Do I need to reinstall all packages with each upgrade of R ?
On Thu, Jun 8, 2023 at 11:11 AM Ashim Kapoor <ashimkapoor using gmail.com> wrote:
> Dear All,
> Here is my reproducible example:
> > library(stargazer)
> Please cite as:
> Hlavac, Marek (2018). stargazer: Well-Formatted Regression and
> Summary Statistics Tables.
> R package version 5.2.2. https://CRAN.R-project.org/package=stargazer
> > x1=1:1000 ; y = 2 * x1+ rnorm(1000)
> > stargazer(lm(y~x1))
> Error in (.format.s.statistics.list != "p25") &&
> (.format.s.statistics.list != :
> 'length = 7' in coercion to 'logical(1)'
> The error returned is cryptic and I am not able to google and find the solution.
> Here is my sessionInfo:
> > sessionInfo()
> R version 4.3.0 (2023-04-21)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Debian GNU/Linux 10 (buster)
> Matrix products: default
> BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
> LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.3.5.so; LAPACK version 3.8.0
>  LC_CTYPE=en_IN LC_NUMERIC=C LC_TIME=en_IN
>  LC_COLLATE=en_IN LC_MONETARY=en_IN LC_MESSAGES=en_IN
>  LC_PAPER=en_IN LC_NAME=C LC_ADDRESS=C
>  LC_TELEPHONE=C LC_MEASUREMENT=en_IN LC_IDENTIFICATION=C
> time zone: Asia/Kolkata
> tzcode source: system (glibc)
> attached base packages:
>  stats graphics grDevices utils datasets methods base
> other attached packages:
>  stargazer_5.2.2
> loaded via a namespace (and not attached):
>  compiler_4.3.0
> Any help will be appreciated.
> Thank you,
More information about the R-help