If you are currently in Stats with R, or just find yourself wanting to play with some R packages. Below are some commands to install the required Packages for Stats with R. This guide is intended for students using the C-208 Computers and logging into their CS accounts on the Ubuntu side.
Once you are logged in do the following:
1. Run R (Search “R” in the finder menu)
2. Install Packages (Rfit, npsm, UsingR, devtools, hbrfit, and npsm reg2.
NOTE: Please install these in order.
install.packages("Rfit") install.packages("npsm") install.packages("UsingR") install.packages("devtools") library(devtools) install_github("kloke/hbrfit") install_github("kloke/npsmReg2")
3. Load packages: If you wish to load any of these packages use the library command (see below)
library(Rfit) library(npsm) library(UsingR) library(hbrfit) library(npsmReg2)
You should now have all the packages you need for your Stats with R course.
This guide is to teach a user how to enable host-only networking on virtual box.
1. Open your virtual box preferences.
2. Select the “Network” tab once you are in the preferences menu. Once you have done this Select “Host-only Networks”. The white box will be empty. To fill it as seen below all you have to do is click the green plus sign on the right side of the menu. If done correctly it should look exactly as below. Click ok to continue.
3. Select your virtual machine (In my case this was an Ubuntu VM, this does not matter and will work on any virtual machine). Once it is highlighted click “Settings” and tab over to the “Network” menu. All that is left is to select “Host-only Adapter” next to “Attached to:” in this menu. Once that is complete it should automatically select the host-only adapter we just created. If done correctly it should look exactly like below. Click ok to continue.
Congratulations! You just created a host-only network for your virtual machine. If done correctly it should be unable to access the internet at this time.