omegahat / RCurl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protocol "sftp" not supported or disabled in libcurl

ChristelSwift opened this issue · comments

i'm trying to use RCurl on my local machine and got this error:

Protocol "sftp" not supported or disabled in libcurl

Any idea how i can fix this? Here's my session info:

> sessionInfo()
R version 4.2.3 (2023-03-15)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Ventura 13.6.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] RCurl_1.98-1.13 readxl_1.4.2    lubridate_1.9.2 forcats_1.0.0   stringr_1.5.0   dplyr_1.1.2     purrr_1.0.1     readr_2.1.4    
 [9] tidyr_1.3.0     tibble_3.2.1    ggplot2_3.4.2   tidyverse_2.0.0

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.11       prettyunits_1.1.1 ps_1.7.3          digest_0.6.33     utf8_1.2.3        mime_0.12         R6_2.5.1         
 [8] cellranger_1.1.0  pillar_1.9.0      rlang_1.1.1       rstudioapi_0.14   miniUI_0.1.1.1    callr_3.7.3       urlchecker_1.0.1 
[15] devtools_2.4.5    htmlwidgets_1.6.2 bit_4.0.5         munsell_0.5.0     shiny_1.7.4       compiler_4.2.3    httpuv_1.6.9     
[22] xfun_0.39         pkgconfig_2.0.3   pkgbuild_1.4.0    htmltools_0.5.5   tidyselect_1.2.0  fansi_1.0.4       crayon_1.5.2     
[29] tzdb_0.4.0        withr_2.5.0       later_1.3.0       bitops_1.0-7      grid_4.2.3        xtable_1.8-4      gtable_0.3.3     
[36] lifecycle_1.0.3   magrittr_2.0.3    scales_1.2.1      vroom_1.6.3       cli_3.6.1         stringi_1.7.12    cachem_1.0.8     
[43] fs_1.6.3          promises_1.2.0.1  remotes_2.4.2     ellipsis_0.3.2    generics_0.1.3    vctrs_0.6.3       tools_4.2.3      
[50] bit64_4.0.5       glue_1.6.2        hms_1.1.3         processx_3.8.0    pkgload_1.3.2     fastmap_1.1.1     timechange_0.2.0 
[57] colorspace_2.1-0  sessioninfo_1.2.2 memoise_2.0.1     knitr_1.43        profvis_0.3.7     usethis_2.1.6    

and my libcurl / RCurl info:

> libcurlVersion() 
[1] "8.1.2"
attr(,"ssl_version")
[1] "(SecureTransport) LibreSSL/3.3.6"
attr(,"libssh_version")
[1] ""
attr(,"protocols")
 [1] "dict"    "file"    "ftp"     "ftps"    "gopher"  "gophers" "http"    "https"   "imap"    "imaps"   "ldap"    "ldaps"   "mqtt"   
[14] "pop3"    "pop3s"   "rtsp"    "smb"     "smbs"    "smtp"    "smtps"   "telnet"  "tftp"   


> RCurl::curlVersion()
$age
[1] 10

$version
[1] "8.1.2"

$vesion_num
[1] 524546

$host
[1] "x86_64-apple-darwin22.0"

$features
     ipv6       ssl      libz      ntlm asynchdns    spnego largefile   ntlm_wb 
        1         4         8        16       128       256       512     32768 

$ssl_version
[1] "(SecureTransport) LibreSSL/3.3.6"

$ssl_version_num
[1] 0

$libz_version
[1] "1.2.11"

$protocols
 [1] "dict"    "file"    "ftp"     "ftps"    "gopher"  "gophers" "http"    "https"   "imap"    "imaps"   "ldap"    "ldaps"   "mqtt"   
[14] "pop3"    "pop3s"   "rtsp"    "smb"     "smbs"    "smtp"    "smtps"   "telnet"  "tftp"   

$ares
[1] ""

$ares_num
[1] 0

$libidn
[1] ""