R is an open source programming language and software environment for statistical computing and graphics. It is an implementation of the S programming language combined with lexical scoping semantics inspired by Scheme.
2
votes
2answers
130 views
Modifying the latex code from tabular() in r so that output is not cut off and is displayed properly?
I am using the r function tabular() to produce tables that I can turn into pdfs. The output looks fine, except for some of the tables I am producing. When I compile the pdfs, the table is cutoff on ...
3
votes
1answer
180 views
How use LaTeX counters to label knitr code chunks?
Imagine one has the LaTeX environments Example and Solution defined from the theorem environment. I have several Examples in numerous child documents which make up a book. LaTeX will automagically ...
2
votes
0answers
62 views
Long and rescaled xtable
Is there a way to use scalebox along with tabular.environment='longtable' when printing a long and wide xtable?
When I give both of them I get an error:
Running xelatex.exe on my_file.tex...failed
2
votes
0answers
67 views
Highlight R chunks in a Knitr document when working in Kile
When working on a knitr document in kile I can get highlights for the LaTeX parts of the document by adding the *.Rnw file extension in the Modes & Filetypes tab under Open/save configuration ...
2
votes
0answers
91 views
Sweave Float environment over 2 pages
I have a bit of Sweave code as such:
<<label = Example1, echo= true>>=
//Bunch of R Code
@
I've tried putting it in my own float environment like so
\newfloat{rcode}{h!}{rcode}
...
1
vote
0answers
68 views
Doodle on top of Sweave output
It might not be possible to do this, but I was wondering if there is a way to doodle on top of the LaTeX output, or in my case on top of Sweave output.
See example underneath!!
...
1
vote
0answers
164 views
knitr : Figure are not appearing at the correct place
I'm trying to use knitr while learning LaTeX but all my figures are placed at a seemingly random place.
It's driving me insane. Any ideas?
Example Input
PDF Output
I tried reinstalling TeX Live ...
0
votes
0answers
12 views
Citations not working in Sweave
I am trying to run this Sweave code in R.
\documentclass{article}
\begin{document}
\SweaveOpts{concordance=TRUE}
\section{Section}
I am citing \cite{ftest}.
\begin{thebibliography}{9}
...
0
votes
0answers
70 views
Using Notepad++ with MiKTeX and R (sweave) on Windows
This link provides a great tutorial on Using Notepad++ with MiKTeX on Windows I wish to extend this to run a combinationR and LaTeX using Notepad++ (sweave). I ran run R from Notepad++. I can run ...