error in installing RxODE

Hi, i am new to programming languages. i tried to install RxODE in Rstudio . but it continuously shows below error. some body please try to help. im using R-4.0.2, R Studio - 1.3.1

 library(RxODE)
Error: package or namespace load failed for ‘RxODE’:
 .onAttach failed in attachNamespace() for 'RxODE', details:
  call: !.rxWinRtoolsPath(retry = NA)
  error: invalid argument type 

Hi,

Welcome to the RStudio community!

The issue you are having is because you have not installed Rtools. It's not clear from the error, but looking at the rxode code it should produce a better error message explaining that, but is doesn't :slight_smile:

So follow this guide to install Rtools40, and don't forget to add the path.

Once you installed Rtools, added the path and restarted Rstudio, the library should load. I tested it and it does fix it.

Hope this helps,
PJ

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.