similar to: Finding the right url for RCurl

Displaying 20 results from an estimated 1000 matches similar to: "Finding the right url for RCurl"

2010 Jul 21
1
Command that is conditional upon file retrieval: is it possible?
Hi all, I'm currently working on an R program where I have to access an FTP server to download some of the data I need. However, the people who post up the files I access are at times inconsistent with regards to time posted, if they post at all, etc.... Here's some of the code I use: library(RCurl) url1 = paste("ftp://user:password at a.great.website.com/",
2010 Sep 22
2
Unique subsetting question
Hi all, I'm looking at a large data set, and I'm interested in removing rows where only one variable is duplicated. Here's an example: > presidents Qtr1 Qtr2 Qtr3 Qtr4 1945 NA 87 82 75 1946 63 50 43 32 1947 35 60 54 55 1948 36 39 NA NA 1949 69 57 57 51 1950 45 37 46 39 1951 36 24 32 23 1952 25 32 NA 32 1953 59
2010 Jul 15
2
Search and extract string function
Hi all, I'm trying to write a function that will search and extract from a long character string, but with a twist: I want to use the characters before and the characters after what I want to extract as reference points. For example, say I'm working with data entries that looks like this: Drink=Coffee:Location=Office:Time=Morning:Market=Flat
2008 Jul 25
1
Installation error for RCurl in Redhat enterrpise 5
I am getting the following error while trying to install the RCurl library. I have checked that the curl and the libcurl.so.3 is already installed in the /usr/bin > install.packages("RCurl") --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done trying URL 'http://cran.hostingzero.net/src/contrib/RCurl_0.9-3.tar.gz' Content type
2011 Apr 03
1
problem in install RCurl in R (Ubuntu Linux)
I have some problem in running R-cran's Demography package. The hmd.mx function need Rcurl. I tried to install RCurl, but meet the following error: ********************************************************************* ... * installing *source* package ?RCurl? ... checking for curl-config... no Cannot find curl-config ERROR: configuration failed for package ?RCurl? * removing
2011 Jun 06
1
RCurl and kerberos
Dear list, I would like to call a Kerberos-authenticated web-service from within R. Curl can do it: $ curl --negotiate -u : "http://my.web.service/" so I would expect that RCurl also has the capability, but I have not been able to find the correct options to set. listCurlOptions() does not return anything with negotiate, and searching the source of RCurl, the only thing I found was
2012 Jun 07
1
How to set cookies in RCurl
Hi, I am trying to access a website and read its content. The website is a restricted access website that I access through a proxy server (which therefore requires me to enable cookies). I have problems in allowing Rcurl to receive and send cookies. The following lines give me: library(RCurl) library(XML) url <- "http://www.theurl.com" content <- readHTMLTable(url) content
2011 Feb 17
1
RCurl HTTP Post ?
According to [1] and [2], using RCurl to post a form with basic authentication is done using the postForm method. I'm trying to post generated interpolation data from R onto an HTTP form. The call I'm using is page <- postForm('http://our.server.com/dbInt/new', opts = curlOptions=(userpwd="test:test", verbose=T), profileid = "-1", value="1.801",
2008 Aug 28
1
RCurl: authentication when posting forms
Hi, Has anyone successfully used RCurl for posting data to a password-protected site? I have tired using option netrc=1 with both postForm and curlPerform (with postfields option) but can't authenticate. I would happily provide more details if some one has had some experience with this. Thanks very much. Valerie
2010 Jan 31
1
RCurl : limit of downloaded Urls ?
Dear Rexperts, I am using R to query google. I am getting different results (in size) for manual queries and queries sent through "getForm" of RCurl. It seems that RCurl limits the size of the text retrieved (the maximum I could get is around 32 k bits). Any idea how to get around this ? Thanks in advance [[alternative HTML version deleted]]
2015 Feb 06
0
Rcurl crash in R-devel
Update taking into account the answer of Prof Ripley. ___________________________________________________ Below is a reproducing example that produces the crash. If I do exactly the same in R 3.1.2, it works perfectly. I have the lastest libcurl library (curl @7.40.0) installed So, perhaps indeed that the problem originates from RCurl, but the problem appears only in R 3.2. But before to
2007 Oct 16
1
problem with RCurl 0.8-1 installation on Debian Etch
Dear R-Users, I am having some trouble getting an installation of RCurl 0.8-1 to work properly on a Debian (Etch) machine. The command 'R CMD INSTALL RCurl_0.8-1.tar.gz' yields the following error: Installing *source* package 'RCurl' ... checking for curl-config... no Cannot find curl-config ERROR: configuration failed for package 'RCurl' I do know that a file is
2009 Feb 18
1
R as a web scraping tool using RCurl
Hi List, I am trying to leverage my knowledge of R in trying to use it for tasks that may not make R the best choice for these tasks. I wish to automate a web scraping task, which requires a multi-step procedure: 1) log in to a website 2) Go to a particular page 3) From the drop down menu, click on a particular link 4) From the tabulated data presented, choose relevant information based on a
2013 Jun 15
1
Downloading CSV file - RCurl help
There are some CSV file from the link below. I'm having trouble installing the package. Is this the package I have to use or is there another one I need to use? If so how do I get this one loaded. https://www.enmax.com/Power/Energy+Retailers/Settlement+Reports/Profile+settlement+report.htm install.packages("RCurl", repos =
2012 Jan 30
1
RCurl format
I am having trouble with the postForm function in RCurl. I want to send a the command DELETE https://somewebsite.com.json but I can't seem to find it. I could try: postForm(url, _method="DELETE", .opts = list(username:password) ) but I get the error: Error: unexpected input in " postForm(url4, _" this error seems to be due to the underscore "_"
2011 Feb 11
0
RCurl - HTTP request of header ONLY
Hi everyone, I'm trying to send an HTTP request using RCurl that only requests the response header, not the actual content. http://curl.haxx.se/docs/httpscripting.html says you can do this by using the following option: curl --head http://www.something.com/ However, I can't figure out how to do this when using 'getURL()', for example. Here's what I tried: FIRST TRY txt
2010 Dec 03
1
Problem installing RCurl
I have 64-bit R 2 12 0 installed on Solaris 10 of Sun Sparc. When I tried to install RCurl, it failed with the following lines, ............... Version has CURLOPT_SSL_SESSIONID_CACHE libcurl version: libcurl 7.19.6 configure: creating ./config.status config.status: creating src/Makevars ** libs cc -xc99 -m64 -xarch=sparcvis2 -I/apps/sparcv9/R-2.12.0/lib/R/include -I/opt/csw/include
2009 Feb 26
2
ftp fetch using RCurl?
Hi everyone, I have to fetch about 300 to 500 zipped archives from a remote ftp server. Each of the archive is about 1Mb. I know I can get it done by using download.file() in R, but I am curious that is there a faster way to do this using RCurl. For example, are there some parameters that I can set so that the connection does not need to be rebuilt....etc. A even simpler question is, how can I
2012 Jun 08
0
Multiple sub-architecture: problem installing RCurl
Hi, for checking purposes, I setup a multiple sub-architecture R installation following this post from Simon Urbanek: https://stat.ethz.ch/pipermail/r-devel/2011-August/061755.html It all went fine. The only change I made to Simon's procedure was to install with: make prefix=~/bin/R/2.15 install instead of sudo make install rhome=/usr/local/R/2.15. I am now trying to install RCurl in
2010 Nov 20
1
Where can I find a working libeay32.dll file for RCurl ?
Hi all, I was trying to run the latest version of RCurl on windows 7 with R 2.12 and got a "missing libeay32.dll" error. I now downloaded such a file from here: http://code.google.com/p/aion-inside/source/browse/trunk/out/libeay32.dll?spec=svn10&r=10 And placed it in the system32 folder. Now I get the following error: "The procedure entry point EVP_md2 could not be located in