google: Use Google Search from the R command line.

Description Usage Arguments Value Examples

Description

Use Google Search from the R command line.

Usage

1
google(query = "", n = 10)

Arguments

query

Search query

n

Max number of results returned.

Value

Prints the URLs returned by Google Search to screen and invisibly returns a character vector of the URLs.

Examples

1
2
3
4
5
r <- google("use google from command line")
## Not run: 
browseURL(r[1])

## End(Not run)

gschofl/gsmisc documentation built on May 17, 2019, 8:52 a.m.