>
> I use rgdal but the instructions that you gave are not clear to me. When
> exactly the sigfault occurs?
>

The segfault occurs just at the maxent call.

However, without the rgdal package loaded at the begining everything works
fine.

With plain terminal I tried with --no-readline --no-save and without any
options and I ended up with the same segfault.
However in Rstudio, I don't have any error.
Since I can reproduce this error in the terminal, I'm sure that is not
related to ESS but I'm surprised that it works with Rstudio and I'm curious
why ?
I tried to use valgrind and gdb and the reason are not clear but it
involves my java installation (OpenJDK 1.7) on my Arch Linux Box.

But since I'm sure now that is not related to ESS, I'll try to fix this and
I'm sorry again for the noise.
Thanks again for pointers




On Mon, Oct 28, 2013 at 8:22 PM, Vitalie Spinu <spinuvit@gmail.com> wrote:

>
> This is a complex issue at a much deeper layers than ESS code is
> positioned. Most likely it is a bug in maxent-rjava interaction which
> shows in emacs sub-processes only. We have a peculiar sigfault bug on
> github that shows only in emacs/ESS/Mac, and technically has nothing to
> do with ESS. This one seems similar.
>
> I use rgdal but the instructions that you gave are not clear to me. When
> exactly the sigfault occurs?
>
>
> Could you try with plain terminal "R --no-readline --no-save" (or
> whatever your custom R command is for running from ess) and then
> library(ESSR)?
>
> Thanks,
>
>    Vitalie
>
>  >>> Ahmadou Dicko on Mon, 28 Oct 2013 19:46:52 +0000 wrote:
>
>  > Thanks Rodney, I'll try to dig further.
>  > Is the first time I encounter this type of error but I'll see If I can
>  > reproduce it using only R package that doesn't require extra libs.
>  > I'll let you know as soon as find something more precise.
>
>  > On Mon, Oct 28, 2013 at 7:36 PM, Rodney Sparapani <rsparapa@mcw.edu>
> wrote:
>
>  >> On 10/28/2013 07:45 AM, Ahmadou Dicko wrote:
>  >>
>  >>> Hi,
>  >>>
>  >>> I have a little problem with a script that used to work fine with ESS
>  >>> 13-05.
>  >>> This is smallest reproductible example I know and it requires to
> download
>  >>> a
>  >>> jar file (maxent,jar<http://www.cs.**
> princeton.edu/~schapire/**maxent/<
> http://www.cs.princeton.edu/~schapire/maxent/>>)>> and
>  >>>
>  >>> copy this jar file it on the folder ./java  in the R dismo package.
>  >>>
>  >>> Everytime I run this script using ESS I have a segfault but it runs
>  >>> smoothly using Rstudio and the terminal  :
>  >>>
>  >>> require(dismo)
>  >>> require(rgdal)
>  >>>
>  >>
>  >> Dear Ahmadou:
>  >>
>  >> This might be an ESS bug.  I can't tell yet.  Could you try
>  >> to narrow it down a bit more?  I don't use rgdal
>  >> (or rJava, etc.) since they require other libraries (i.e. not just R
>  >> packages and more than the download above).
>  >>
>  >> --
>  >> Rodney Sparapani, PhD
>  >> Manager of Statistical & Computational Operations
>  >> Center for Patient Care and Outcomes Research (PCOR)
>  >> Medical College of Wisconsin (MCW), Milwaukee, USA
>  >> http://www.linkedin.com/in/**rodneysparapani<
> http://www.linkedin.com/in/rodneysparapani>>
>



-- 
Ahmadou H. DICKO
statistician and applied economist (ISE)
PhD candidate in Climate change economics
Faculty of economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated Land
Use (WASCAL)
Center for Development Research (ZEF) - University of Bonn
email : ahmadou.dicko@ucad.edu.sn
twitter : @dickoah
github : github/dickoa <https://github.com/dickoa>
tel : +221 33 827 55 16
portable: +221 77 123 81 69

	[[alternative HTML version deleted]]

