Я работаю r-studio version 1.1.463
на macos Yosemite Version 10.10.5
. Мой ноутбук с начала 2015 года. Всякий раз, когда я пытаюсь установить какие-либо пакеты в R-Studio, он выдает мне следующее сообщение об ошибке:
Извиняюсь за то, что я полный n00b, но я не уверен, означает ли это, что пакеты получили скачал. Если они есть, где я могу их найти и что мне нужно сделать, чтобы они были установлены в R-Studio? У меня нет компилятора C, и я не уверен, что он мне нужен.
=============================================
install.packages('reshape')
also installing the dependencies ‘Rcpp’, ‘plyr’
Warning in install.packages :
unable to access index for repository http://cran.rstudio.com/bin/macosx/contrib/3.2
Packages which are only available in source form, and may need compilation
of C/C++/Fortran: ‘Rcpp’ ‘plyr’ ‘reshape’
Do you want to attempt to install these from sources?
y/n: y
installing the source packages ‘Rcpp’, ‘plyr’, ‘reshape’
trying URL 'http://cran.rstudio.com/src/contrib/Rcpp_1.0.4.tar.gz'
Content type 'application/x-gzip' length 2750216 bytes (2.6 MB)
==================================================
downloaded 2.6 MB
trying URL 'http://cran.rstudio.com/src/contrib/plyr_1.8.6.tar.gz'
Content type 'application/x-gzip' length 401191 bytes (391 KB)
==================================================
downloaded 391 KB
trying URL 'http://cran.rstudio.com/src/contrib/reshape_0.8.8.tar.gz'
Content type 'application/x-gzip' length 42558 bytes (41 KB)
==================================================
downloaded 41 KB
* installing *source* package ‘Rcpp’ ...
** package ‘Rcpp’ successfully unpacked and MD5 sums checked
** libs
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the
dialog to download the command line developer tools.
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/Rcpp’
Warning in install.packages :
installation of package ‘Rcpp’ had non-zero exit status
ERROR: dependency ‘Rcpp’ is not available for package ‘plyr’
* removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/plyr’
Warning in install.packages :
installation of package ‘plyr’ had non-zero exit status
ERROR: dependency ‘plyr’ is not available for package ‘reshape’
* removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/reshape’
Warning in install.packages :
installation of package ‘reshape’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/zp/18zxxbcs5cncbn98lr6zcptc0000gn/T/RtmpQ6Hg59/downloaded_packages’
Большое спасибо заранее.