Home Comments Thread
New Thread

A CRANextra Repository for Homebrew and R Users on macOS - Installing rattle on macOS? No more struggles! | /en/2018/07/cranextra-macos/

yihui yihui 2022-12-17 04:36:18

A CRANextra Repository for Homebrew and R Users on macOS - Installing rattle on macOS? No more struggles!

https://yihui.org/en/2018/07/cranextra-macos/

4 Comments

giscus-bot giscus-bot 2022-12-17 04:36:19
访客 *Yadong Liu* @ 2018-12-19 07:57:54 写道:

刚转到 macOS,才知道系统 Clang 不支持 OpenMP,难道编译器之间也存在鄙视链的吗?

yihui yihui 2022-12-17 04:36:22

说多了都是泪。

——原帖发布于 2018-12-19 15:22:50

giscus-bot giscus-bot 2022-12-17 04:36:20
Guest *Yuqi Wang* @ 2019-04-09 19:28:17 originally posted:

Error: Cask 'r-app' is unavailable: No Cask with this name exists. Did you mean one of these?
When I tried to do "brew cask install r-app", thats the error message i am getting... did i miss anything

yihui yihui 2022-12-17 04:36:23

Sorry about that. I have fixed it locally but didn't push the changes to Github (just did it). You should use brew cask install r now.

Originally posted on 2019-04-09 20:45:40

giscus-bot giscus-bot 2022-12-17 04:36:21
访客 *Exp. 2086* @ 2019-09-04 13:15:52 写道:

你好,想问一下为什么要用homebrew安装R,相对手动下载的R安装包有什么优点?然后想问mac下面更新R版本(3.5.2->3.6.1,有必要吗?)好的办法。感谢🙏

yihui yihui 2022-12-17 04:36:24

因为 Homebrew 可以一步搞定一切(包括更新):https://yihui.name/en/2018/06/homebrew-binary-r-packages/#why-using-homebrew

——原帖发布于 2019-09-04 13:28:54

giscus-bot giscus-bot 2022-12-17 04:36:21
Guest *Farzad Hosseinali* @ 2020-04-17 00:30:27 originally posted:

Why do I get the "R Session Aborted" error? Attached is the screenshot.

yihui yihui 2022-12-17 04:36:25

I cannot reproduce your issue. rattle() works fine on my macOS. Could you restart your R session and try to reinstall these packages?

options(repos = c(
  CRANextra = 'https://macos.rbind.io',
  CRAN = 'https://cran.rstudio.com'
))
remove.packages(c('cairoDevice', 'RGtk2', 'rattle'))
system('brew install gtk+')
install.packages('rattle')

If it still fails, try to start R in your terminal, and run rattle() there instead of in RStudio. It might tell you more information about why R was aborted.

Originally posted on 2020-04-17 02:25:13

giscus-bot giscus-bot 2022-12-17 04:36:25
Guest *Farzad Hosseinali* @ 2020-04-17 02:59:03 originally posted:

Wow, it worked like a charm. Thank you! :)

giscus-bot giscus-bot 2022-12-17 04:36:26
访客 *Rosalee Li* @ 2021-08-18 06:24:31 写道:

不好意思 我也是一样的问题 如何在终端里运行R去解决啊 新手小白 谢谢

Sign in to join the discussion

Sign in with GitHub