RStudio Cloud cannot read in 1GB file?

Try cat /sys/fs/cgroup/memory/memory.limit_in_bytes instead.