r - How do I Install RHadoop package rhdfs from Github using Devtools -


how install rhadoop github using devtools

i wanting install rhdfs https://github.com/revolutionanalytics/rhdfs

but doesnot work

i tried following

> install_github("https://github.com/revolutionanalytics/rhdfs") error in username %||% getoption("github.user") %||% stop("unknown username.") :    unknown username. > install_git("https://github.com/revolutionanalytics/rhdfs") downloading git repo https://github.com/revolutionanalytics/rhdfs error: not appear r package (no description) > install_git("https://github.com/revolutionanalytics/rhdfs/pkg") downloading git repo https://github.com/revolutionanalytics/rhdfs/pkg error in git2r::clone(x$url, bundle, progress = false) :    error in 'git2r_clone': unexpected http status code: 404 

and

> url="https://github.com/revolutionanalytics/rhdfs/blob/master/pkg/r/hdfs.r" > source_url(url = url) sha-1 hash of file 106c6441dcc7e8e4ee21a6dd3725ca21c4103ce7 error in source(temp_file, ...) :    /tmp/rtmplcswze/file16aa477002e1:4:1: unexpected '<' 3:  4: < 

two problems here:

  1. the installation instructions rhadoop less clear. however, still need rtfm rhadoop (e.g. https://github.com/revolutionanalytics/rhadoop/wiki/user%3ermr%3ehome setting environment variables such hadoop_cmd.

  2. you using wrong syntax install_github(). try:

    devtools::install_github("revolutionanalytics/rhdfs", subdir = "pkg") 

Comments