oh, the confusion might be caused by not formatting your code as code, but leaving it up to the forum defaults to display. Consider if the code in your script in R studio looks the same as it does on the forum.
In the future please put code that is inline (such as a function name, like mutate
or filter
) inside of backticks (mutate
) and chunks of code (including error messages and code copied from the console) can be put between sets of three backticks:
```
example <- foo %>%
filter(a == 1)
```
This process can be done automatically by highlighting your code, either inline or in a chunk, and clicking the </>
button on the toolbar of the reply window!
This will help keep our community tidy and help you get the help you are looking for!
For more information, please take a look at the community's FAQ on formating code