【发布时间】:2015-05-28 10:45:11
【问题描述】:
我在包 biomod2 中从 R 运行 maxent,出现以下错误。我不是来自技术背景,也不确定为什么会发生这个错误。是内存问题还是有人说没有设置java路径。但我按照说明将 maxent 设置为在 R 中运行,还下载了 Java Platform, Standard Edition Development Kit 并为其设置路径,如本 pdf 中所述:http://modata.ceoe.udel.edu/dev/dhaulsee/class_rcode/r_pkgmanuals/MAXENT4R_directions.pdf
如果您能帮助我理解这个问题以及任何解决方案,我将不胜感激。
非常感谢
Error in file(file, "rt") : cannot open the connection
In addition: Warning messages:
1: running command 'java' had status 1
2: running command 'java -mx512m -jar E:\bioclim_2.5min\model/maxent.jar environmentallayers
="rainfed/models/1432733200/m_47203134/Back_swd.csv"
samplesfile="rainfed/models/1432733200/m_47203134/Sp_swd.csv"
projectionlayers="rainfed/models/1432733200/m_47203134/Predictions/Pred_swd.csv"
outputdirectory="rainfed/models/1432733200/rainfed_PA1_Full_MAXENT_outputs"
outputformat=logistic redoifexists visible=FALSE linear=TRUE quadratic=TRUE
product=TRUE threshold=TRUE hinge=TRUE lq2lqptthreshold=80 l2lqthreshold=10
hingethreshold=15 beta_threshold=-1 beta_categorical=-1 beta_lqp=-1
beta_hinge=-1 defaultprevalence=0.5 autorun nowarnings notooltips
noaddsamplestobackground' had status 1
3: In file(file, "rt") :
cannot open file 'rainfed/models/1432733200/rainfed_PA1_Full_MAXENT_outputs/rainfed_PA1_
Full_Pred_swd.csv': No such file or directory
【问题讨论】:
-
我刚刚遇到了这个问题。对我来说,
biomod2中的所有其他模型都在工作,MaxEnt 从dismo运行良好。你设法解决了这个问题吗?