Rstudio project creation from command line



I would like to know how can I create an empty rsudio project from command line, and later it will be loaded to rstudio as a project.
I tried creating a file called [project name].Rproj in the folder of the project we want to create and it works, the problem is that it doesn’t choose the R version I want.
How can I include the R version of the project(we have multiple versions installed)?



RStudio does use the <project>.Rproj file as a marker of whether a particular folder is an RStudio project, so creating that file should be sufficient (and RStudio will populate it with some default preferences after).

Binding of a project to a particular version of R is currently only possible with RStudio Server Pro – see for more details.