emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [org-babel R] Difference between output in RStudio and in Org Babel
Date: Wed, 10 Dec 2014 16:04:49 +0100	[thread overview]
Message-ID: <86h9x3r1f2.fsf@example.com> (raw)


I have yet another [1] code chunk that produces very different results
whether it's executed in RStudio or in an Org document.

Here is the code:

#+begin_src R :results value replace :rownames yes :colnames yes
  df.str <- '"liste","nb"
  df <- read.csv(text=df.str, header = TRUE)
  row.names(df) <- c("abc", "def")

See http://screencast.com/t/qlUVYCoLUZWA for a diff between Org Babel
and RStudio.

Of course, the problem comes from \n being interpreted as a newline, but
who's right here?

Best regards,

[1] https://lists.gnu.org/archive/html/emacs-orgmode/2014-10/msg00707.html

Sebastien Vauban

             reply	other threads:[~2014-12-10 15:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10 15:04 Sebastien Vauban [this message]
     [not found] ` <87r3w7462j.fsf@gmail.com>
     [not found]   ` <86y4qfgqzr.fsf_-_@example.com>
2014-12-10 21:36     ` [org-babel R] Difference between output in RStudio and in Org Babel Aaron Ecay

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:

  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=86h9x3r1f2.fsf@example.com \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \


* 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


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).