How to open a website in R



I came across that any site can be opened in R but I am not able to open it in R for example I want to open google site in R


One way is to use the library RCurl to open the urls and read the data.