Skip to content
Back to formatted view

Raw Message

Message-ID: <CABFfbXsLCB0YSNGTnCR_izYRw1EpjvV9hOJyGJJCNx6BkRrQeA@mail.gmail.com>
Date: 2020-04-30T08:38:52Z
From: Jeroen Ooms
Subject: Rtools required
In-Reply-To: <34ffe72d-689c-62d3-eee3-4b789a6ca684@hqu.edu.cn>

On Wed, Apr 29, 2020 at 11:37 PM Steven <syen at hqu.edu.cn> wrote:
>
> Hello John,
>
> Perhaps you can help me. I am an idiot. I visited the Rtools web page
> and learn to run the following lines in R: Still I am getting the same
> warning message.
>
>  > writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con =
> "~/.Renviron")
>  > Sys.which("make")
>                                make
> "C:\\rtools40\\usr\\bin\\make.exe"

That looks OK. Did you restart rstudio?

How exactly are getting this error? Are you using install.packages()
in R? Or using the pkgbuild package?

Also are you running the latest version of rstudio? I think old
versions may have had difficulty finding rtools40.