emrehanks / R-ArcGIS-LSM_ToolPack

This tool is to develop an easy-to-use tool package called Landslide Susceptibility Mapping Tool Pack (LSM Tool Pack) for producing landslide susceptibility maps based on integrating R with ArcMap Software. The proposed tool contains 5 main modules namely: (1) Data Preparation (DP), (2) Feature (Factor) Selection (FS), (3) Logistic Regression (LR), (4) Random Forest (RF), (5) Performance Evaluation (PE) and (6) Create Raster Stack (Multi-Bands).
Apache License 2.0
40 stars 11 forks source link

Can not get chi squared or write.xlsx #10

Open gjones2000 opened 2 years ago

gjones2000 commented 2 years ago

Hello,

When I try to perform part 2_Feature Selection. I get the error 'Error in do.call : could not find function "chi.squared". However, R 3.6.3 doesn't have this as a package.

Secondly, when I try to perform 5_Performance Evaluation Model. I get the error 'Error in do.call : could not find function "write.xlsx". However, R 3.6.3 also doesn't have this as a package.

Please can somebody help. I am trying to learn this from scratch for my dissertation due in 2 months.

Thank you!

emrehanks commented 2 years ago

Hi, Did you install Java Runtime Environment (https://java.com/en/download/manual.jsp). If you did not install, install both 32 and 64 bit version.

zgaolei98 commented 1 year ago

Hello,

When I try to perform 5_Performance Evaluation Model. I also get the error 'Error in do.call : could not find function "write.xlsx". Then, when I install package("write.xlsx"), R 4.2.2 get the error : 'package"write.xlsx" is not availibale for this version of R'.

Please can somebody help. Thank you!