In order to analyze the principal components (PCA) in the RStudio software environment, I installed various packages, including "ggplot2" , "factoextra" as well as "ggfortify". However, the entered codes give errors. It should be noted that one of the main errors is in res.pca which RStudio can not recognize. Would you please guide me how to run PCA in RStudio with appropriate codes?