So, a lot of that is in base R. For example:
Which is one of the nice things with R - you often don’t need external dependencies (i.e. numpy, pandas, scikit-learn, etc. - these python modules are used to make python emulate base R). Now, if you do need specialised things, there are things like caret
that provide a unified interface to various other ML libraries.