Error installing and running rcpp

后端 未结 4 1942
暗喜
暗喜 2021-01-12 04:24

I\'m pretty new to R so apologies for a stupid question. I\'m trying to get rcpp running but I\'m stuck in an endless loop of R asking me to re-install RTools.

I bro

4条回答
  •  清酒与你
    2021-01-12 04:40

    Had the same endless loop issue when trying to install Twitter's BreakoutDetection (which is also written in cpp)

    fixed by executing the following

    Sys.setenv(PATH="%PATH%;C:/Rtools/gcc-4.6.3/bin;c:/Rtools/bin")
    

    and then answering "no" when presented with the following prompt:

    "Install Build Tools Compiling C/C++ code for R requires installation of additional build tools. Do you want to install the additional tools now?"

    Didn't try these actions independently so not sure if either on their own would have fixed the issue

提交回复
热议问题