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
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
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
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
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()
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,
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
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
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
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
] [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
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 <
?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
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
14 matches
Mail list logo