You haven't said where you are running RStudio, if you are using RStudio Cloud then, yes, that would be a possible solution. You might have other options depending on your specific problem but we would need more information to be able to give you any specific advice.