I want to provide a list of words that are unquoted and convert them into a normal string vector in R. Below is an example of what I would like to do, except for the fact that quote only takes 1 object at a time.
ideally the code below should return TRUE from identical, meaning that the words have been converted to a string vector.
notquotedwords<- quote(Person, Woman, Man, Camera, TV)
#Error in quote(Person, Woman, Man, Camera, TV) :
# 5 arguments passed to 'quote' which requires 1
quotedwords<- c("Person", "Woman", "Man", "Camera", "TV")
identical(notquotedwords, quotedwords)
#ideally the output would be TRUE
This is a MRE, not the actual code, so yes, I understand I could just create a string vector in the first place.