Replace spaces in strings with underscores
Useful for creating paths to a particular swirl course, as you might want
to do in files like initLesson.R
.
make_pathname(name)
name |
A vector of strings. |
A string vector where spaces are replaced with underscores.
make_pathname("Developing Data Products") # "Developing_Data_Products" make_pathname(c("R Programming", "Exploratory Data Analysis")) # "R_Programming" "Exploratory_Data_Analysis"
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.