Re: [Rd] Can gzfile be given the same method option as file

2024-09-12 Thread Simon Andrews via R-devel
В Thu, 12 Sep 2024 15:06:50 + Simon Andrews пишет: > > > download.file('https://seurat.nygenome.org/azimuth/references/homolo > > > gs.rds', destfile = "c:/Users/andrewss/homologs.rds", method="curl") <...> > > curl: (35) schannel: next InitializeSecurityContext > > failed: CRYPT_E_NO_REVOCAT

Re: [Rd] Can gzfile be given the same method option as file

2024-09-12 Thread Ivan Krylov via R-devel
В Thu, 12 Sep 2024 15:06:50 + Simon Andrews пишет: > > download.file('https://seurat.nygenome.org/azimuth/references/homologs.rds', > > destfile = "c:/Users/andrewss/homologs.rds", method="libcurl") <...> > status was 'SSL connect error' > > > download.file('https://seurat.nygenome.org/azi

Re: [Rd] Can gzfile be given the same method option as file

2024-09-12 Thread Simon Andrews via R-devel
Thankyou! This helped a lot. I had mis-understood some of the chain of functions which got to the eventual failure. I can confirm that it does indeed work if you create a url() first and it picks the appropriate back end as long as the url.method option is set. For the schannel back end I ha

Re: [Rd] Can gzfile be given the same method option as file

2024-09-12 Thread Ivan Krylov via R-devel
В Thu, 12 Sep 2024 12:01:54 + Simon Andrews via R-devel пишет: > readRDS('https://seurat.nygenome.org/azimuth/references/homologs.rds') > Error in gzfile(file, "rb") : cannot open the connection I don't think that gzfile works with URLs. gzcon(), on the other hand, does work with url() conne

[Rd] Can gzfile be given the same method option as file

2024-09-12 Thread Simon Andrews via R-devel
Recently my employer has introduced a security system which generates SSL certificates on the fly to be able to see the content of https connections. To make this work they add a new root certificate to the windows certificate store. In R this causes problems because the default library used to