Skip to content

required directory may not exist at start of episode 4 - data structures #921

@carolbooth2

Description

@carolbooth2

How could the content be improved?

write.csv(x = cats, file = "data/feline-data.csv", row.names = FALSE)

this command fails unless the directory data already exists. When doing a 'pick and mix' of episodes, this may not have been created earlier. Can we add the command

dir.create("data")

Which part of the content does your suggestion apply to?

https://swcarpentry.github.io/r-novice-gapminder/instructor/04-data-structures-part1.html#:~:text=write.csv(x%20%3D%20cats%2C%20file%20%3D%20%22data/feline%2Ddata.csv%22%2C%20row.names%20%3D%20FALSE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions