Displaying 20 results from an estimated 9000 matches similar to: "default destfile in download.file()"
2023 Apr 12
1
R-error
Hello,
I run R 4.2.2 on CentOS-7.6. I install package through install.packages("sf").It threw the above error:
> install.packages('sf')
--- Please select a CRAN mirror for use in this session ---
*** caught segfault ***
address 0x60, cause 'memory not mapped'
Traceback:
1: download.file(url, destfile = f, quiet = TRUE)
2: doTryCatch(return(expr), name, parentenv,
2010 Mar 17
0
In readGDAL(destfile, silent = TRUE) : GeoTransform values not available
Dear Ruser,
I am trying to use the map library. But I have been problem the follow
message.
Warning message:
*In readGDAL(destfile, silent = TRUE) : GeoTransform values not available
*
library(rgdal)
library(RgoogleMaps)
> GetMap(markers =
'40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc',
destfile = "MyTile1.png");
Read 1 item
[1]
2008 Mar 31
1
download.file error
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 = destfile)
# gives the following response ...
trying URL
2008 Oct 01
1
changing 'https' to 'http' when using download.file(), any side effects or just use RCurl?
Dear R-Help,
>From reading the help file, it is my understanding the the download.file()
function does not support HTTPS connections. So therefore, understandably,
the follow produces an error:
### R Code
> url <- "https://stat.ethz.ch/pipermail/r-help/2008-October/thread.html"
> destfile <- "//PFO-SBS001/Redirected/tonyb/Desktop/R_web_test/tmp.txt"
>
2011 Nov 08
2
download.file
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 it exits when there is an error or file not present. How can I use
"try" and "if"
2011 Sep 16
1
download files using ftp: avoid error
I am planning to download a large number of files from some website. I am
using the following script.
files2down = c('aaa', 'bbb', ................)
for (i in 1: len)
{
print(paste('downloading file', i, ' of total ', len));
url = paste(urlPrefix, files2down[i], sep='')
destfile = paste (dest, 'inDir', files2down[i], sep='/' )
2015 Aug 27
1
Issues with libcurl + HTTP status codes (eg. 403, 404)
R-devel r69197 returns appropriate errors for the cases below; I know of a few
rough edges
- ftp error codes are not reported correctly
- download.file creates destfile before discovering that http fails, leaving an
empty file on disk
and am happy to hear of more.
Martin
On 08/27/2015 08:46 AM, Jeroen Ooms wrote:
> On Thu, Aug 27, 2015 at 5:16 PM, Martin Maechler
> <maechler at
2005 Mar 30
1
Mistype in CRAN mirror list(doc/CRAN_mirrors.csv) (PR#7759)
Full_Name: Masafumi OKADA
Version: 2.0.1
OS: Windows
Submission from: (NULL) (130.158.158.65)
In the list of CRAN mirrors($R_HOME/doc/CRAN_mirrors.csv), I found a mistyping.
Mirror in University of Tsukuba is described as "Tsukaba", not "Tsukuba".
I know "Tsukuba" is correct, because I'm webmaster of this mirror :-)
Current:
"Japan
2010 Mar 19
1
error in map library
Dear Ruser,
>
>
> I am trying to use the map library. But unfortunately I am facing the
> warning message above:
> Warning message:
> *In readGDAL(destfile, silent = TRUE) : GeoTransform values not available
> *
I want to use that library because I intend to plot some station in a
Brazilian map.
I really appreciate any help.
>
>
===here what I was testing========
2007 Jul 02
1
download.file - it works on my Mac but not on Windows.
Hi:
I am working with someone remotely to allow them access to our data.
The follow command using "download.file" works perfectly on my Mac:
> > download.file(url="http://oceanwatch.pfeg.noaa.gov:8081/thredds/
> wcs/satellite/AG/ssta/14day?
> request=GetCoverage&version=1.0.0&service=WCS&format=NetCDF3&coverage=
>
2008 Sep 04
1
Error with update.packages()
R-helpers:
I just updated from R 7.0 to R 7.2.2 today. I am using MAC OS X
version 10.5.4 on a Macbook to run R.
----------------------------
> sessionInfo()
R version 2.7.2 (2008-08-25)
i386-apple-darwin8.11.1
locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace
2007 Mar 08
1
cant fully capture child output
I cant seem to get the io from a child process of a worker back to my
client. There most be something academic I''m missing :/. I looked at
examples in Pickaxe and Ruby PLEAC library ... and I believe the following
should work:
# called from within do_work...
def backup(repo)
logger.info(''SvnWorker backup repo ''+repo)
tmp = []
my_project =
2010 May 13
3
R cannot access the web?
Hi,
I had originally posted regarding an error when trying to install package -
GenABEL - it has now become clear that R is not able to connect to the net.
Below are a couple of things I've tried with the resulting errors
I am running R 2.6.2 on Linux e15 X86
How can I fix this? Thank you!
1) download.file("http://www.nytimes.com", destfile<-tempfile())
Error:
trying URL
2012 Aug 28
1
R Download 'Permission Denied'
Hello,
I am receiving a 'Permission Denied' error when trying to use the R Download
funtion.
I am wondering if this is a:
- Error in the code
- Permissions issue at source
- Permissions issue at destination.
If you could shed any light on this it would be very much appreciated, below
is a sample of the code.
Code
2006 Jan 09
1
Saving an upload
I am creating a database for movies (films) and television shows (shows)
that will have has_and_belongs_to_many relationships with the pictures
table.
CREATE TABLE screenshots (
id serial NOT NULL,
filename character varying NOT NULL,
content_type character varying NOT NULL,
primary key (id)
);
CREATE TABLE films (
id serial NOT NULL,
name character varying NOT NULL,
2007 Sep 14
1
segfault in download.file
Hello,
I was trying to use get.hist.quote in tseries, and got a segfault:
-8<-----------------------------------
> library(tseries)
Loading required package: quadprog
Loading required package: zoo
'tseries' version: 0.10-6
'tseries' is a package for time series analysis and computational
finance.
See 'library(help="tseries")' for
2008 Aug 13
1
problems with packages tseries and robustbase
Dear R Users,
Is there a known problem with downloading packages robustbase and tseries
from the UK CRAN website ?
Thanks in advance,
Tolga
=========================================================
R version 2.7.1 (2008-06-23)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to
2020 Jun 22
4
R 4.0.2 is released
The build system rolled up R-4.0.2.tar.gz (codename "Taking Off Again") this morning.
The list below details the changes in this release.
You can get the source code from
http://cran.r-project.org/src/base/R-4/R-4.0.2.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you.
Binaries for various platforms will appear in due course.
For the R Core Team,
Peter Dalgaard
2007 Mar 01
2
FTP download from ftp.sec.gov
All,
I have managed to download files from web sites and ftp sites using R,
so just for fun I tried to do so from the SEC's ftp site using the
following code:
ftp <- "ftp://anonymous:test at ftp.sec.gov/edgar/full-index/company.idx"
download.file(url=ftp, destfile="test.txt")
And it does not work. R says it cannot open the URL. If I paste the ftp
part into IE it
2013 Apr 28
2
unsupported url scheme
fileUrl <- "https://data.baltimorecity.gov/api/views/dz54-2aru/rows.csv?accessType=DOWNLOAD"download.file(fileUrl,destfile="./data/Cameras.csv",method="curl") I tried it after installing package "RCurl" but it give error message: Error in download.file(fileUrl, destfile = "Cameras.csv") :
unsupported URL schemeI can you help me to solve this