Concept Flow - Package installation (install.packages)
Start R session
Call install.packages()
Check package name validity
Yes No
Download package
Install package files
Package ready to use
End
This flow shows how R starts installing a package: it checks the name, downloads, installs, and then the package is ready.