From pleydell at supagro.inra.fr  Fri Sep  4 18:34:06 2009
From: pleydell at supagro.inra.fr (pleydell at supagro.inra.fr)
Date: Fri, 04 Sep 2009 18:34:06 +0200
Subject: [Rd] enabling core dumps
In-Reply-To: <4AA138C8.2010904@fhcrc.org>
References: <20090904173944.et305vc9gon4480c@web.supagro.inra.fr>
	<4AA138C8.2010904@fhcrc.org>
Message-ID: <20090904183406.ocxat56kepwgow4o@web.supagro.inra.fr>

To answer my own question.

My mistake was that "ulimit -c unlimited" applies to the current bash session
only. I had used this call in a bash *shell* buffer in emacs but this was
unable to affect R processes started in emacs with C-u M-x R, hence no core
files. Running the buggy code from R started in a bash shell after running
ulimit resulted in a core file being generated in the R working directory.

It's not the cleanest of emacs solutions, but at least it works.

David



[Rd] enabling core dumps
pleydell at supagro.inra.fr