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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!