names <- c command
names <- c(“Mahi”,”Sourav”,”Azhar”,

“Sunny”,”Pataudi”,”Dravid”) 

unexpected input in "names <- c(“"



R Introduction-to-basics-of-R 02-03 min 10-20 sec 30-04-20, 7:21 p.m. meghna_bhatia

Answers:

Please check your syntax. The quotes in your command are not grammatical correct from R programming point of view. 
Please try typing this: 
names <- c("A", "B", "C", "D")
30-04-20, 7:32 p.m. sudhakarst


Click here to reply/comment online