Skip to content
Economic assessment of in-situ oil shale production methods in the Uinta Basin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Prepared Data


Setup Instructions

  1. Download and install R (
  2. (Recommended) Download and install RStudio (an IDE for R) (
  3. Download and install Git for version control (
  4. Launch RStudio
  5. Install the following packages using the install.packages("packge_name") command in R. Alternatively, if you are using RStudio you can use the menu option Tools > Install Packages... and then enter the names of the packages you wish to install.
    • zoo
    • sqldf
    • lhs
    • beepr
    • ggplot2
    • scales
    • hexbin
  6. From the menu, select File > New Project
  7. In the dialogue menu that pops up, select Version Control
  8. In the next menu select Git
  9. Paste the repository URL from GitHub into the Repository URL box.
  10. A folder will be created containing all of the scripts and functions in the GitHub repository.
  11. The name of that folder will be whatever you enter in the Project directory name dialogue box. By default this will be the same as the name of the respository (oilshale).
  12. The folder will be located as a subdirectory of whatever folder you point to in the Create project as subdirectory of dialogue box. By default it's a subdirectory of ~/R, which is the R folder generated in your home directory when you first install a package in R.
  13. After entering all the information, click the Create Project button.
  14. Download the CFD simulation data (~100 MB) and place it in the Prepared Data folder:
  15. Open the script UO_main.R , located in the directory you created in Step 10. This is the main script for model.
  16. Under the section of the scripts labeled # 1.1 Paths, change the paths for each of the directories listed to the location on your computer the repository was downloaded.

You can now run the script. If you are using RStudio, this can be done using the menu option Code > Source or any of its keyboard shortcuts and variations. All of the model input options are contained in the script UO_options.R.

You can’t perform that action at this time.