Re: [R] download.file strict certificate revocation check

2023-10-05 Thread John Neset
John Neset Cc: r-help@R-project.org Subject: Re: [R] download.file strict certificate revocation check WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe. В Wed, 4 Oct 2023 13:09:47 + John Neset пишет: >

Re: [R] download.file strict certificate revocation check

2023-10-04 Thread Ben Bolker
This is sad news indeed. https://cran.r-project.org/web/checks/check_summary_by_maintainer.html lists Jim as the maintainer of clinsig, crank, eventInterval, plotrix, and prettyR. > library(packageRank) > packageRank(c("clinsig", "crank", "eventInterval", "plotrix", "prettyR"))

Re: [R] download.file strict certificate revocation check

2023-10-04 Thread Jim Lemon
Hello, I am very sad to let you know that my husband Jim died in 18th September. I apologise for not letting you know earlier but I had trouble finding the password for his phone. Kind regards, Juel Briggs On Thu, 5 Oct 2023, 02:07 Ivan Krylov В Wed, 4 Oct 2023 14:32:49 + > John Neset пишет:

Re: [R] download.file strict certificate revocation check

2023-10-04 Thread Ivan Krylov
В Wed, 4 Oct 2023 14:32:49 + John Neset пишет: > No change with True or False with R_LIBCURL_SSL_REVOKE_BEST_EFFORT Judging by the screenshot, it looks like you've set an R variable R_LIBCURL_SSL_REVOKE_BEST_EFFORT instead of setting an environment variable using Sys.setenv: Sys.setenv('R_

Re: [R] download.file strict certificate revocation check

2023-10-04 Thread Ivan Krylov
В Wed, 4 Oct 2023 13:09:47 + John Neset пишет: > Trying to do this, reference FAQ- > 2.18 The Internet download functions fail. > (c) A MITM proxy (typically in enterprise environments) makes it > impossible to validate that certificates haven't been revoked. One > can switch to only best eff

[R] download.file strict certificate revocation check

2023-10-04 Thread John Neset
What/how do I interact with the download.file with turning off the strict certificate revocation check in regards to download & update packages? I clearly made an attempt at this, but failed miserably. Trying to do this, reference FAQ- 2.18 The Internet download functions fail. (c) A MITM proxy (

[R] download.file() problems with binary files containing EOF byte in Windows

2018-08-20 Thread Scott Sherrill-Mix
Hello, I'm trying to get a package to pass win-builder and have been having a bit of trouble with Windows R and binary files (in my case a small .tar.gz used in testing). After a little debugging, I think I've narrowed it down to download.file() truncating files to the first '1a' byte (often used f

[R] download.file: unsuppported url scheme

2014-07-17 Thread Joe W. Byers
I have found an interesting issue. I use R Studio for most of my development and automate many tasks to run over night. I have a https file scrape process that runs without issue from R Studio command line. When I try to run from the R console, I get an error from download.file stating unsup

Re: [R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-22 Thread Uwe Ligges
On 22.08.2013 19:52, Tal Galili wrote: Dear Uwe, Here is the updated code and error massage I get: exe_URL = 'http://pandoc.googlecode.com/files/pandoc-1.11.1.msi' exe_filename <- file.path(tempdir(), basename(exe_URL)) download.file(exe_URL, destfile = exe_filename, mode = "wb", method= "int

Re: [R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-22 Thread Henrik Bengtsson
On Thu, Aug 22, 2013 at 12:23 PM, Tal Galili wrote: > Quick update - I think most of the problem is resolved. > After more checks (following Uwe comments): > 1) I see that the installer file runs properly when I set "mode='wb'", and > fails when "mode='w'" (so that solves why some of the time the

Re: [R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-22 Thread Tal Galili
Quick update - I think most of the problem is resolved. After more checks (following Uwe comments): 1) I see that the installer file runs properly when I set "mode='wb'", and fails when "mode='w'" (so that solves why some of the time the installer didn't run) 2) I still get the error massage mentio

Re: [R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-22 Thread Tal Galili
Dear Uwe, Here is the updated code and error massage I get: exe_URL = 'http://pandoc.googlecode.com/files/pandoc-1.11.1.msi' exe_filename <- file.path(tempdir(), basename(exe_URL)) download.file(exe_URL, destfile = exe_filename, mode = "wb", method= "internal") # ### Error massage: tr

Re: [R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-22 Thread Uwe Ligges
Tal, please quote the whole message! I had to look for the original one now. And then I found that code was not reproducible for me: exe_URL = 'http://pandoc.googlecode.com/files/pandoc-1.11.1.msi' exe_filename <- file.path(tempdir(), file.name.from.url(exe_URL)) Error in file.path(tempdir()

Re: [R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-21 Thread Tal Galili
Dear Uwe, My apologies - my original code had mode="wb", which also *does not* work and produce the errors I've mentioned in the previous e-mail. The code I pasted had mode ="w", since that is one of the versions I've played with (which also does not work). With regards, Tal On Wed, Aug 21,

Re: [R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-21 Thread Uwe Ligges
On 21.08.2013 22:35, Tal Galili wrote: Dear R-help mailing list memebers, I encountered the following error, and I'd be happy for ideas on how to fix it: # using R 3.0.1 on Windows 7: exe_URL = 'http://pandoc.googlecode.com/files/pandoc-1.11.1.msi' exe_filename <- file.path(tempdir(), file.n

[R] download.file error - corrupt: Can't read SAT; charset=binary'

2013-08-21 Thread Tal Galili
Dear R-help mailing list memebers, I encountered the following error, and I'd be happy for ideas on how to fix it: # using R 3.0.1 on Windows 7: exe_URL = 'http://pandoc.googlecode.com/files/pandoc-1.11.1.msi' exe_filename <- file.path(tempdir(), file.name.from.url(exe_URL)) download.file(exe_UR

Re: [R] download.file

2011-11-08 Thread Henrik Bengtsson
See downloadFile() of the R.utils package (on CRAN); it allows you to download to a file to a given path (without have to "replicate" the filename), and it also have an option (the default) to drop zero-size files that are (sometimes) created when download.file() tries to download a non-existing f

Re: [R] download.file

2011-11-08 Thread David Winsemius
On Nov 8, 2011, at 6:32 PM, Mary Kindall wrote: I am downloading say 100 files from ucsc website and storing it into dest folder. download.file function create a file in destination folder even if the file is not present which is something I dont want. So I wrote if condition to remove the

[R] download.file

2011-11-08 Thread Mary Kindall
I am downloading say 100 files from ucsc website and storing it into dest folder. download.file function create a file in destination folder even if the file is not present which is something I dont want. So I wrote if condition to remove the file if the download function has non zero value. Now i

[R] Download.file problem

2010-10-18 Thread Santosh Srinivas
Strange problem with download.file . for non existent URL an empty file is created but I am not able to delete the without shutting down R Example: > download.file("http://test.com/test.txt","test.txt";) trying URL 'http://test.com/test.txt' Error in download.file("http://test.com/test.txt";, "t

[R] download.file() help! setting the proxy for user /passw0rd

2009-07-22 Thread ByR1
I would like to download climate data files from PCMDI website using R. I tried this line below and I was not able to get the file mainly due to user name and password requirements. I am looking for help for setting up the user and password within R (or somewhere). I have read the FAQ but unfortun

Re: [R] download.file error

2008-04-01 Thread CHIB CO
Hi John Seers, thanks for the tip, it works. Kind Regards Chib > Subject: RE: [R] download.file error > Date: Tue, 1 Apr 2008 15:39:01 +0100 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > CC: r-help@r-project.org > > Hi Chib > > >>w

Re: [R] download.file error

2008-04-01 Thread jim holtman
in the download.file() function > without having it break a for loop with the download error when it is part > of that loop. > > Kind Regards > > Chib > > > > > > Date: Mon, 31 Mar 2008 18:33:35 -0500 > > From: [EMAIL PROTECTE

Re: [R] download.file error

2008-04-01 Thread john seers (IFR)
] [mailto:[EMAIL PROTECTED] On Behalf Of CHIB CO Sent: 01 April 2008 15:28 To: jim holtman Cc: r-help@r-project.org Subject: Re: [R] download.file error Hi Jim, I just wanted to know if there is a function in R that can tell you whether a file on the internet exists before you attempt to download it or

Re: [R] download.file error

2008-04-01 Thread CHIB CO
error when it is part of that loop. Kind Regards Chib > Date: Mon, 31 Mar 2008 18:33:35 -0500> From: [EMAIL PROTECTED]> To: [EMAIL > PROTECTED]> Subject: Re: [R] download.file error> CC: r-help@r-project.org> > > ?try> > On Mon, Mar 31, 2008 at 6:26 PM, CHIB CO <

Re: [R] download.file error

2008-03-31 Thread jim holtman
?try On Mon, Mar 31, 2008 at 6:26 PM, CHIB CO <[EMAIL PROTECTED]> wrote: > Dear all, > > I am looking for a way to work out if a file on the internet exists before > attempting to download it using the function download.file(). For example, > using a url that does not exist > > url <- "http://fin

[R] download.file error

2008-03-31 Thread CHIB CO
Dear all, I am looking for a way to work out if a file on the internet exists before attempting to download it using the function download.file(). For example, using a url that does not exist url <- "http://finance.yahoo.com/ftse.csv"; destfile <- tempfile() download.file(url = url, destfile = d

Re: [R] download.file()

2008-03-18 Thread Paul Evans
reply! - Original Message From: Stefan Grosse <[EMAIL PROTECTED]> To: r-help@r-project.org; Paul Evans <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2008 1:57:46 PM Subject: Re: [R] download.file() On Tuesday 18 March 2008 06:32:18 pm Paul Evans wrote: PE> Also, is there a

Re: [R] download.file()

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 06:32:18 pm Paul Evans wrote: PE> Also, is there a method/package (in R) with which I can unpack a tar file PE> programatically? I guesses that question when I saw your tar file. Not that you not only need to un-tar but also to un-zip then several other files in that tar

Re: [R] download.file()

2008-03-18 Thread Paul Evans
IL PROTECTED] Sent: Tuesday, March 18, 2008 12:38:14 PM Subject: Re: [R] download.file() On Tue, Mar 18, 2008 at 9:10 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > /geodat *is* an absoute path! > > The second argument of download.file is called 'destfile', so

Re: [R] download.file()

2008-03-18 Thread Henrik Bengtsson
On Tue, Mar 18, 2008 at 9:10 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > /geodat *is* an absoute path! > > The second argument of download.file is called 'destfile', so what makes > you think it is a desination *directory*? The help file might be the source of confusion: "destfile: A cha

Re: [R] download.file()

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 04:59:45 pm Henrik Bengtsson wrote: HB> Also, you want to download the file in a binary fashion, i.e. use HB> argument mode="wb", otherwise your binary tar file will be corrupt. HB> HB> R-core: I'd suggest to replace the default to mode="wb" for file HB> transfers. I had

Re: [R] download.file()

2008-03-18 Thread Prof Brian Ripley
/geodat *is* an absoute path! The second argument of download.file is called 'destfile', so what makes you think it is a desination *directory*? Your command works for me, using an account that has write permission in / , and not otherwise. (It seems very unsafe that you would be using such a

Re: [R] download.file()

2008-03-18 Thread Paul Evans
Aaah...I see now. Thanks !! - Original Message From: Henrik Bengtsson <[EMAIL PROTECTED]> To: Paul Evans <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 11:59:45 AM Subject: Re: [R] download.file() On Tue, Mar 18, 2008 at 8:57 AM, Henrik Bengt

Re: [R] download.file()

2008-03-18 Thread Henrik Bengtsson
On Tue, Mar 18, 2008 at 8:57 AM, Henrik Bengtsson <[EMAIL PROTECTED]> wrote: > On Tue, Mar 18, 2008 at 8:46 AM, Paul Evans <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I wanted to download a file and did the following: > > - > > > fileLi

Re: [R] download.file()

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 04:46:12 pm Paul Evans wrote: PE> > download.file(fileLink,'/geoDat') I would have expected download.file(fileLink,"/geoDat/yourfilename") note that you need your complete path (or use setwd) -- Microeconomics University of Erfurt signature.asc Description: This is a

Re: [R] download.file()

2008-03-18 Thread Henrik Bengtsson
On Tue, Mar 18, 2008 at 8:46 AM, Paul Evans <[EMAIL PROTECTED]> wrote: > Hi, > > I wanted to download a file and did the following: > - > > fileLink <- > 'ftp://ftp.ncbi.nih.gov/pub/geo/DATA/supplementary/series/GSE1000/GSE1000_RAW.tar' >

[R] download.file()

2008-03-18 Thread Paul Evans
Hi, I wanted to download a file and did the following: - > fileLink <- > 'ftp://ftp.ncbi.nih.gov/pub/geo/DATA/supplementary/series/GSE1000/GSE1000_RAW.tar' > download.file(fileLink,'/geoDat') trying URL 'ftp://ftp.ncbi.nih.gov/pub/geo/DATA

Re: [R] download.file not working

2007-10-11 Thread Henrik Bengtsson
On 10/11/07, Gustaf Rydevik <[EMAIL PROTECTED]> wrote: > > So, if you download the same file using a web browser it works, ehe? > > Then look at the file size and you'll most likely find that it is > > different from when you use R code. Conclusion? Something is > > different and it works in the

Re: [R] download.file not working

2007-10-11 Thread Gustaf Rydevik
> So, if you download the same file using a web browser it works, ehe? > Then look at the file size and you'll most likely find that it is > different from when you use R code. Conclusion? Something is > different and it works in the web browser so you might tell R to do > something different fro

Re: [R] download.file not working

2007-10-10 Thread Henrik Bengtsson
On 10/10/07, Gustaf Rydevik <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to download a file from the net, and the download.file > command leaves it corrupted, i.e excel cannot open it. It seems as if > it's going ok, however. > Does anyone have an idea of what's going on? > > regards, > > Gu

Re: [R] download.file used incorrectly (was not working)

2007-10-10 Thread Prof Brian Ripley
On Wed, 10 Oct 2007, Gustaf Rydevik wrote: > Hi all, > > I'm trying to download a file from the net, and the download.file > command leaves it corrupted, i.e excel cannot open it. It seems as if > it's going ok, however. > Does anyone have an idea of what's going on? That is a binary file. You n

[R] download.file not working

2007-10-10 Thread Gustaf Rydevik
Hi all, I'm trying to download a file from the net, and the download.file command leaves it corrupted, i.e excel cannot open it. It seems as if it's going ok, however. Does anyone have an idea of what's going on? regards, Gustaf Rydevik >download.file(url="http://www.who.int/entity/whosis/