l <- hdfs.read.text.file("/user/ychen/id.csv")
> l
$read
function (nl = n)
{
.jcall(f, "[Ljava/lang/String;", "getLines", as.integer(nl))
}
<environment: 0x39a81a8>
$close
function ()
.jcall(f, "V", "close")