How do I load packages into R studio ?


I have set my working directory and have storng internet connection, however R will not allow me to instal any packages and this is what keeps coming up in the console after trying to install ....

also installing the dependencies ‘Rcpp’, ‘extraDistr’
Error in install.packages : Line starting '<!DOCTYPE HTML PUBLI ...' is malformed!

The stackoverflow post linked below suggests

install.packages("trend", method = "libcurl")

Please let me know if that worked. I would not have guessed that solution!

try the below option, nice and clean approach

if (!require("pacman"))
pacman::p_load(shiny, shinydashboard, RPostgreSQL, dplyr, ggplot2, DT)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.