Skip to content

Instantly share code, notes, and snippets.

@stefano-meschiari
Last active March 1, 2020 23:53
Show Gist options
  • Save stefano-meschiari/90000dd118d91f9e0132f2ae49f7fec9 to your computer and use it in GitHub Desktop.
Save stefano-meschiari/90000dd118d91f9e0132f2ae49f7fec9 to your computer and use it in GitHub Desktop.
Running Systemic 2.2 on Mac OS X 10.15

These instructions should allow you to run Systemic 2.2 on Mac OS X 10.15. It assumes the latest version of R (3.6.1) and a JDK is installed.

  1. Install Xcode from the Mac App Store.

  2. From a command line, install the command line developer tools:

    xcode-select --install
    

    and follow the prompt that will pop up.

  3. Download rdyncall:

    wget https://github.com/cran/rdyncall/archive/master.zip
    unzip master.zip
    mv rdyncall-master rdyncall
    
  4. Install rdyncall:

    R CMD build rdyncall
    R CMD INSTALL rdyncall_0.7.5.tar.gz
    
  5. Install 'checkmate' and 'Hmisc' manually:

    R -e "install.packages(c('checkmate', 'Hmisc'), repos='http://cran.us.r-project.org')"
    
  6. Download Systemic and cd to mac/Systemic.

  7. MacOS sets a quarantine flag for all executables that were downloaded from the internet. This includes everything in the Systemic folder, including jars, executables, and dynamic libraries. You must clear that flag, because it prevents Systemic from running correctly.

    Run this inside the Systemic directory (make sure you indeed are in that directory!):

    # !!! ONLY INSIDE THE SYSTEMIC DIRECTORY !!!
    sudo xattr -rc .
    
  8. Start Systemic using

    java -jar gui/SystemicGUI.jar
    

    (unfortunately double-clicking the Systemic app provided in the archive doesn't work currently)

  9. Systemic will ask you the path to R. Enter /usr/local/bin/R.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment