Skip to content
Take screenshots of web pages from R
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Detect local file URLs Aug 6, 2019
man
.Rbuildignore Iniital commit Mar 7, 2019
.gitignore gitignore .Rhistory Jul 24, 2019
DESCRIPTION Fixes for R CMD check Jul 30, 2019
NAMESPACE Import code from webshot Jul 20, 2019
README.md
webshot2.Rproj

README.md

webshot2

webshot2 is meant to be a replacement for webshot, except that instead of using PhantomJS, it uses headless Chrome via the Chromote package

Installation

webshot2 currently depends on a number of in-development packages.

devtools::install_github("rstudio/webshot2")

You also need to have the Chrome browser installed on your system. You can also use other browsers based on Chromium, such as Chromium itself, Edge, Vivaldi, Brave, or Opera.

Usage

library(webshot2)

# Single page
webshot("https://www.r-project.org")

# Multiple pages (in parallel!)
webshot(c("https://www.r-project.org", "https://www.rstudio.com"))
You can’t perform that action at this time.