From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: passing LC_ALL environment variable to org export call Date: Fri, 26 Sep 2014 15:56:38 +0200 Message-ID: <87ppeiv621.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXW1C-0000Il-7x for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 09:57:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXW14-0006fI-Kf for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 09:57:06 -0400 Received: from plane.gmane.org ([80.91.229.3]:52492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXW14-0006bg-FG for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 09:56:58 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XXW0x-0007pJ-2Z for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 15:56:51 +0200 Received: from 109.201.154.184 ([109.201.154.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 15:56:51 +0200 Received: from rasmus by 109.201.154.184 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 15:56:51 +0200 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: emacs-orgmode@gnu.org Hi Johannes, Johannes Rainer writes: > I stumbled across a strange problem. I’m using org-mode to perform > analyses in R and I have one block of R-code in which I use mclapply > to perform parallel calculations. evaluating this code block using C-c > C-c works fine, but I get a segfault error when I export the org file. > > This has to do something with the LC_ALL environment variable as I can > reproduce the same error above in R in a terminal after “unset > LC_ALL”. > > Is there a way to pass environment variables to the export call? Check the two functions `getenv' and `setenv' and the variable `org-export-async-init-file'. You should be able to cook something up. It sound like there's an issue with your system-setup. I'd look into that before. Hope it helps, Rasmus -- Lasciate ogni speranza, voi che leggete questo.