Two examples of using packages

It is always a good idea to use examples to illustrate how useful or important it is to understand some closely related packages. The first example is extremely simple: generate a QR code for the CNN website. It has just two lines. Note that you need to run install.packages("qrcode") if the package is not preinstalled:

> library(qrcode) 
> qrcode_gen("https://www.cnn.com") 

The generated QR code is shown here. Users can use the QR scanner installed on their cell phone to go to the CNN website:

For the second example, we believe the best example for the researchers and users in the area of data science is an R ...

Get Hands-On Data Science with Anaconda now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.