RTutor Problemset about Emmission Trading and Innovation
R
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
inst/ps
man
.Rbuildignore
.gitattributes
.gitignore
DESCRIPTION
NAMESPACE
README.md
RTutorEmissionTrading.Rproj
TO DO.txt

README.md

This package constitutes an interactive R problem set based on the RTutor package (https://github.com/skranz/RTutor).

In this problem set you will learn about the European Emission Trading Scheme (EU ETS) and the effect it had on technological change towards low-carbon innovation.

1. Installation

RTutor and this package is hosted on Github. To install everything, run the following code in your R console.

if (!require(devtools))
  install.packages("devtools")
source_gist("gist.github.com/skranz/fad6062e5462c9d0efe4")
install.rtutor(update.github=TRUE)

devtools::install_github("ArthurS90/RTutorEmissionTrading", upgrade_dependencies=FALSE)

2. Show and work on the problem set

To start the problem set first create a working directory in which files like the data sets and your solution will be stored. Then adapt and run the following code.

library(RTutorEmissionTrading)

# Adapt your working directory to an existing folder
setwd("C:/problemsets/RTutorEmissionTrading")
# Adapt your user name
run.ps(user.name="Jon Doe", package="RTutorEmissionTrading",
       load.sav=TRUE, sample.solution=FALSE)

If everything works fine, a browser window should open, in which you can start exploring the problem set.