Skip to content
Prev 348128 / 398500 Next

Error when I attempt to create a list or a data frame

When I try to create a list with three classes of objects:  a numeric, 
boolean, and vector of character data:
lst <- list(c(1,2),TRUE,c(?a?,?b?,?c?))

I receive this error:
Error: unexpected input in "lst <- list(c(1,2),TRUE,c(?"

I receive a similar error when I create a data frame with mixed classes 
of objects.

Thanks ahead of time!