HDFS connections in R