you can use RCurl for web connections from Duncan Lang, see its paper:
http://www.omegahat.org/RCurl/RCurlJSS.pdf
getURL there will solve your problem.
On Sun, Nov 18, 2012 at 2:07 AM, veepsirtt veepsi...@gmail.com wrote:
Hi R,
I installed wget and tried to download the file from this
Hi R,
I installed wget and tried to download the file from this
http://nseindia.com/content/equities/scripvol/datafiles/16-11-2012-TO-16-11-2012ACCEQN.csv
but it fails.
How to get it using wget?
thanks
veepsirtt
#Define Working Directory, where files would be saved
setwd('G:/NIFTY')
#Define
On 16/10/2012 02:33, veepsirtt wrote:
Currently download methods internal, wget, curl and lynx are
available.
If wget is not possible under windows,how to use 'curl'?.
But it is. You need the programs wget or curl installed and in your
path: pre-compiled versions for Windows are available if
Hello Prof Brian Ripley
I installed wget for windows from http://users.ugent.be/~bpuype/wget/
http://users.ugent.be/~bpuype/wget/ and got the results
very thanks
veepsirtt
Have you tried downloading it manually using a web browser or similar?
If so, compare that downloaded file to that you get from
download.file() and see if they're the same. If the same, the problem
is elsewhere (which is not unlikely to be the case). /H
On Mon, Oct 15, 2012 at 6:15 PM,
Hi
Download the xls file from this link
http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls
http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls
I tried this
---
library(XLConnect)
url =
Hello,
Your page returns access denied:
library(RCurl)
url - http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls;
xls - getURL(url)
cat(xls)
HTMLHEAD
TITLEAccess Denied/TITLE
/HEADBODY
H1Access Denied/H1
You don't have permission to access
Mr Jeffrey Breen
mailed me the following code.
but it is not giving me the results under Windows 7.
With regards
veepsirtt'
library(XLConnect)
url = http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls;
local.xls.file = tempfile()
download.file(url, local.xls.file,
You didn't say what errors you've got but you probably wants to
specify argument mode=wb in your download.file() call, cf.
https://stat.ethz.ch/pipermail/r-devel/2012-August/064739.html
/Henrik
On Mon, Oct 15, 2012 at 1:57 AM, veepsirtt veepsi...@gmail.com wrote:
Hi
Download the xls file
Hi Henrik,
i included the mode='wb' but gives me this error.
What is the other method to download the excel file?.
With kind regards
veepsirtt
library(XLConnect)
url = http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls;
local.xls.file = tempfile()
download.file(url,
Currently download methods internal, wget, curl and lynx are
available.
If wget is not possible under windows,how to use 'curl'?.
thanks
veepsirtt
--
View this message in context:
http://r.789695.n4.nabble.com/Download-a-file-from-url-tp4642985p4646296.html
Sent from the R help mailing list
11 matches
Mail list logo