Converts an HDFS path name to an R
A string or text expression that resolves to an HDFS file name.
TRUE if the file need not exist, or set to
FALSE to ensure that the file does exist.
TRUE if the string matches an HDFS file name, or
NULL if a file by that name is not found
This example creates a
dfs.id object for /user/oracle/demo:
R> hdfs.id('/user/oracle/demo')  "user/oracle/demo" attr(,"dfs.id")  TRUE
The next example creates a
dfs.id object named
id for a nonexistent directory named /user/oracle/newdemo, after first failing:
R> id<-hdfs.id('/user/oracle/newdemo') DBG: 16:11:38 [ER] "/user/oracle/newdemo" is not found R> id<-hdfs.id('/user/oracle/newdemo', force=T) R> id  "user/oracle/newdemo" attr(,"dfs.id")  TRUE