Does R by default store a log of the installation messages anywhere? If not, is there a way to have it log them on a file?
Sometimes I let R install various pacakges automatically, e.g.
install.packages("caret", dependencies=c("Depends", "Suggests"))
which can take hours and the installation log does not fit on the scroll buffer, so I can't see how the installation proceeded. It would be great if I can have R save this log somewhere (in addition to showing it on the terminal)
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.
The installed. packages() function shows a list of packages currently installed in an RStudio session. You can then locate the names of the packages and what's needed to use functions from the package.
An installation package contains all of the information that the Windows Installer requires to install or uninstall an application or product and to run the setup user interface.
Try to login to salesforce org and navigate to Quick Find ---> Installed Packages. You can find package details if it is installed sucessfully. If you see any error or package being not installed properly.
If you only need to know how the installation went (warnings and errors), the following may be sufficient for your needs:
sink("sink.txt")
install.packages("caret", dependencies=c("Depends", "Suggests"))
sink()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With