Hi

I have the attached org file.

It seems that when exporting to a pdf, the :session argument is ignored, as I get a
Org-Babel Error Output buffer with:
Error: object 'x' not found
Execution halted

and an Org-Babel Error buffer with the same text, and the resulting pdf does only show the code..

HTML export, works as expected.

If I put :session *R_test* behind #+begin_src (R2.org) it works.

Cheers,

Rainer

--
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          Rainer@krugs.de

Skype:          RMkrug
Google:         R.M.Krug@gmail.com