I'm following a book to learn R and I've hit a dead-end with using the function ggpairs.
I library ggplot2 and GGally and try to run ggpairs(cars.subset).
When I load GGally I get the following message:
Error: package or namespace load failed for ‘GGally’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘vctrs’ 0.5.2 is already loaded, but >= 0.6.0 is required
In addition: Warning message:
package ‘GGally’ was built under R version 4.2.3 "
As a result when I try to run ggpairs I get the following message:
Error in ggpairs(cars.subset) : could not find function "ggpairs"
As a result I'm in the dark about why ggpairs is not working to create a Scatter Plot Matrix, which is the goal.
The message with GGally also seems to be a problem. I'm not sure what to try next, please Help, if possible,