# Tag Info

2

You can try other ways of exporting R objects to latex like xtable package. It has a lot more options and gives more control over the type of table exported. A small example : to specify the digits in the statistics reported, xtable(sumStats, digits = 2) and can specify floating environments like longtable etc. Please see documentation and gallery for ...

0

I had the same question, and I managed to fix it following this recommendation at least for latextools, it may be the same for latexing. /R/Main.sublime-menu file has to be edited: (which in Ubuntu is in: ~/.config/sublime-text-3/Packages/SublimeREPL/config/R/Main.sublime-menu) and the additional scope has to be modified in this way: "additional_scopes": ...

5

The listings package categorizes characters in three ways: letter, digit, and other. The R language for listings, whose definition can be found in lstdvrs.dtx, is defined in such a way as to treat periods as other: \lst@definelanguage{R}% %... alsoother={._\$},% %... }% However, as I understand it, in R, a period (.) can be used in identifiers ...

0

This isn't the answer to the original post, but I came here Googling for "Longtable misplaced noalign" so my eventual solution might be useful for someone. In my case I needed a \\ after the \caption and \label. This seems incredibly counterintuitive to me so if anyone can explain why or tell me where this is documented I'd be grateful. ...

1

I have a package called printr, which has not been published to CRAN but might be useful to you. See its vignette for more information. Note you need to install the development versions of knitr and printr from Github. Here is a preview of results from R Markdown, and it should not make a difference if you use it .Rnw documents. The positions of x and y may ...

Top 50 recent answers are included