#!/usr/local/env bash

set -eu

alias rstudio='open -a Rstudio'

set +eu

#!/usr/local/env bash

set -eu

alias rstudio='open -a Rstudio'

# increase the default memory
# based on: https://stackoverflow.com/questions/51295402/r-on-macos-error-vector-memory-exhausted-limit-reached
echo "R_MAX_VSIZE=100Gb" > $HOME/.Renviron

set +eu

Update R memory usage in bash-it custom profile.
Update R memory usage in bash-it custom profile.

- following advice from: https://stackoverflow.com/questions/51295402/r-on-macos-error-vector-memory-exhausted-limit-reached
