- Install Ubuntu from the Windows Store
- Setup changing the default opening directory (based on this)
- Open Ubuntu
sudo vim /etc/passwd- Type "i" to enter the insert mode so we can make changes
- Find your account's line, should start with your username. Eg mine was
muellerzr:x:1000,:home/muellerzr/:bin/bash - We care about changing the /home part. Change it to
/mnt/cto use the "C" drive,/mnt/dto use the "D" drive, and so forth
- Save our changes with
:wqand enter
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(shiny) | |
| ui <- fluidPage( | |
| tags$div(sliderInput("slide1", "Slider1", min = 0, max=10, value=4), style="display:inline-block"), | |
| tags$div(sliderInput("slide1=2", "Slider2", min = 0, max=10, value=4), style="display:inline-block"), | |
| tags$div(sliderInput("slide3", "Slider3", min = 0, max=10, value=4), style="display:inline-block") | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library("ggplot2") # Must use Dev version as of 03/18/16 | |
| library("gridExtra") | |
| library("extrafont") # for font selection | |
| library("dplyr") # for data preperation | |
| library("cowplot") # for combining plots | |
| # Prepare data for plotting | |
| # data from Zubrow, E.B.W. (1974), Population, Contact,and Climate in the New Mexican Pueblos | |
| # prepared as a long format to facilitate plotting | |
| year <- c(1760, 1790, 1797, 1850, 1860, 1889, 1900, 1910, 1950) |