Open Laurapalv opened 1 year ago
I have a similiar issue. I have checked my Candidate_models folder and each subfolder has 9 files, so that the kuenm_cal argument is OK, and my maxent.jar run OK. However, my progress bar doesn't finished, the Calibration_results folder is not created, and the subfolder of Candidate_models are not removed, although argument kept = FALSE. I tried with the 1.1.3 version, 1.1.9 version, I have updated all packages in R, I have Rtools. I don't know what is the issues. Probably one dependence that I need to install? but dplyr and future is OK. When I have stopped kuenm_ceval, I get...
Error in .checkLevels(levels(x)[[1]], value) : new raster attributes (factor values) should be in a data.frame (inside a list)
I don't know if this can help.
Regards
Francisco.
Also, I get this error with the test files of the package :(
Also, I get this error with the test files of the package :( Me too. Have you solved this problem yet? I also encountered this problem. I checked all the file results I generated and tried to solve the problem multiple times according to #7 . I don't know where my problem is causing it to remain unresponsive.
Also, I get this error with the test files of the package :( Me too. Have you solved this problem yet? I also encountered this problem. I checked all the file results I generated and tried to solve the problem multiple times according to #7 . I don't know where my problem is causing it to remain unresponsive.
Hi!! I solved it reinstalling Rtools. Can you try it? Regards
I am having a trouble with the kuenm_ceval function. The script works correctly if I run it on Mac OS, but if I run it on Windows the progress stops at 0.34%. I don't know if it is a Windows compatibility problem with the Maxent executable. I would appreciate any help with this issue.
Here is the code I am using:
`## argumentos
setwd("D:/kuenm/P_goudotiana") occ_joint <- "Pgoudotiana_joint.csv" occ_tra <- "Pgoudotiana_train.csv" batch_cal <- "Candidate_models" out_dir <- "Candidate_Models" occ_test <- "Pgoudotiana_test.csv" out_eval <- "Calibration_results" threshold <- 5 rand_percent <- 50 iterations <- 500 kept <- TRUE selection <- "OR_AICc" paral_proc <- FALSE maxent_path <- "D:/kuenm/P_goudotiana"
función
cal_eval <- kuenm_ceval(path = out_dir, occ.joint = occ_joint, occ.tra = occ_tra, occ.test = occ_test, batch = batch_cal, out.eval = out_eval, threshold = threshold, rand.percent = rand_percent, iterations = iterations, kept = kept, selection = selection, parallel.proc = paral_proc)` Thanks,
Laura