I have read How to set max ppsize in R? and I have the same problem. I am currently working in Rstudio and I need to set max ppsize to a greater value.
This is my approach:
> setwd("C:/Program Files/R/R-3.3.1/bin")
> R.exe --max-pp-size=500000
Error in R.exe - -max - pp - size = 5e+05 : object 'R.exe' not found
Is this the right way to do it? I have no idea why I can not find the R.exe.