Rstudio connection to remote hadoop cluster using sparklyr

Can someone please let me know how do I connect to a remote hadoop hortonworks cluster using sparklyr. Connection string would be great.


I would watch one of the tutorials provided by Rstudio like this one

or read the documentation here: