#This script illustrates how to write and execute an R script.
#Kristen Sosulski
#April 4, 2016
#Setting the working directory
setwd("~/Dropbox/R_Stat_Workshop/practice_exercises_in_progress")
#setting my variables
y=10
print(y)
## [1] 10
x="4"
print(x)
## [1] "4"
#casting x as a numeric data type
x = as.numeric(x)
print(x)
## [1] 4
#Calculation / Result
z = x*y
print(z)
## [1] 40