Skip to content

Can names still contain hyphen? (Lesson 8) #25

@thjbdvlt

Description

@thjbdvlt

I am reading this as someone who is learning R since a few days, and i just read in the README.md here (lesson 8) that

Names must begin with a letter, and consist only of letters, digits and a few special characters such as '-' or '.'

Do names can contains hyphens in special situations that I am not aware of? Or maybe recent R versions (I am using 4.4) changed something about that (as the underscore was added)? In my R version, something like a-b <- 3 produces an error (undefined symbol: a).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions