powered by
Useful for creating paths to a particular swirl course, as you might want to do in files like initLesson.R.
initLesson.R
make_pathname(name)
A vector of strings.
A string vector where spaces are replaced with underscores.
# NOT RUN { make_pathname("Developing Data Products") # "Developing_Data_Products" make_pathname(c("R Programming", "Exploratory Data Analysis")) # "R_Programming" "Exploratory_Data_Analysis" # }
Run the code above in your browser using DataLab