Hi,
anytime I go to knit a new R markdown doc, an error appears in the 'Render" tab;
Error: could not find function "install.packages"
Execution halted
I have run the markdown script on other computers and it works fine. I have uninstalled and reinstalled R, R studio, and R tools. I have tried this with both versions 4.1 and 4.2, both have the same problem.
Also, upon starting up R-studio, the
Error: could not find function "install.packages"
appears in the console tab as well.
All other functions work, I can install packages, load packages, do analysis etc., it is just when I go to knit an R markdown script does the error affect functionality.
Any help on this matter would be greatly appreciated.
Thank you
Larry