Browse Source

Add explanatory text to the R example in Plotting Code

Thomas S. Dye 10 months ago
parent
commit
a8b9d67c94
1 changed files with 3 additions and 4 deletions
  1. 3 4
      library-of-babel.org

+ 3 - 4
library-of-babel.org

@@ -158,12 +158,14 @@ example usage
 Plot column 2 (y axis) against column 1 (x axis). Columns 3 and
 beyond, if present, are ignored.
 
+Running this code will create a file =Rplots.pdf= in the current working directory.
+
 #+name: R-plot
 #+begin_src R :var data=R-plot-example-data
 plot(data)
 #+end_src
 
-#+tblname: R-plot-example-data
+#+name: R-plot-example-data
 | 1 |  2 |
 | 2 |  4 |
 | 3 |  9 |
@@ -172,9 +174,6 @@ plot(data)
 
 #+call: R-plot(data=R-plot-example-data)
 
-#+resname: R-plot(data=R-plot-example-data)
-: nil
-
 ** Gnuplot
 
 * Org reference