Hi Johannes, Johannes Rainer <johannes.rai...@gmail.com> 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.