Open Autismht opened 2 years ago
Hi, What is the version of R and ArcGIS installed on your computer?
您好,您电脑上安装的 R 和 ArcGIS 版本是多少? R版本是3.6.3 ArcGIS版本是10.7
You may be encountering this issue because the Java Runtime is not fully registered on Windows. Can you try to install the FSelector package on the R base console or RStudio? Try the code was given below.
packageurl <- "https://cran.r-project.org/src/contrib/Archive/FSelector/FSelector_0.31.tar.gz" install.packages(packageurl, repos=NULL, type="source")
您可能会遇到此问题,因为 Java 运行时未在 Windows 上完全注册。您可以尝试在 R 基本控制台或 RStudio 上安装 FSelector 包吗?试试下面给出的代码。
packageurl <- " https://cran.r-project.org/src/contrib/Archive/FSelector/FSelector_0.31.tar.gz " install.packages(packageurl, repos=NULL, type="source")
I used the code you provided and reconfigured the Java environment, but it still shows the above error. dependency 'randomForest' is not available for package 'FSelector'
Hi, Can you replace "arcgisbinding" folder (in C:\Users[username]\Documents\R\win-library\3.6)) with 1.0.1.239 version of package? Don't delete the old one just move to another location. If that doesn't fix your problem, I suggest you do everything one by one as suggested in the installation tutorial on this webpage. There may be a problem with your operating system. Best regards,
https://github.com/R-ArcGIS/r-bridge/releases/download/v1.0.1.239/arcgisbinding_1.0.1.239.zip
I made some changes to the script about the "randomForest" issue. Please download all tool package and try again.
After installing the Java environment, it is solved that chi.square cannot be found in the do call, but Fselector cannot be installed. Just like this: ERROR: dependency 'randomForest' is not available for package 'FSelector'
I sincerely ask you this question
Its simple Just fix this by installling default-sdk
sudo apt-get install -y default-jdk
sudo apt-get install defailt-jre
sudo R CMD javareconf
After installing the Java environment, it is solved that chi.square cannot be found in the do call, but Fselector cannot be installed. Just like this: ERROR: dependency 'randomForest' is not available for package 'FSelector' I sincerely ask you this question
Its simple Just fix this by installling default-sdk
sudo apt-get install -y default-jdk
sudo apt-get install defailt-jre
sudo R CMD javareconf
Then just install fselector
install.packages('FSelector')
Hi, the new version of ‘randomForest ’ package is not supported for R version 4.0.2 and the older version of R. Its only support 4.1 and above. Therefore, I edited the code to fix this problem. Have you ever downloaded the tool pack of the GitHub webpage recently? Best regards On Thu, Nov 17, 2022 at 8:38 AM Godfrey Gudah @.***> wrote:
After installing the Java environment, it is solved that chi.square cannot be found in the do call, but Fselector cannot be installed. Just like this: ERROR: dependency 'randomForest' is not available for package 'FSelector' I sincerely ask you this question
Its simple Just fix this by installling default-sdk sudo apt-get install -y default-jdk sudo apt-get install defailt-jre
sudo R CMD javareconf
Then just install fselector install.packages('FSelector')
— Reply to this email directly, view it on GitHub https://github.com/emrehanks/R-ArcGIS-LSM_ToolPack/issues/13#issuecomment-1318108323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDPXMEZNMIP6GSV67YAJQ3WIXAHHANCNFSM5Q6DBS5A . You are receiving this because you commented.Message ID: @.***>
Dr. Emrehan Kutluğ ŞAHİN http://www.gyte.edu.tr/personel/1040/9106100/emrehan-kutlu-ahin.aspx Abant İzzet Baysal Üniversitesi / Abant İzzet Baysal University Harita Mühendisliği / Geomatic Engineering Bolu @.** +90 374 254 1000 - 4828*
you could install randomForest from r-cran-randomForest
sudo apt-get install r-cran-randomForest
I just installed it
did
??randomForest
After installing the Java environment, it is solved that chi.square cannot be found in the do call, but Fselector cannot be installed. Just like this: ERROR: dependency 'randomForest' is not available for package 'FSelector'
I sincerely ask you this question