Thanks Robert,

There was in fact a misterious directory: "C:/Users/User/Documents/
Documents/R/win-library/3.0/dismo"

Copying maxent.jar to it solved the problem. I initially assumed this
directory could not exist.

Agus


2014-02-07 Robert J. Hijmans <r.hijmans@gmail.com>:

> 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@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@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> >
>



-- 
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]]

