Skip to content

Vagrant virtual machine for RStudio experimentation

Notifications You must be signed in to change notification settings

diorz38/rstudio-vagrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

To try out RStudio without installing it on your own machine or a server somewhere.

Prerequisites

You will need to be running RVM in order to use this.

  1. bundle install
  2. vagrant box add lucid64 http://files.vagrantup.com/lucid64.box
  3. vagrant up
  4. vagrant ssh
  5. sudo passwd rstudio (set whatever password you like)

I've seen some issues if you have vagrant installed under multiple RVM rubies or gemsets. If you get an error in rubygems.rb like 'Could not find RubyGem vagrant', then use 'bundle exec vagrant up' and 'bundle exec vagrant ssh' instead.

Use

Vagrant is configured to forward localhost:8787 to the virtual machine. Point your browser at http://localhost:8787/.

RStudio uses the system login for authentication. Vagrant creates a user named 'vagrant', but with a randomized password, so that won't help.

The rstudio recipe creates a new user called 'rstudio', but without a password. That's why steps 3 and 4 are needed, above. That password is how you log in to rstudio.

If you want extra users in the virtual machine, you can just use the Linux 'useradd' command.

About

Vagrant virtual machine for RStudio experimentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%