R-ArcGIS / r-bridge-install

Install the R ArcGIS Tools
Apache License 2.0
188 stars 59 forks source link

arcgispro2.6 Install R bindings #123

Open liujiaoshou17 opened 9 months ago

liujiaoshou17 commented 9 months ago

Installing package into 'C:/Users/73486/AppData/Local/R/win-library/4.3' (as 'lib' is unspecified) trying URL 'https://r.esri.com/bin/windows/contrib/4.3/arcgisbinding_1.0.1.306.zip' Content type 'application/zip' length 1623035 bytes (1.5 MB)

downloaded 1.5 MB Warning: cannot remove prior installation of package 'arcgisbinding' Warning: restored 'arcgisbinding' Warning messages: 1: In file.copy(savedcopy, lib, recursive = TRUE) : problem copying C:\Users\73486\AppData\Local\R\win-library\4.3\00LOCK\arcgisbinding\doc\arcgisbinding.pdf to C:\Users\73486\AppData\Local\R\win-library\4.3\arcgisbinding\doc\arcgisbinding.pdf: Permission denied 2: In file.copy(savedcopy, lib, recursive = TRUE) : problem copying C:\Users\73486\AppData\Local\R\win-library\4.3\00LOCK\arcgisbinding\libs\x64\libobjects_pro.dll to C:\Users\73486\AppData\Local\R\win-library\4.3\arcgisbinding\libs\x64\libobjects_pro.dll: Permission denied 3: In file.copy(savedcopy, lib, recursive = TRUE) : problem copying C:\Users\73486\AppData\Local\R\win-library\4.3\00LOCK\arcgisbinding\libs\x64\rarcproxy_pro.dll to C:\Users\73486\AppData\Local\R\win-library\4.3\arcgisbinding\libs\x64\rarcproxy_pro.dll: Permission denied

JosiahParry commented 9 months ago

@liujiaoshou17 this looks looks like you have file permission issues on your machine that are interferring with R. Try running remove.packages("arcgisbinding") to uninstall the package first. If that fails for you, you may need to navigate to C:\Users\73486\AppData\Local\R\win-library\4.3 and delete and LOCK folders you might see.