Hello,
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
Graphics, Figures & Tables ⇒ Obtain table in Latex from .DAT files through .R and .RNW
-
- Posts: 4
- Joined: Tue Jul 15, 2014 10:14 am
NEW: TikZ book now 40% off at Amazon.com for a short time.

- 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
If you already have dat-files (i assume/hope pure text files?) you can easily do that with pgfplots/pgfplotstable.
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.
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.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.