Question: using R The function `readLines()` is very useful for this purpose. a. The link of ggplot2 documentation is http://docs.ggplot2.org/current/ and we would like to get
using R
The function `readLines()` is very useful for this purpose.
a. The link of ggplot2 documentation is http://docs.ggplot2.org/current/ and we would like to get the list of ggplot2 geoms from there. Write a regular expression that would extract all the geoms names (geom_bar is one of them) from this link and display the unique geoms. How many unique geoms does it have?
b.Write a regular expression that would extract all the http web links addresses from the link. Display the results that show only the http web link addresses and nothing else.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
