Search code examples
rdata-sciencedata-analysis

What does ' ::Page{} ' do in R/RStudio?


What does ::Page{} do in R/RStudio ?

I'm studying Data Science through IBM certification course in coursera and the notes contain this line of code in all the code blocks and no explanation to what the "Page" function is doing

#load ggplot package

library(ggplot2)

::page{title="create a scatterplot of displacement (disp) and miles per gallon (mpg)"}

ggplot(aes(x=disp,y=mpg,),data=mtcars)+geom_point()

enter image description here

I tried googling but found no help, there was something similar "page()" instead of "Page{}" as in my notes, but that was something completely different.


Solution

  • Ig it was just a code mistake on the author side, cuz if I run without those colons it runs fine as intended.