Graphics, Figures & Tables ⇒ Obtain table in Latex from .DAT files through .R and .RNW
-
- Posts: 4
- Joined: Tue Jul 15, 2014 10:14 am
Obtain table in Latex from .DAT files through .R and .RNW
In my job my boss is asking me to obtain automatically from a a .DAT file a table in latex.
I was doing some research on internet and this is what a found:
1st. Obtain a .R file ( I don't know if this .R file is obtained from .DAT, i think so... with package xtable)
2nd. Create a .RNW file from my .R
3th. Through Sweave function (in R) obtain a doc.tex and then finally the Latex doc.
Does anyone know about this subject???
Thank you.
Best regards
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Obtain table in Latex from .DAT files through .R and .RNW
Are you actually use R? If not, there is no use in learning it just to produce tabular material.
If you post an example, we could show you how to do that. But the package documentation can do so as well.