You can follow the instructions for installing R on Mac
https://docs.knime.com/2019-12/r_installation_guide/index.html