Not too sure about calculus, but there is so much you can do with linear algebra in R. These topics might be a bit beyond the scope of a first lin alg course, but you can look into matrix decompositions like SVD and QR, and even PCA can be useful for ML and data analysis. The book I used to learn about these things was Numerical Linear Algebra by Trefethen and Bau, and each of the topics I mentioned have applications in data science and are implementable in R.