From mboxrd@z Thu Jan  1 00:00:00 1970
From: cberry@tajo.ucsd.edu
Subject: Re: Bug? R: Org babel block execution *drastically* slower than in
 ESS session directly
Date: Wed, 31 Oct 2012 09:41:06 -0700
Message-ID: <874nlappb1.fsf@tajo.ucsd.edu>
References: <CA+M2ft-gh3jPc9o9m0STC4Z5fNzJ93AQk2D_UPQiBjK6G37ouA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:56911)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1TTbM7-0004uC-Vm
	for emacs-orgmode@gnu.org; Wed, 31 Oct 2012 12:41:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1TTbM0-0006WP-Qv
	for emacs-orgmode@gnu.org; Wed, 31 Oct 2012 12:41:27 -0400
Received: from plane.gmane.org ([80.91.229.3]:51012)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1TTbM0-0006WK-Jt
	for emacs-orgmode@gnu.org; Wed, 31 Oct 2012 12:41:20 -0400
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1TTbM6-00024F-Rt
	for emacs-orgmode@gnu.org; Wed, 31 Oct 2012 17:41:26 +0100
Received: from tajo.ucsd.edu ([137.110.122.165])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Wed, 31 Oct 2012 17:41:26 +0100
Received: from cberry by tajo.ucsd.edu with local (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Wed, 31 Oct 2012 17:41:26 +0100
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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

John Hendy <jw.hendy@gmail.com> writes:

> I edited the subject to be more concise/clear.I let orgmode chug away
> on reading in some ~10-30mb csv files for nearly 30min. 

[rest deleted]

You need an ECM. 

I cannot reproduce your issue.

This runs in the same amount of time, whether I execute the src block or
run the code from ESS:


#+begin_src R :session 
write.csv(diag(10)[rep(1:10,100000),],file="abc.csv")
#+end_src

#+begin_src R :session :results output
  system.time(read.csv("abc.csv"))
#+end_src


abc.csv is >25MB

If the behavior you describe only happens with some files, I suggest you
try to bisect them to find the issue.

HTH,

Chuck