[R-sig-Geo] maxent function from dismo package does not find maxent.jar file

Robert J. Hijmans r.hijmans at gmail.com
Fri Feb 7 07:35:50 CET 2014


HI Agus,

The obvious answer is that you should copy maxent.jar from
C:\Users\User\Documents\R\win-library\3.0\dismo\java to
C:/Users/User/Documents/Documents/R/win-library/3.0/dismo/java/

Or are you saying that this folder does not exist? That would be odd. What does

system.file(package = "dismo")

return? Apparently this:

"C:/Users/User/Documents/Documents/R/win-library/3.0/dismo"

Always include sessionInfo() when asking questions about apparent bugs.

Robert

On Thu, Feb 6, 2014 at 12:46 PM, Agus Camacho <agus.camacho at gmail.com> wrote:
> Dear list,
>
> When using maxent from the dismo package, Im recently finding the following
> error:
>
> Error in .getMeVersion() : file missing:
> C:/Users/User/Documents/Documents/R/win-library/3.0/dismo/java/maxent.jar.
> Please download it here: http://www.cs.princeton.edu/~schapire/maxent/
>
> The "missing" file is actually located at:
> C:\Users\User\Documents\R\win-library\3.0\dismo\java
>
> Note that R is searching for the file using"../Documents/Documents/.."
> instead of "... /Documents/..."
>
> Anybody could tell me how avoid this?
>
> Thanks in advance.
> Agus
>
>
> --
> Agustín Camacho Guerrero.
> Doutor em Zoologia.
> Laboratório de Herpetologia, Departamento de Zoologia, Instituto de
> Biociências, USP.
> Rua do Matão, trav. 14, nº 321, Cidade Universitária,
> São Paulo - SP, CEP: 05508-090, Brasil.
>
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list