r-macos-rtools

授权协议 Readme
开发语言 SHELL
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 郑俊材
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Installer Package for macOS R toolchain

The repository contains the scripts used to create an installer package (.pkg)that contains binaries used to create the CRAN official macOS R binary.

Specifically, the installer will try to download and install:

Moreover, the installer will attempt to clean up previous installations byremoving configuration files ~/.R/Makevars and ~/.Renviron that are no longer used.Backups for each file will be presented with .bck appended to the end.

For those interested, the installer can be obtainedon either the project's release pageor through http://go.illinois.edu/r-macos-rtools-pkg. The pre-built binaries thisinstaller encloses can be found at https://developer.apple.com/download/more/ andhttps://github.com/fxcoudert/gfortran-for-macOS/releases.

Note The installer package was developed by James Joseph Balamutaand has no connection with the R project’s macOS CRAN maintainers.Financial support was provided to sign the installer byProfessor Timothy Batesof the University of Edinburgh.

How do I use the installer?

  1. Download it from the project's release pageor through http://go.illinois.edu/r-macos-rtools-pkg.
  2. Open the installer by either double click or right clicking to bring up menu and selecting "Open".
  3. From here, navigate through it like a normal macOS installer.

That's it.

Once installed, you can start using compiled code in R like normal.

If you want to see behind the curtain, continue reading...

What does the installer do?

The macOS R toolchain installer performs four actions that requirethe user's password to accomplish. These actions are:

  1. download and install XCode CLI via secure Apple product update
  2. remove any existing ~/.R/Makevars or ~/.Renviron (backups available with .bck)s
  3. determine which gfortran version to use
  4. download, verify, and install the appropriate gfortran version

Note: The installer will remove any existing ~/.R/Makevars and ~/.Renviron files.The existing files will be copied to a backup file, e.g. ~/.R/Makevars.bck and ~/.Renvion.bck.

Verify steps are conducted using embedded md5 hashes of the files.If the hash is not identical to what was embedded, the installer willexit. For details as to how this was implemented please seeIssue 8: Verify pkg hashand thePull Request 10: Feature Pkg Hash Verification.

Verify the Installer

Thanks to the financial support provided by Professor Timothy Bates ofthe University of Edinburgh to join the Apple Developer program.The installer is now signed using developer credentials.

As a result, the installer should have a "lock" icon in the upper right corner:

Clicking the lock icon will reveal the signed developer certificate:

With this being said, the code used to generate the installer has been made publically available under an open source license (GPL >= 2).

Overview of Files

Below is an abridged version of the actions of each file provided.

  • scripts/postinstall
  • make_installer.sh
    • Create the installer package R binary installer .pkg
      • Builds the package from the extracted tar using pkgbuild
      • Analyzing the package using productbuild to create a distribution.xml
      • Inserts customizations into the distribution.xml (title, background, ...)
      • Calls productbuild to rebuild the package.
  • distribution.xml
    • Customization options (e.g. title, background) of installer built by analyzing a temporary .pkg
  • build_files/Rlogo.png
    • R logo
  • build_files/LICENSE.rtf
    • License of the Xcode CLI, LLVM installer, and gfortran
  • build_files/WELCOME_DISPLAY.rtf
    • Text displayed on welcome screen

License

GPL (>= 2)

  • 欢迎大家访问我的博客http://blog.ayla1688.cool 原文链接 http://blog.ayla1688.cool/archives/447.html R语言安装 从官网下载安装PKG安装包,安装即可! 下载地址 Rstudio 安装 从官网下载安装包 下载地址 R语言安装完成报错 打开 R 后显示红色 Waring : During startup - Warning mess

  • 从R 4.0.0(2020年4月发布)开始,R for Windows使用了一个全新的工具链捆绑包rtools40。 Starting with R 4.0.0 (released April 2020), R for Windows uses a brand new toolchain bundle called rtools40. 这个版本的Rtools将mingw-w64 gcc工具链升级到

 相关资料
  • macOS 安装 Docker Desktop CE 系统要求 Docker Desktop for Mac 要求系统最低为 macOS Sierra 10.12。 安装 使用 Homebrew 安装 Homebrew 的 Cask 已经支持 Docker Desktop for Mac,因此可以很方便的使用 Homebrew Cask 来进行安装: $ brew cask install doc

  • Electron有API来配置macOS Dock中的应用程序图标。 A macOS-only API exists to create a custom dock menu, but Electron also uses the app's dock icon to implement cross-platform features like recent documents and appli

  • Platform setup iOS setup Install Xcode Set up the iOS simulator Create and run a simple Flutter app Deploy to iOS devices Android setup Install Android Studio Set up your Android device Set up the And

  • 工具准备 Cocos2d-x v3.17,下载后解压,下载参见:Cocos官网页面 Xcode 9 下载后安装,下载参见:Apple官网页面 配置步骤 打开 cocos2d-x-3.17/build/cocos2d_tests.xcodeproj 在 Xcode 顶部工具栏选择 cpp-tests Mac,My Mac,点击运行,项目将自动编译运行,效果如图: 如何调试(Debug) 点击代码行左

  • WeChatTweak 并不是一个独立的客户端,而是一款插件,目前仅支持 macOS,并且需要首先安装微信 for Mac 官方客户端。 之后需要使用命令行来安装 WeChatTweak,方法如下: 1、打开终端(Terminal) 2、下载源码: git clone  3、进入目录:cd WeChatTweak-macOS 4、编译安装:sudo make install 5、打开微信客户端 卸

  • MacOS WebUI是一套基于Vue3和ElementUI实现类似MacOS风格的WebUI,尽可能还原MacOS相关的设计,目前正在开发中。 体验地址 点击查看我们的在线DEMO: https://hamm.cn 依赖项目 Vue3 / Element-UI 开发计划 请移步Issues: https://gitee.com/hamm/mac-ui/issues 版权说明 本项目所用MacOS