I am on a mac, and I have this issue of unused arguments while using maxent in dismo
model.maxent.present <- maxent(
+ x=rasters.present.crop,
+ p=spoints,
+ a=backgr,
+ args=c(
+ 'randomtestpoints=30',
+ 'betamultiplier=1',
+ 'linear=true',
+ 'quadratic=true',
+ 'product=true',
+ 'threshold=true',
+ 'hinge=true',
+ 'threads=2',
+ 'responsecurves=true',
+ 'jackknife=true',
+ 'askoverwrite=false'
+ )
+ )
Error in maxent(x = rasters.present.crop, p = spoints, a = backgr, args = c("randomtestpoints=30", :
unused arguments (x = rasters.present.crop, p = spoints, a = backgr, args = c("randomtestpoints=30", "betamultiplier=1", "linear=true", "quadratic=true", "product=true", "threshold=true", "hinge=true", "threads=2", "responsecurves=true", "jackknife=true", "askoverwrite=false"))
Even when I delete all arguments I still get the same error...
> model.maxent.present <- maxent(
+ x=rasters.present.crop,
+ p=spoints,
+ a=backgr)
Error in maxent(x = rasters.present.crop, p = spoints, a = backgr) :
unused arguments (x = rasters.present.crop, p = spoints, a = backgr)