emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Installation of Org 8
Date: Tue, 04 Jun 2013 11:48:52 +0200	[thread overview]
Message-ID: <87li6q6waj.fsf@pank.eu> (raw)
In-Reply-To: loom.20130604T112115-204@post.gmane.org


Hi Sabre Wolfy,

> <rant>
> Please can someone point me to instructions to install Org 8? I've
> downloaded the tar.gz file and searched and tried several sets of
> instructions. The 'build instructions' are no help. Neither are the ELPA
> instructions. I'm on Kubuntu 13.04. The default org-mode is 7.9.something.
> I've purged that. I've done make and make install all and sudo make install
> all. I'm not interested in installing and learning git.

You can download a tarball of the latest version via cgit on the
Org-side.  I think there's even a link on the front page.  For a set
of instructions different from the official documentation see for
instance this PKGBUILD

https://aur.archlinux.org/packages/em/emacs-org-mode-git/PKGBUILD

Also, check org-version.  Mine says:
Org-mode version 8.0.3 (release_8.0.3-183-gca9937 @ /usr/share/emacs/site-lisp/org/)

> The reason I want to try 8 is that the instructions here:
>
> http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html
>
> about including output from R in ORG format to make nice HTML tables is not
> working. I get a "BEGIN_SRC org" instead of "BEGIN_ORG" or something. I
> thought it would be best to trouble-shoot this using the latest Org.
> </rant>

BEGIN_SRC org would seem OK, no?  My emacs -q won't even recognize
BEGIN_ORG. . .  I think it's an old syntax, but I could be wrong.

Here's an example for doing an R table.

#+NAME: R-tbl
#+BEGIN_SRC R :exports results :rownames yes :colnames yes
 a <- runif(100)
 c <- "Quantiles of 100 random numbers"
 b <- data.frame(quantile(a))
 colnames(b) <- "my quantiles"
 round(b,3)
#+END_SRC

Click C-c C-c on the code and you will get table [[tbl]].

#+NAME: tbl
#+CAPTION: my table
#+RESULTS: R-tbl
|      | my quantiles |
|------+--------------|
|   0% |        0.017 |
|  25% |        0.196 |
|  50% |        0.378 |
|  75% |        0.659 |
| 100% |        0.988 |


Which outputs this html that looks like this.

http://image.bayimg.com/8e90d3d4ab568959c791011dab7064b222a47003.jpg

Finding an option to add numbers to your table captions is left to
you.

Oh, and feel free to update the Worg side given your new-gained
knowledge.

–Rasmus

-- 
There are known knowns; there are things we know that we know.

  reply	other threads:[~2013-06-04  9:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-04  9:25 Installation of Org 8 SabreWolfy
2013-06-04  9:48 ` Rasmus [this message]
2013-06-04 10:16 ` Glyn Millington

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=87li6q6waj.fsf@pank.eu \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).