Question: how to check if a package is already installed in r?
Answer: Which packages do I already have? To see what packages are installed, use the installed. packages() command. This will return a matrix with a row for each package that has been installed.