emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: [babel] R questions
Date: Tue, 08 Dec 2009 11:26:44 -0500	[thread overview]
Message-ID: <87aaxt77p7.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <87bpi9aish.fsf@mundaneum.com> ("Sébastien Vauban"'s message of "Tue, 08 Dec 2009 10:58:54 +0100")

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:

> Hi Dan and Eric,
>
> I have a side question, but I think this is of general interest for others as
> well.
>
> I almost don't know GnuPlot neither R -- yes, before seeing the light, I used
> Excel for all my graphs.
>
> So, my question is: for typical small plots (piecharts and barplots), is there
> any Org-babel reason that would advocate for doing it in one of the two above
> language preferably than in the other one?

> Reasons could be better integration (for editing or (re-)generating the
> graphs), simpler semantics (with NA values, for example), etc.

Org-babel wants to support both languages as well as possible. So there
is no such purely org-babel reason; or if there is, there shouldn't be,
so tell us about it and we'll try to fix it.

With respect to graphics, I'm sure that each one has things it can do
better than the other (e.g. I get the impression that gnuplot is better
for "3D" graphics).

But yes, if there was someone who (a) didn't know either language, and
(b) were limited in the amount of time they could devote to learning
computer languages, and (c) thought they might one day have some use for
some of the things that R can do and gnuplot can't, then I would suggest
that they start using R over gnuplot.

R is a fully-featured programming language with a very large amount of
numerical/statistical/scientific procedures available. (2094 add-on
packages currently listed at http://cran.r-project.org/). One wouldn't
normally compare R with gnuplot; more appropriate comparisons might be
to the scientific libraries for python, perl and C++, and to things like
Excel, SAS, and Matlab, Mathematica (although R is not a symbolic
mathematics engine).

Dan

>
>
> Best regards,
>   Seb

  reply	other threads:[~2009-12-08 16:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-04 22:31 [babel] R questions Sébastien Vauban
2009-12-05  0:45 ` Dan Davison
2009-12-08  9:50   ` Sébastien Vauban
2009-12-08 16:00     ` Thomas S. Dye
2009-12-08 21:37       ` Sébastien Vauban
2009-12-08  9:58   ` Sébastien Vauban
2009-12-08 16:26     ` Dan Davison [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-12-08 22:40 Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aaxt77p7.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).