Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This mostly worked. Thanks. However, I had to enable more swap space in order to install packages. I did that by following the advice here:
http://stackoverflow.com/questions/17173972/how-do-you-add-swap-to-an-ec2-instance
I followed above steps on my Ubuntu LAMP VPS, but when I try to access the http://<server-ip>:8787, I get this error:
Network Error (tcp_error) A communication error occurred: “Operation timed out”
I tried: $ sudo rstudio-server verify-installation
and it answered: 23 Jan 2015 20:55:12 [rserver] WARNING Unable to change rserver into app armor restricted hat (profile may be disabled); LOGGED FROM: core::Error server::app_armor::enforceRestricted() /home/ubuntu/rstudio/src/cpp/server/ServerAppArmor.cpp:84
I have not been able to connect, I already change the size of the droplet and no change. I try $ sudo rstudio-server verify-installation rstudio-server stop/waiting rstudio-server start/running, process 2258
so everything is ok.
Any thoughts?
This comment has been deleted
I am new to Digital Ocean and Linux, so may have make a rookie mistake.
I have tried all the instructions, and I can log into R, but I cannot access RStudio.
When I type in the ip address:8787 I get an error message “webpage is not available”
What am I doing wrong?
Thanks
@daattali I’ve set up ufw and it seems to be blocking me to see a shiny app when i runApp. How to solve this?
Thanks.
Work great but it could be better.
Error in tools:::httpdPort > 0 :
comparison (6) is possible only for atomic and list types
which someone suggested to try a newer version of the rstudio as it is not matched with the R version (which I still cannot remove the error message) but still the sample work great
I followed these instructions and everything seemed to work. But if I try to run a shiny app or even just access a help page from within R studio I get this error message in the browser window:
This site can’t be reached 127.0.0.1 refused to connect.
Any ideas what is wrong?
Similar issue ‘connection timed out’ If like me you had followed other Digital Ocean tutorials and installed ufw before installing R Studio I hope this solution from askubuntu, which worked for me, will also help you:
sudo ufw allow 8787
I followed the instructions and was able to get rstudio working perfectly, however I now have to update R and am unable to change the version of R that is used in rstudio. Anybody know how to do this? I tried changing the value of RSTUDIO_WHICH_R variable and it didn’t work.