emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug? R: Org babel block execution *drastically* slower than in E


From: cberry
Subject: Re: [O] Bug? R: Org babel block execution *drastically* slower than in ESS session directly
Date: Wed, 31 Oct 2012 13:12:18 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

John Hendy <address@hidden> writes:

> On Wed, Oct 31, 2012 at 11:41 AM,  <span 
> dir="ltr"><mailto:address@hidden></span> wrote:
> John Hendy <mailto:address@hidden> 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 did my best to provide one, other than the file, which I 
> offered to provide if others requested that I upload it somewhere. Since you 
> have done so, so have I:
>https://docs.google.com/open?id=0BzQupOSnvw08WHdabHh5VVczRGM

> Let me know if that doesn&#39;t work. I put it on Google docs and sometimes 
> have issues with the sharing settings...

Not an ECM in my book, but ...

On my 4 year old MacBook:

,----
| 
| #+PROPERTY: session *R*
| 
| #+name: bigcsv
| #+begin_src R 
| bigcsv <- Sys.glob("~/Downloads/*.csv")
| #+end_src
| 
| #+RESULTS: bigcsv
| : /Users/cberry/Downloads/test-file.csv
| 
| #+name: readbig
| #+begin_src R :results output
|   system.time(
|     tmp <- read.csv(bigcsv)
|     )
|   
| #+end_src
| 
| #+RESULTS: readbig
| :    user  system elapsed 
| :   5.679   0.306   6.002
| 
`----

About the same as running from ESS.

FYI,

> dim(tmp)
[1] 964805      9


Chuck

[ rest deleted ]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]