From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: R contingency table axes labels in org Date: Mon, 04 Nov 2013 18:05:51 +0200 Message-ID: <871u2wm9sw.fsf@syk.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdMfT-0004q9-B7 for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 11:06:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdMfM-00086R-0c for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 11:06:19 -0500 Received: from plane.gmane.org ([80.91.229.3]:32969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdMfL-00086D-Qj for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 11:06:11 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VdMfG-0003Ob-Kj for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 17:06:06 +0100 Received: from cs78160219.pp.htv.fi ([62.78.160.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 17:06:06 +0100 Received: from jarmo.hurri by cs78160219.pp.htv.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 17:06:06 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Greetings again. I need to represent a contingency table generated by R in an org file. R output shows the labes of the vertical and the horizontal axes, but these are pruned from the output in org-mode. Is there a nice way to reintroduce the axes labels? # ---------------------------------------------------------------------- * interesting data #+BEGIN_SRC R :exports results :rownames yes :colnames yes org.files <- c (1, 0, 2, 2, 2, 2, 1) happiness <- c (1, 0, 2, 2, 2, 1, 2) data <- data.frame (org.files, happiness) table (data) #+END_SRC #+RESULTS: | | 0 | 1 | 2 | |---+---+---+---| | 0 | 1 | 0 | 0 | | 1 | 0 | 1 | 1 | | 2 | 0 | 1 | 3 | # ---------------------------------------------------------------------- All the best, Jarmo