I am running into issues trying to use large objects in R. For example:
> memory.limit(4000) > a = matrix(NA, 1500000, 60) > a = matrix(NA, 2500000,
If you are running your script at linux environment you can use this command:
bsub -q server_name -R "rusage[mem=requested_memory]" "Rscript script_name.R"
and the server will allocate the requested memory for you (according to the server limits, but with good server - hugefiles can be used)