Hi, if you like to use R. Then your RAM size should be 16GB. I suggest you to check effective ways of using R.
for example :
read.table. writing functions and make the code parameterization. You can also try H2o package.
Though the computation time will be high, you can use R.