From what I know Hue is a tool to access Hive table through Hive or Impala (even other). I don't think you can connect R to HUE.
At my work, we use impala with odbc driver to connect to Hive table from R. You could also use Hive directly if you setup the environment.
Try to follow documentation about obdc and Hive or Impala to find how to do it. Once you'll have a working odbc connection (without R), it will be very easy to use it from R.