How to Use Commands on My Macbook Pro

When I try using RStudio on my Macbook Pro, it doesn't work. I do not know what to do. This is an example of what I get:

install.packages("summarytools")
Warning in install.packages :
dependencies ‘dplyr’, ‘digest’, ‘rlang’, ‘lifecycle’, ‘vctrs’ are not available
also installing the dependencies ‘stringi’, ‘crayon’, ‘cli’, ‘utf8’, ‘backports’, ‘fastmap’, ‘generics’, ‘Rcpp’, ‘magrittr’, ‘curl’, ‘stringr’, ‘lobstr’, ‘reshape’, ‘plyr’, ‘ellipsis’, ‘fansi’, ‘pillar’, ‘pkgconfig’, ‘glue’, ‘purrr’, ‘tidyselect’, ‘cpp11’, ‘base64enc’, ‘checkmate’, ‘htmltools’, ‘lubridate’, ‘magick’, ‘matrixStats’, ‘pander’, ‘pryr’, ‘rapportools’, ‘tibble’, ‘tidyr’

Error in install.packages : Line starting '<!DOCTYPE HTML PUBLI ...' is malformed!

You did install R first, right? And the R.app works?

Thank you! No, I forgot to download R first. I think it does work. I did have some issues with it before (even after downloading R, so I used Windows instead), but it looks like it's working.

1 Like

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.