I have mojave 10.14.5 and R version 3.6.0 and also the latest R studio version. Everytime i try to install Caret package, R studio asks me to instal lattice and ggplot2 even though they are already installed. I am trying to run the lm code but it is not running and showing error. When i run the same code in a windows laptop, it is working perfectly and giving result. So i dont think there is any problem in the code. Attaching the screenshot
Could you share the error message you are getting? caret
seems to be loading normally in the screenshot you have posted.
Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.
If you've never heard of a reprex before, you might want to start by reading this FAQ:
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.