Я пытаюсь установить погремушку на macOS ( Ссылка ):
system('brew install gtk+')
local({
if (Sys.info()[['sysname']] != 'Darwin') return()
.Platform$pkgType = 'mac.binary.el-capitan'
unlockBinding('.Platform', baseenv())
assign('.Platform', .Platform, 'package:base')
lockBinding('.Platform', baseenv())
options(
pkgType = 'both', install.packages.compile.from.source = 'always',
repos = 'https://macos.rbind.org'
)
})
install.packages(c('RGtk2', 'cairoDevice', 'rattle'))
Но я получаю следующую ошибку:
Warning in install.packages :
unable to access index for repository https://macos.rbind.org/src/contrib:
cannot open URL 'https://macos.rbind.org/src/contrib/PACKAGES'
Warning in install.packages :
unable to access index for repository https://macos.rbind.org/src/contrib:
cannot open URL 'https://macos.rbind.org/src/contrib/PACKAGES'
Warning in install.packages :
packages ‘RGtk2’, ‘cairoDevice’, ‘rattle’ are not available (for R version 3.6.2)
Warning in install.packages :
unable to access index for repository https://macos.rbind.org/bin/macosx/el-capitan/contrib/3.6:
cannot open URL 'https://macos.rbind.org/bin/macosx/el-capitan/contrib/3.6/PACKAGES'
Просмотр выше ошибка, это супер, что я вижу:
packages ‘RGtk2’, ‘cairoDevice’, ‘rattle’ are not available (for R version 3.6.2)
Пока я установил погремушку на Windows на основе R 3.6.2.