I am trying to run an R code in Ubuntu 16.04 LTS for sending SMS via Plivo, in my script I am using a library
#!/usr/bin/env Rscript
library(httr)
code ....
After running this I get the error below
Error in library(httr) : there is no package called ‘httr’
Execution halted
Can anyone please help me?