I'm using DeployR for Microsoft R Server 2016, 8.0.5 for Windows.
I would like to install package XLConnect for work with Excel files:
> install.packages("XLConnect")
package 'XLConnect' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Windows\Temp\RtmpYnppvI\downloaded_packages
> library("XLConnect")
Console Error there is no package called 'XLConnect'
API Error there is no package called 'XLConnect'
What could be wrong? Thank you.
If we are working with
deployR
, there is a package nameddeployrUtils
which already has thedeployrPackage
function to load and install the package (if not present)Below is the code snippet for
deployrPackage
More info about the different functions in
deployrUtils
can be found here