i got a dataset online and i have tried different ways to omit, null, replace the infinite values but to now avail and i get the response Error in cov.wt(z) : 'x' must contain finite values only when i run princomp. please help.
I would really encourage you to review the following guide, FAQ: Tips for writing R-related questions. For example, the guide emphasizes asking coding questions with formatted code-chunks and a reprex, which would make it easier for people who want to help you to pick up your issue and attempt to run with a solution.