What is the naming convention for creating variables in R?

  • None of the above
  • Variable names can contain any characters
  • Variable names should start with a letter and can contain letters, numbers, dots, and underscores
  • Variable names should start with a number
Variable names in R should start with a letter and can contain letters, numbers, dots, and underscores. They cannot start with a number or underscore. This is the general naming convention, but there might be exceptions in specific use cases.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *