I am using a ubuntu AMI in my AWS and have launched a R studio server.
I am finding trouble in installing the R packages.
Whenever I try to install the packages I get an error
> Installing package into
> ‘/home/rstudio2/R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is
> unspecified) Warning in install.packages : dependency ‘xml2’ is not
> available also installing the dependencies ‘jsonlite’, ‘mime’, ‘curl’,
> ‘openssl’, ‘R6’, ‘httr’, ‘base64enc’, ‘digest’, ‘aws.signature’
>
>
> The downloaded source packages are in
> ‘/tmp/Rtmp1BrKS6/downloaded_packages’
Could anyone help me to backtrace the reason for error. Would be thankful, I have spent almost a day . could not figure out