rcurl

How do I use cookies with RCurl?

I am trying to write an R package that accesses some data via a REST API. The API, however, doesn't use http authentication, but rather relies on cookies to keep credentials with the session. Essentially, I'd like to replace the following two lines from a bash script with two R functions: One to perform the login, and store the session ...

How to isolate a single element from a scraped web page in R

Hello, I'm trying to do soemone a favour, and it's a tad outside my comfort zone, so I'm stuck. I want to use R to scrape this page (http://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410001/report.html ) and others, to get the goal scorers and times. So far, this is what I've got require(RCurl) require(XML) th...

how to download Big5 webpage using RCurl in R?

I am trying to use RCurl to download a webpage encoding in Big5, but the encoding is not right. I have been toying with the "encoding" parameters for a while but no use, any suggestions? Thanks. ...