From: Andreas Kiermeier <andreas.kiermeier@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: R code block produces only partial output
Date: Tue, 5 Aug 2014 10:16:37 +0930 [thread overview]
Message-ID: <CAN7vk5S8aBgYjty54WTRLZ8FOwynBKa8aSNF5anTZ8njeYaTqg@mail.gmail.com> (raw)
In-Reply-To: <877g2oz9gv.fsf@gmail.com>
Hi Eric,
I'm running Org 8.2.7c (via ELPA) and ESS 14.05.
I've tried to run with a minimal Org setup using only the following in
my init file.
The shortcut I use to start Emacs (on Windows 8.1) is:
C:\emacs\bin\runemacs.exe -Q -l "C:\emacs\bin\minimal-org.el"
However, the results are the same as before. Any thoughts on what else
I could try?
---------
;;; Minimal setup to load latest `org-mode'
;; activate debugging
(setq debug-on-error t
debug-on-signal nil
debug-on-quit nil)
;; add latest org-mode to load path
(add-to-list 'load-path (expand-file-name
"C:/Users/andre_000/Documents/.emacs.d/elpa/org-20140804/"))
(add-to-list 'load-path (expand-file-name
"C:/Users/andre_000/Documents/.emacs.d/elpa/ess-20140716.2033/lisp/"))
(require 'ess-site)
(setq org-babel-R-command "C:/Progra~1/R/R-3.1.1/bin/x64/R --slave --no-save")
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . nil)
(R . t)))
--------
Thanks,
Andreas
--
Dr Andreas Kiermeier | Director
Statistical Process Improvement Consulting and Training Pty Ltd
Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com
Australia
On 4 August 2014 22:40, Eric Schulte <schulte.eric@gmail.com> wrote:
> Andreas Kiermeier <andreas.kiermeier@gmail.com> writes:
>
>> On 4 August 2014 21:23, Eric Schulte <schulte.eric@gmail.com> wrote:
>>> Why are you setting the output type to "graphics" when you are trying to
>>> return text? I think that may be the source of your problem.
>>
>> Hi Eric,
>> thanks for the quick response.
>> I've had 'graphics' from my main data analysis file ... I think I got
>> that from WORG.
>> I've removed it, reloaded the file, but same outcome.
>> Any other thoughts?
>> Cheers,
>> Andreas
>
> Hi Andreas,
>
> I can't reproduce your problem. I get the following from your minimal
> example when run in an Org-mode file, and from the command line. They
> are identical. Are you using the latest version of Org-mode?
>
> Best,
> Eric
>
>
> $ R
>
> R version 3.1.0 (2014-04-10) -- "Spring Dance"
> Copyright (C) 2014 The R Foundation for Statistical Computing
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
> Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> [Previously saved workspace restored]
>
>> x <- rnorm(100)
>> y <- quantile(x, probs=seq(0,1,0.1))
>> names(y) <- as.character(c("0",".1",".2",".3",".4",".5",".6",".7",".8",".9","1"))
>> y
> 0 .1 .2 .3 .4 .5
> -2.53624773 -1.30846042 -0.70659822 -0.43565010 -0.24318346 -0.01034625
> .6 .7 .8 .9 1
> 0.24125644 0.49945059 0.92032314 1.36423669 2.83357915
>>
>
>
> --
> Eric Schulte
> https://cs.unm.edu/~eschulte
> PGP: 0x614CA05D (see https://u.fsf.org/yw)
>
next prev parent reply other threads:[~2014-08-05 0:47 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 11:18 R code block produces only partial output Andreas Kiermeier
2014-08-04 11:53 ` Eric Schulte
2014-08-04 12:23 ` Andreas Kiermeier
2014-08-04 13:10 ` Eric Schulte
2014-08-05 0:46 ` Andreas Kiermeier [this message]
2014-08-05 4:00 ` John Hendy
2014-08-05 4:31 ` Andreas Kiermeier
2014-08-05 18:05 ` Charles Berry
2014-08-05 19:02 ` Eric Schulte
2014-08-05 19:11 ` John Hendy
2014-08-05 19:57 ` Nick Dokos
2014-08-05 20:10 ` Nick Dokos
2014-08-05 22:21 ` Charles C. Berry
2014-08-06 3:32 ` Aaron Ecay
2014-08-06 11:30 ` Eric Schulte
2014-08-07 6:00 ` Aaron Ecay
2014-08-07 17:42 ` Charles C. Berry
2014-08-07 18:06 ` Aaron Ecay
2014-08-07 18:42 ` Charles C. Berry
2014-08-07 19:06 ` Thomas S. Dye
2014-08-09 8:54 ` Rainer M Krug
2014-08-16 5:05 ` Aaron Ecay
2014-08-16 18:50 ` Charles C. Berry
2014-08-16 20:58 ` Aaron Ecay
2014-08-17 6:03 ` Achim Gratz
2014-08-19 0:13 ` Aaron Ecay
2014-08-19 5:36 ` Achim Gratz
2014-08-23 8:32 ` Aaron Ecay
2014-08-23 9:24 ` Andreas Kiermeier
2014-08-23 17:10 ` Aaron Ecay
2014-08-23 18:35 ` Thomas S. Dye
2014-08-23 19:37 ` Ista Zahn
2014-08-24 0:10 ` Charles C. Berry
2014-08-28 5:24 ` Aaron Ecay
2014-09-01 5:00 ` Aaron Ecay
2014-09-01 16:08 ` Charles C. Berry
2014-08-09 8:48 ` Rainer M Krug
2014-08-06 1:11 ` Andreas Kiermeier
2014-08-06 2:21 ` Charles C. Berry
2014-08-06 3:24 ` Aaron Ecay
2014-08-06 15:59 ` Charles C. Berry
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN7vk5S8aBgYjty54WTRLZ8FOwynBKa8aSNF5anTZ8njeYaTqg@mail.gmail.com \
--to=andreas.kiermeier@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.