install.packages('ggplot2')
There is a binary version available but the source version is later:
binary source needs_compilation
ggplot2 3.2.1 3.3.0 FALSE
installing the source package ‘ggplot2’
trying URL 'https://cran.rstudio.com/src/contrib/ggplot2_3.3.0.tar.gz'
Content type 'application/x-gzip' length 3031461 bytes (2.9 MB)
downloaded 2.9 MB
- installing source package 'ggplot2' ...
** package 'ggplot2' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'ggplot2'
finding HTML links ... done
absoluteGrob html
add_theme html
aes html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/aes.Rd:35: file link 'quotation' in package 'rlang' does not exist and so has been treated as a topic
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/aes.Rd:39: file link 'quasiquotation' in package 'rlang' does not exist and so has been treated as a topic
aes_ html
aes_all html
aes_auto html
aes_colour_fill_alpha html
aes_eval html
aes_group_order html
aes_linetype_size_shape html
aes_position html
annotate html
annotation_custom html
annotation_logticks html
annotation_map html
annotation_raster html
as.list.ggproto html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/as.list.ggproto.Rd:16: file link 'as.list.environment' in package 'base' does not exist and so has been treated as a topic
as_labeller html
autolayer html
autoplot html
benchplot html
bidirection html
binned_scale html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/binned_scale.Rd:51: file link 'extended_breaks' in package 'scales' does not exist and so has been treated as a topic
borders html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/borders.Rd:34: file link 'pathGrob' in package 'grid' does not exist and so has been treated as a topic
calc_element html
combine_vars html
continuous_scale html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/continuous_scale.Rd:49: file link 'extended_breaks' in package 'scales' does not exist and so has been treated as a topic
coord_cartesian html
coord_fixed html
coord_flip html
coord_map html
coord_munch html
coord_polar html
coord_trans html
cut_interval html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/cut_interval.Rd:30: file link 'cut.default' in package 'base' does not exist and so has been treated as a topic
diamonds html
discrete_scale html
draw_key html
economics html
element html
element_grob html
element_render html
expand_limits html
expansion html
facet_grid html
facet_null html
facet_wrap html
faithfuld html
find_panel html
fortify-multcomp html
fortify html
fortify.lm html
fortify.map html
fortify.sp html
geom_abline html
geom_bar html
geom_bin2d html
geom_blank html
geom_boxplot html
geom_contour html
geom_count html
geom_density html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/geom_density.Rd:96: file link 'bw.nrd' in package 'stats' does not exist and so has been treated as a topic
geom_density_2d html
geom_dotplot html
geom_errorbarh html
geom_hex html
geom_histogram html
geom_jitter html
geom_linerange html
geom_map html
geom_path html
geom_point html
geom_polygon html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/geom_polygon.Rd:48: file link 'pathGrob' in package 'grid' does not exist and so has been treated as a topic
geom_qq html
geom_quantile html
geom_ribbon html
geom_rug html
geom_segment html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/geom_segment.Rd:111: file link 'curveGrob' in package 'grid' does not exist and so has been treated as a topic
geom_smooth html
geom_spoke html
geom_text html
geom_tile html
geom_violin html
Rd warning: C:/Users/sonya/AppData/Local/Temp/RtmpADmuiE/R.INSTALLe7025793b5f/ggplot2/man/geom_violin.Rd:104: file link 'bw.nrd' in package 'stats' does not exist and so has been treated as a topic
gg-add html
gg_dep html
ggplot html
ggplot2-ggproto html
finding level-2 HTML links ...
Error: error reading from connection - removing 'C:/Program Files/R/R-3.6.2/library/ggplot2'
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\sonya\AppData\Local\Temp\Rtmpqe1WF5\downloaded_packages’
install.packages('rlang')
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/rlang_0.4.5.zip'
Content type 'application/zip' length 1129637 bytes (1.1 MB)
downloaded 1.1 MB
package ‘rlang’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\sonya\AppData\Local\Temp\Rtmpqe1WF5\downloaded_packages