View on GitHub

Web example

Try and pay with web development

Download this project as a .zip file Download this project as a tar.gz file

Introduction

Selenium is a popular suite of tools specifically for automating web browsers. Selenium allows users to write tests in a number of popular programming languages including Java. The relenium package is intended to provide access to Selenium and use it to boost web navigation and to ease the path for web scraping in R.

Development

Some members of the Barcelona R user group are developing relenium. Right now, relenium is in beta testing. Some errors could be found and documentation is still been improved.

Installation

You can install relenium from github using the devtools package. A recent version of a Java Runtime Environment (JRE) and Firefox web browser are required. seleniumJars and rJava R packages are also needed, you can get rJava from CRAN and seleniumJars from github.

install.packages("rJava")

require(devtools)

install_github('seleniumJars', 'LluisRamon')
install_github('relenium', 'LluisRamon')

In case you are using Windows you will also need rtools. In case R is trying to access on Intenet through a proxy, follow this SO question.

Bugs and new features

To report technical problems with relenium, please file an issue on Github with a short reproducible example. Feedback is welcomed and any new features should be filed as issues as well.