dcolumn not available. Solution or alternative (for use with texreg)?

I would like to use dcolumn to align table columns in a texreg output, as recommended in the user guide for texreg.

However, dcolumn seems not available for the current version of R:

> install.packages("dcolumn")
Warning in install.packages :
package ‘dcolumn’ is not available (for R version 3.4.3) 

Any solution/recommendation for an alternative approach? (Tables will be compiled with knitr in RStudio.)

Asked By: cibr

Answer #1:

dcolumn is not an R package (CRAN) but it is a LaTex package (CTAN). Have you tried calling the dcolumn package in your markdown file?

here example with beamer:

How can I use latex packages in R markdown beamer?

Answered By: CZucca
The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

# More Articles