From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Kiermeier Subject: Re: R code block produces only partial output Date: Tue, 5 Aug 2014 10:16:37 +0930 Message-ID: References: <87iom8zd24.fsf@gmail.com> <877g2oz9gv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XESuP-0005WM-6Q for Emacs-orgmode@gnu.org; Mon, 04 Aug 2014 20:47:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XESuO-0007yy-24 for Emacs-orgmode@gnu.org; Mon, 04 Aug 2014 20:47:21 -0400 Received: from mail-qg0-x22c.google.com ([2607:f8b0:400d:c04::22c]:56367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XESuN-0007xK-Ra for Emacs-orgmode@gnu.org; Mon, 04 Aug 2014 20:47:19 -0400 Received: by mail-qg0-f44.google.com with SMTP id e89so241908qgf.31 for ; Mon, 04 Aug 2014 17:47:18 -0700 (PDT) In-Reply-To: <877g2oz9gv.fsf@gmail.com> 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: Eric Schulte Cc: Emacs-orgmode@gnu.org 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 wrote: > Andreas Kiermeier writes: > >> On 4 August 2014 21:23, Eric Schulte 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) >