Here you will find daily news and tutorials about R, contributed by over 750 bloggers.
There are many ways to follow us - By e-mail:On Facebook: If you are an R blogger yourself you are invited to add your own R content feed to this site (Non-English R bloggers should add themselves- here)

(This article was first published on is.R(), and kindly contributed to R-bloggers)

Oftentimes you might be writing in LaTeX and trying to push your results from R into your .tex file. This, at times, can be very frustrating. Luckily, there’s apsrtable, an R package that automatically produces the LaTeX code for your R model objects. The code below is relatively self-explanatory, and the package manual will help. To get the tables to compile in TeX, use \usepackage{dcolumn}

After a simple call of:

apsrtable( models you want tables of, OPTS) you can copy/paste the LaTeX code right from the R console into your TeX editor. Enjoy:

One of the options to improve the tables is to specify the names for the coefficients in your model; you can also specify the threshold for where stars are displayed: