g]]")
print("[[./hist2.png]]")
#+end_src
thanks!
On Fri, Jun 7, 2024 at 11:18 AM Ihor Radchenko wrote:
> Giuseppe Pagnoni writes:
>
> > Sorry, I just sent you the reply that was meant for Berry's advice :-).
> > Your suggestion also looks very usef
Same... no file gets written...
On Fri, Jun 7, 2024 at 11:18 AM Ihor Radchenko wrote:
> Giuseppe Pagnoni writes:
>
> > Sorry, I just sent you the reply that was meant for Berry's advice :-).
> > Your suggestion also looks very useful, but somehow the png files do no
pe to jpeg). Any idea why?
thanks again
giuseppe
On Wed, Jun 5, 2024 at 8:35 PM Ihor Radchenko wrote:
> Giuseppe Pagnoni writes:
>
> > #+begin_src R :file example.png :results output graphics file
> > x <- rnorm(100)
> > print(mean(x))
> > hist(x)
>
Many thanks. Since I am using this within an org-mode notebook, I think
the :session trick works well enough for me.
best
giuseppe
On Wed, Jun 5, 2024 at 8:35 PM Ihor Radchenko wrote:
> Giuseppe Pagnoni writes:
>
> > #+begin_src R :file example.png :results output graphics
n_src R :file example.png :results output graphics file
x <- rnorm(100)
print(mean(x))
hist(x)
hist(x^2)
#+end_src
Here, only the last plot gets displayed. Is it not possible to display
more than 1 plot?
many thanks in advance for any help
giuseppe
--
Giuseppe Pagnoni
Dip. Scienze Biomedich
good tip, thanks!
giuseppe
have
no idea why you need to do that in order to have org-mode recognize
that it should use a code syntax, but it works.
thanks for all your help!
best
giuseppe
--
Giuseppe Pagnoni
Dip. Scienze Biomediche, Metaboliche e Neuroscienze
Sezione Fisiologia e Neuroscienze
Univ. di Modena e Reggio E
actually preserved (and the text printed verbatim) when
*exporting* to formats such as LaTeX or HTML, but they are *not*
displayed verbatim within the Emacs GUI. Unless I am missing
something obvious here...
thanks again
giuseppe
--
Giuseppe Pagnoni
Dip. Scienze Biomediche, Metaboliche e Neuroscienze
Hi all,
I use org-mode for taking notes and I often need to jot down code
examples. In the language R, subscription is often done with double
square brackets (for instance, I can extract the 2nd element of a
`list' object x with the code: x[[2]]). Now, I haven't been able to
write such example c