RStudio is currently only available for Mac OS X 10.6 or higher. Click on RStudio for Mac OS X 10.6+. Click on the appropriate file corresponding to Mac OS X. This will again bring up the save file dialog. In this video, I'm going to briefly show how you can install R on the Mac. It's a very simple process, it only takes a few steps. So the first thing you need to do is open your web browser and go to CRAN, this is the Comprehensive R Archive Network, and you'll see that there are a number of options for you to download here for different platforms.
Question: R Studio memory on Mac
0
19 months ago by
I am trying to import three really big files (each file size >100GB) to R Studio but it complains of memory. I am using this version:
I tried increasing the memory limit by using (.Renviron) on terminal but it gives the same error.
ADD COMMENT • link • written 19 months ago by evelyn • 130
How much actual memory does your mac have? There is no substitute for not having enough RAM unfortunately.
ADD REPLY • link modified 19 months ago • written 19 months ago by GenoMax ♦ 93k
My Mac has 16 GB memory.
ADD REPLY • link written 19 months ago by evelyn • 130
I don't think this is going to work as is.
Think of it as the ‘employee entrance’ to your Mac; it lets you get backstage to change things as you see fit in what’s known as the command line.All that power should come with a heavy warning, though. Unless you type in the right commands, it won’t do anything. Terminal is fussy, and very literal. Istat menus for mac. What is Terminal?Terminal is an app on your Mac that allows you to gain root-level access to your system.
Edit: @zx5784's solution of using virtual memory on disk may work. With such large data set you may need to have patience in equally large amounts.
ADD REPLY • link modified 19 months ago • written 19 months ago by GenoMax ♦ 93k
What kind of data is this? Alternatives:
HPC with tonnes of memory
Load data in chunks, do stuff, save results, load another chunk etc.
Use packages that uses hard drive as memory and 'pretend' to have it as full object in R, e.g.: 'bigmemory' package.
ADD REPLY • link modified 19 months ago • written 19 months ago by zx8754 ♦ 9.7k
These are vcf files.
ADD REPLY • link written 19 months ago by evelyn • 130
Do you need all the data at once, maybe slim it down first: filter on Samples, on Variants, or split on Chromosomes, etc. See bcftools for manipulating VCFs.
How To Update R Studio On Mac
ADD REPLY • link written 19 months ago by zx8754 ♦ 9.7k
What operation are you trying to do with them? Perhaps there are command line alternatives that can be used instead of R. Are these files compressed or not?
ADD REPLY • link written 19 months ago by GenoMax ♦ 93k
I am trying to use them for Upset R plot and these are not compressed.
ADD REPLY • link written 19 months ago by evelyn • 130
1
How To R Studio On Mac Desktop
Is it to show overlapping Variants or Samples? Again you can get that info using bcftools, then file will be manageable for R.
ADD REPLY • link written 19 months ago by zx8754 ♦ 9.7k