Hi, I'm new of these list and of the org-babel world. I need to use both LaTeX and R, so I write the R code within an src block: #+begin_src R :results output silent :exports none library(chemometrics) library(MASS) library(lattice) #+end_src When I export to LaTex (C-c C-e l) the R code I wrote, this is the result: \begin{verbatim} library(chemometrics) library(MASS) library(lattice) \end{verbatim} How could I not display the result of the R computation? In the org- manual (chapter 14 ) I read that what I need should be done using: :results output silent :exports none but despite I use this option nothing change. Do you have any suggestion?? Best Riccardo
Riccardo Romoli <ric.romoli@gmail.com> writes: > Hi, I'm new of these list and of the org-babel world. > I need to use both LaTeX and R, so I write the R code within an src > block: > > #+begin_src R :results output silent :exports none > library(chemometrics) > library(MASS) > library(lattice) > #+end_src > > When I export to LaTex (C-c C-e l) the R code I wrote, this is the > result: > > \begin{verbatim} > library(chemometrics) > library(MASS) > library(lattice) > \end{verbatim} > > How could I not display the result of the R computation? In the org- > manual (chapter 14 ) I read that what I need should be done using: > > :results output silent :exports none > > but despite I use this option nothing change. > > Do you have any suggestion?? > > Best > Riccardo > > Aloha Riccardo, What version of Org mode are you using? All the best, Tom -- Thomas S. Dye http://www.tsdye.com
[-- Attachment #1: Type: text/plain, Size: 1045 bytes --] The version is 6.33x Best 2012/2/3 Thomas S. Dye <tsd@tsdye.com> > Riccardo Romoli <ric.romoli@gmail.com> writes: > > > Hi, I'm new of these list and of the org-babel world. > > I need to use both LaTeX and R, so I write the R code within an src > > block: > > > > #+begin_src R :results output silent :exports none > > library(chemometrics) > > library(MASS) > > library(lattice) > > #+end_src > > > > When I export to LaTex (C-c C-e l) the R code I wrote, this is the > > result: > > > > \begin{verbatim} > > library(chemometrics) > > library(MASS) > > library(lattice) > > \end{verbatim} > > > > How could I not display the result of the R computation? In the org- > > manual (chapter 14 ) I read that what I need should be done using: > > > > :results output silent :exports none > > > > but despite I use this option nothing change. > > > > Do you have any suggestion?? > > > > Best > > Riccardo > > > > > Aloha Riccardo, > > What version of Org mode are you using? > > All the best, > Tom > -- > Thomas S. Dye > http://www.tsdye.com > [-- Attachment #2: Type: text/html, Size: 1711 bytes --]
On Fri, Feb 3, 2012 at 12:43, Riccardo Romoli <ric.romoli@gmail.com> wrote: > The version is 6.33x That is way too old, I believe org-babel is a much newer feature. At least its more mature now. Try one of the newer releases like 7.8.03. <http://orgmode.org/w/?p=org-mode.git;a=commit;h=2b3534a81f6f4c925f55ed7aaec31ead6f400577> -- Suvayu Open source is the future. It sets us free.
[-- Attachment #1: Type: text/plain, Size: 1238 bytes --] The current version is 7.8. Could you update and see if the problem persists? Tom Sent from my iPhone On Feb 3, 2012, at 1:43 AM, Riccardo Romoli <ric.romoli@gmail.com> wrote: > The version is 6.33x > > Best > > 2012/2/3 Thomas S. Dye <tsd@tsdye.com> > Riccardo Romoli <ric.romoli@gmail.com> writes: > > > Hi, I'm new of these list and of the org-babel world. > > I need to use both LaTeX and R, so I write the R code within an src > > block: > > > > #+begin_src R :results output silent :exports none > > library(chemometrics) > > library(MASS) > > library(lattice) > > #+end_src > > > > When I export to LaTex (C-c C-e l) the R code I wrote, this is the > > result: > > > > \begin{verbatim} > > library(chemometrics) > > library(MASS) > > library(lattice) > > \end{verbatim} > > > > How could I not display the result of the R computation? In the org- > > manual (chapter 14 ) I read that what I need should be done using: > > > > :results output silent :exports none > > > > but despite I use this option nothing change. > > > > Do you have any suggestion?? > > > > Best > > Riccardo > > > > > Aloha Riccardo, > > What version of Org mode are you using? > > All the best, > Tom > -- > Thomas S. Dye > http://www.tsdye.com > [-- Attachment #2: Type: text/html, Size: 2071 bytes --]
[-- Attachment #1: Type: text/plain, Size: 1406 bytes --] Thanks for the suggestion, the update fix the problem. Best Riccardo 2012/2/3 Thomas S. Dye <tsd@tsdye.com> > The current version is 7.8. Could you update and see if the problem > persists? > > Tom > > Sent from my iPhone > > On Feb 3, 2012, at 1:43 AM, Riccardo Romoli <ric.romoli@gmail.com> wrote: > > The version is 6.33x > > Best > > 2012/2/3 Thomas S. Dye <tsd@tsdye.com> > >> Riccardo Romoli <ric.romoli@gmail.com> writes: >> >> > Hi, I'm new of these list and of the org-babel world. >> > I need to use both LaTeX and R, so I write the R code within an src >> > block: >> > >> > #+begin_src R :results output silent :exports none >> > library(chemometrics) >> > library(MASS) >> > library(lattice) >> > #+end_src >> > >> > When I export to LaTex (C-c C-e l) the R code I wrote, this is the >> > result: >> > >> > \begin{verbatim} >> > library(chemometrics) >> > library(MASS) >> > library(lattice) >> > \end{verbatim} >> > >> > How could I not display the result of the R computation? In the org- >> > manual (chapter 14 ) I read that what I need should be done using: >> > >> > :results output silent :exports none >> > >> > but despite I use this option nothing change. >> > >> > Do you have any suggestion?? >> > >> > Best >> > Riccardo >> > >> > >> Aloha Riccardo, >> >> What version of Org mode are you using? >> >> All the best, >> Tom >> -- >> Thomas S. Dye >> http://www.tsdye.com >> > > [-- Attachment #2: Type: text/html, Size: 2474 bytes --]