bookdown install failed with Microsoft R Client RRS feed

  • Question

  • I encountered the following error when I try to run 


    Installing bookdown
    "G:/Microsoft/R Client/R_SERVER/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet  \
      CMD INSTALL  \
      "C:/Users/alone/AppData/Local/Temp/Rtmp8KLhZS/devtools1840330b5bb8/rstudio-bookdown-90118ff"  \
      --library="G:/Microsoft/R Client/R_SERVER/library" --install-tests
    'G:\Microsoft\R' is not recognized as an internal or external command,
    operable program or batch file.
    Error: Command failed (1)

    I found that when I call R.exe in Windows command line, the same error will appear.
    My operating system is Windows 10 64bit, R version is Microsoft R client 64bit 3.3.2, I tried to install bookdown in Rstudio and RGui, both will complain the error above.

    Can anyone help me?

    Saturday, January 21, 2017 2:57 AM

All replies

  • Hi,

    you are having a whitespace in your path to R engine; "G:/Microsoft/R Client/.....".

    Take care that the whitespace get's correctly interpreted by CMD command.

    Best, Tomaž

    Sunday, January 22, 2017 8:33 PM