Skip to content
  • View menu
  • View sidebar

bioinfo core

Index & solution of bioInfo utilities

  • Home
  • All entries
  • Blogs
  • Contact
  • About

Categories

  • Between languages (7)
  • Blogs (8)
  • Python (35)
  • R (1)
  • Unix (37)

Tags

bedfile Blogs conda Excel html numpy Pandas Python R slurm Unix

Category / R

08/12/202010/21/2021 by bioinfocore

R set memory limit on Mac for Rstudio

  • R, Unix
  • R, Unix

Step 1: Open terminal

Step 2:

cd ~
touch .Renviron
open .Renviron

Step 3: Save the following as the first line of .Renviron:

R_MAX_VSIZE=100Gb 

As noted in the source, Sys.setenv('R_MAX_VSIZE'=32000000000) only works in command line, doesn’t work for Rstudio

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

Copyright 2022 | by bioinfocore