[R] download.file()

From: Paul Evans <p.evans48_at_yahoo.com>
Date: Tue, 18 Mar 2008 08:46:12 -0700 (PDT)


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/supplementary/series/GSE1000/GSE1000_RAW.tar' ftp data connection made, file length 35307520 bytes opened URL
downloaded 34480Kb


However, when I look in the destination directory ('/geoDat'), the file is not there (I also tried giving it the absolute path).

What am I doing wrong?


Be a better friend, newshound, and

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 18 Mar 2008 - 15:49:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 18 Mar 2008 - 19:30:53 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive