** foo org
   :session:  *R*
   :DATE:     2010-06-16
Figure \ref{fig:one} (p. \pageref{fig:one}) is produced by the following code
plot(x, y)
Note that =x=, =y=, and =out1= are remembered from the preceding code
chunk.  We don't have to regenerate them.  All code chunks are part of
one R "session".
and more stuff here and then the results
#+attr_latex: width=0.8\textwidth,placement=[p]
#+label: fig:one
#+caption: Scatter Plot with Regression Line