0

I have started to learn Rprogramming on my own through Coursera platform. Even after following all the steps taught to us through video class, I cannot install the "ggplot2" package by entering the following code in the console

install.packages("ggplot2")

the output I got after running the above code is as follows

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/DEEPAK K R/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘ps’, ‘processx’, ‘callr’, ‘prettyunits’, ‘backports’, ‘desc’, ‘pkgbuild’, ‘rprojroot’, ‘rstudioapi’, ‘evaluate’, ‘pkgload’, ‘praise’, ‘colorspace’, ‘assertthat’, ‘utf8’, ‘testthat’, ‘farver’, ‘labeling’, ‘lifecycle’, ‘munsell’, ‘R6’, ‘RColorBrewer’, ‘viridisLite’, ‘cli’, ‘crayon’, ‘ellipsis’, ‘fansi’, ‘magrittr’, ‘pillar’, ‘pkgconfig’, ‘vctrs’, ‘digest’, ‘glue’, ‘gtable’, ‘isoband’, ‘rlang’, ‘scales’, ‘tibble’, ‘withr’

I'm using windows 10. looking forward to the answers!

rj-nirbhay
  • 649
  • 7
  • 23
  • 1. please, make your dependencies list easy to read. Why not use markdown to edit it? 2. What is the version of Rtools you are using? 3. This might be helpful https://stackoverflow.com/a/62209748/4026902 – RY_ Zheng Jun 26 '20 at 13:27
  • That is a warning not an error - it might have installed anyway - run library(ggplot2) to check – Richard Telford Jun 26 '20 at 15:27

0 Answers0