Hee TS,
So I integrate my tex documents with R without Sweave cause Sweave really really really doesn't make your documents any easier to read... also you really don't need it to have it's functionality - so I would love a sweave free solution.
So here is an example document;
With a parallel R-script
Only problem is that it always leaves a trailing space... e.g. (-1.234567 ). Anybody got an idea on how to remove this trailing space?
Thanks for any input you may have,
TE
So I integrate my tex documents with R without Sweave cause Sweave really really really doesn't make your documents any easier to read... also you really don't need it to have it's functionality - so I would love a sweave free solution.
So here is an example document;
Code:
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
This is my random number (\input{temp.txt})
\end{document}
Code:
write(rnorm(1),"temp.txt")
Thanks for any input you may have,
TE