# Data and Variables from Tables

5 messages
Open this post in threaded view
|

## Data and Variables from Tables

 I have an org-mode table with the following structure that I am pulling into an R data.frame, using the sfsmisc package and using xtable to print in org-mode | Symbol | Value | Units               | |----------+-------+-------------------| | A             |         1 | kg/hr                    | | \beta    |         2 | \frac{m^3}{hr} | | G            |     .25 | in                           | This all works well and looks great. What I am trying to do is use this to generate variables for programming as well.  For example, when processed I would have the following variables: A <- 1 beta <- 2 G <- .25 Has anyone done something like this or can someone point me in the right direction to do this? Shawn Way     ______________________________________________ [hidden email] mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.