Command failed (1)

61 views
Skip to first unread message

jliu3706

unread,
Apr 19, 2017, 12:07:51 PM4/19/17
to devtools
Hi All

I tried to simulate R codes in file "Principles of Econometrics with R" (by Constantin Colonescu), and run the code: 

        install.packages("devtools")
        devtools::install_git( "https://github.com/ccolonescu/PoEdata")

But got the error message:

    > devtools::install_git( "https://github.com/ccolonescu/PoEdata")
    Downloading git repo https://github.com/ccolonescu/PoEdata
    Installing PoEdata
    "//utilities.local/users/nh/jliu/DOCUME~1/R/R-33~1.3/bin/x64/R" --no-site-file --no-environ  \
      --no-save --no-restore --quiet CMD INSTALL  \
      "C:/Users/jgliu/AppData/Local/Temp/RtmpEdcZde/file1cb811b51130"  \
      --library="\\utilities.local/users/NH/jliu/Documents/R/win-library/3.3" --install-tests 

    '\\utilities.local\users\nh\jliu\DOCUME~1\R\R-33~1.3' is not recognized as an internal or external command,
    operable program or batch file.
    Error: Command failed (1)

No idea what was wrong.

Could anyone know how to fix the problem?

Thank you very much!

Victor Ordu

unread,
May 22, 2017, 6:10:57 AM5/22/17
to devtools
Hi. I don't know if you've found a way around this problem yet, but this line in the error message

 '\\utilities.local\users\nh\jliu\DOCUME~1\R\R-33~1.3'

makes me wonder and ask this question: Did you install R in your "DOCUMENTS" folder?

Cheers
Reply all
Reply to author
Forward
0 new messages