我在包 biomod2 中从 R 运行 maxent,并出现以下错误。我不是技术背景,也不知道为什么会发生这个错误。是内存问题还是有人说没有设置java路径。但我按照说明将 maxent 设置为在 R 中运行,还下载了 Java 平台标准版开发工具包并为其设置路径,如本 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