Skip to main content
Became Hot Network Question
#+TBLNAME is deprecated since Org 8: use #+NAME.
Source Link
NickD
  • 33.6k
  • 3
  • 30
  • 47

I'd like to be able to plot in an orgbabel chunk these data I have in a org-table:

#+TBLNAME#+NAME:amount
| date             | amount
|------------------+--------|
| <2022-01-30 Sun> |   55.1 | 
| <2022-01-31 Mon> |   54.7 |
| <2022-02-01 Tue> |   54.5 |
| <2022-02-02 Wed> |   55.1 |
| <2022-02-03 Thu> |   54.2 |
| <2022-02-04 Fri> |   54.1 |
| <2022-02-05 Sat> |   53.9 |
| <2022-02-06 Sun> |   54.1 |

The idea is to use these data in a R block and plot amount (y axis) as a function of date (x axis):

#+BEGIN_SRC R 
#+END_SRC

How to reference the data?

Thanks!

I'd like to be able to plot in an orgbabel chunk these data I have in a org-table:

#+TBLNAME:amount
| date             | amount
|------------------+--------|
| <2022-01-30 Sun> |   55.1 | 
| <2022-01-31 Mon> |   54.7 |
| <2022-02-01 Tue> |   54.5 |
| <2022-02-02 Wed> |   55.1 |
| <2022-02-03 Thu> |   54.2 |
| <2022-02-04 Fri> |   54.1 |
| <2022-02-05 Sat> |   53.9 |
| <2022-02-06 Sun> |   54.1 |

The idea is to use these data in a R block and plot amount (y axis) as a function of date (x axis):

#+BEGIN_SRC R 
#+END_SRC

How to reference the data?

Thanks!

I'd like to be able to plot in an orgbabel chunk these data I have in a org-table:

#+NAME:amount
| date             | amount
|------------------+--------|
| <2022-01-30 Sun> |   55.1 | 
| <2022-01-31 Mon> |   54.7 |
| <2022-02-01 Tue> |   54.5 |
| <2022-02-02 Wed> |   55.1 |
| <2022-02-03 Thu> |   54.2 |
| <2022-02-04 Fri> |   54.1 |
| <2022-02-05 Sat> |   53.9 |
| <2022-02-06 Sun> |   54.1 |

The idea is to use these data in a R block and plot amount (y axis) as a function of date (x axis):

#+BEGIN_SRC R 
#+END_SRC

How to reference the data?

Thanks!

Source Link

Using org-table data for R block

I'd like to be able to plot in an orgbabel chunk these data I have in a org-table:

#+TBLNAME:amount
| date             | amount
|------------------+--------|
| <2022-01-30 Sun> |   55.1 | 
| <2022-01-31 Mon> |   54.7 |
| <2022-02-01 Tue> |   54.5 |
| <2022-02-02 Wed> |   55.1 |
| <2022-02-03 Thu> |   54.2 |
| <2022-02-04 Fri> |   54.1 |
| <2022-02-05 Sat> |   53.9 |
| <2022-02-06 Sun> |   54.1 |

The idea is to use these data in a R block and plot amount (y axis) as a function of date (x axis):

#+BEGIN_SRC R 
#+END_SRC

How to reference the data?

Thanks!