Error when creating a Table Column Title of multiple words

An example:

{r radixvsblogdown, layout="l-body-outset"}
df <- tibble::tribble(~Feature Set, ~radix, ~blogdown,


This is the Error message:

Error: unexpected symbol in "df <- tibble::tribble(~Feature Set"

When I remove Set from the 1st column title, it works.

Is one limited to a one-word column title ? If not, how does one accomplish that ?

Thanks.

Howard

This is a non-syntactic name and is considered a bad practice but if for some reason you still want to use it, you have to surround it among backticks (e.g. `Feature Set`)

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.