Re: [R] Error when I attempt to create a list or a data frame

2015-02-17 Thread JS Huang
Hi, It appears that you used left double quotation marks and right double quotation marks in your vector for characters. The first lst assignment is copied from your post and indicates issues. I retyped with doulbe quotation mark and went through fine with the second lst assignment. Unicode f

Re: [R] Error when I attempt to create a list or a data frame

2015-02-14 Thread Uwe Ligges
On 13.02.2015 18:15, Michael Pomeroy wrote: 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(“" Do not use directe

[R] Error when I attempt to create a list or a data frame

2015-02-14 Thread Michael Pomeroy
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