自制软件在 OS X 上安装没有 Xquartz 的 R
Homebrew install R without Xquartz on OS X
使用 pkg 安装程序安装 R 不需要 XQuartz。但是,使用 Homebrew 安装 R 需要先安装 XQuartz。
谁能解释一下为什么?
有没有办法在没有 Xquartz 的情况下使用 Homebrew 安装 R?
我需要决定是使用 Homebrew,还是使用他们的 pkg 安装程序安装 R,Python 等,然后再应用于多台计算机 (运行 OS X 10.8)。
如果你看看recipe you'll see you can pass --without-x11
as a parameter (which should remove the need to have XQuartz installed. There is a cask for xquartz
, btw. There is a recipe for R GUI,也是。
Homebrew R 过去与 RStudio 有一些问题,R 维护者也不推荐。
根据 GitHub 上的 commit,它已被修复。
r: fix build with Quartz-only cairo #2434
现在,不再需要 XQuartz,经过测试它可以工作:
brew update
brew tap homebrew/science
brew install r
我发现 R 在没有 x.11 的情况下也能正常工作,直到我想使用简单的文本编辑器。它抱怨没有 x.11,并想要 xquartz。我从自制软件安装了 xquartz,RStudio(和 R)工作得很好。希望有用。
使用 pkg 安装程序安装 R 不需要 XQuartz。但是,使用 Homebrew 安装 R 需要先安装 XQuartz。
谁能解释一下为什么?
有没有办法在没有 Xquartz 的情况下使用 Homebrew 安装 R?
我需要决定是使用 Homebrew,还是使用他们的 pkg 安装程序安装 R,Python 等,然后再应用于多台计算机 (运行 OS X 10.8)。
如果你看看recipe you'll see you can pass --without-x11
as a parameter (which should remove the need to have XQuartz installed. There is a cask for xquartz
, btw. There is a recipe for R GUI,也是。
Homebrew R 过去与 RStudio 有一些问题,R 维护者也不推荐。
根据 GitHub 上的 commit,它已被修复。
r: fix build with Quartz-only cairo #2434
现在,不再需要 XQuartz,经过测试它可以工作:
brew update
brew tap homebrew/science
brew install r
我发现 R 在没有 x.11 的情况下也能正常工作,直到我想使用简单的文本编辑器。它抱怨没有 x.11,并想要 xquartz。我从自制软件安装了 xquartz,RStudio(和 R)工作得很好。希望有用。