1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
> install.packages("swirl")
trying URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/swirl_2.4.2.tgz'
Content type 'application/x-gzip' length 210316 bytes (205 KB)
==================================================
downloaded 205 KB

tar: Failed to set default locale

The downloaded binary packages are in
/var/folders/q5/q2ctmmh17812_7myc0z6wnjc0000gn/T//RtmpuNM1AL/downloaded_packages
> packageVersion("swirl")
[1] '2.4.2'
> library(swirl)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called 'stringi'
Error: package or namespace load failed for 'swirl'
> install.packages("ggplot2")
also installing the dependency 'gtable'

trying URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/gtable_0.2.0.tgz'
Content type 'application/x-gzip' length 57163 bytes (55 KB)
==================================================
downloaded 55 KB

trying URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/ggplot2_2.1.0.tgz'
Content type 'application/x-gzip' length 2009223 bytes (1.9 MB)
==================================================
downloaded 1.9 MB

tar: Failed to set default locale
tar: Failed to set default locale

The downloaded binary packages are in
/var/folders/q5/q2ctmmh17812_7myc0z6wnjc0000gn/T//RtmpuNM1AL/downloaded_packages
> packageVersion("ggplot2")
[1] '2.1.0'
> library("ggplot2")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'Rcpp'
Error: package or namespace load failed for 'ggplot2'