Installation issue with rgdal

25 views
Skip to first unread message

IVÁN GONZÁLEZ PÉREZ

unread,
Nov 29, 2023, 3:41:43 AM11/29/23
to SegOptim user group
Hello, first time using these Google groups. 
I'm having a problem installing the R package because 'rgdal' is not available in my R version (I will post the error message at the end of this post). Maybe going back to an older version of R could work? I'm afraid that maybe the code I'm doing doesn't work in older versions due to incompatibilities with other packages I'm using.

Cheers.

Here is the error message:
-- R CMD build -------------------------------------------------------------------------------------------------------------------- v checking for file 'C:\Users\Enoc\AppData\Local\Temp\Rtmpi2M2tp\remotes2e145dec5a17\joaofgoncalves-SegOptim-697d973/DESCRIPTION' ... - preparing 'SegOptim': (768ms) v checking DESCRIPTION meta-information ... - installing the package to process help pages ----------------------------------- ERROR: dependency 'rgdal' is not available for package 'SegOptim' - removing 'C:/Users/Enoc/AppData/Local/Temp/Rtmpq4xWF7/Rinstab0c720f692b/SegOptim' ----------------------------------- ERROR: package installation failed Error: Failed to install 'SegOptim' from GitHub: ! System command 'Rcmd.exe' failed Además: Warning messages: 1: package ‘rgdal’ is not available for this version of R A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages 2: In file.copy(savedcopy, lib, recursive = TRUE) : problema al copiar C:\Users\Enoc\AppData\Local\R\win-library\4.3\00LOCK\rlang\libs\x64\rlang.dll a C:\Users\Enoc\AppData\Local\R\win-library\4.3\rlang\libs\x64\rlang.dll: Permission denied 3: In file.copy(savedcopy, lib, recursive = TRUE) : problema al copiar C:\Users\Enoc\AppData\Local\R\win-library\4.3\00LOCK\utf8\libs\x64\utf8.dll a C:\Users\Enoc\AppData\Local\R\win-library\4.3\utf8\libs\x64\utf8.dll: Permission denied 4: In file.copy(savedcopy, lib, recursive = TRUE) : problema al copiar C:\Users\Enoc\AppData\Local\R\win-library\4.3\00LOCK\dplyr\libs\x64\dplyr.dll a C:\Users\Enoc\AppData\Local\R\win-library\4.3\dplyr\libs\x64\dplyr.dll: Permission denied 5: In file.copy(savedcopy, lib, recursive = TRUE) : problema al copiar C:\Users\Enoc\AppData\Local\R\win-library\4.3\00LOCK\sp\libs\x64\sp.dll a C:\Users\Enoc\AppData\Local\R\win-library\4.3\sp\libs\x64\sp.dll: Permission denied 6: In i.p(...) : installation of package ‘units’ had non-zero exit status
Reply all
Reply to author
Forward
0 new messages