Returns the size of a file in HDFS.
The name of a file in HDFS. The file name can include a path that is either absolute or relative to the current path.
Specifies a unit of measurement for the return value:
The unit defaults to bytes if you omit the argument or enter an unknown value.
Use this interface to determine, for instance, whether you can copy the contents of an entire HDFS file into local R memory or a local file, or if you can only sample the data while creating a prototype of your R calculation.