This is more of an IDE question. It would be very useful if we get a feature in Rstudio IDE (I think its not there yet) where, when I type a list of comma separated variables, and when I highlight them all and click on this IDE feature button it will auto enclose all the comma separated variables with double (or single quotes).
e.g.
c(abc,def,ijk)
becomes
c("abc","def","ijk")
This should save a lot of typing for people who have to initialise a string vector.
Note: I found several similarly worded questions on rstudo community like the one below but that is not what I am asking. The below link is a completely different question and is not an IDE question.
There is already an add in that is pretty close to that. part of datapasta package.
if you have an unquoted comma seperated list on your clipboard, calling the addin through the IDE will paste, a qouted vector version to the console (which you can copy and paste into your source code).
in the datapasta add in menu, look for 'paste as vector'
and have something like
a,b,c in your clipboard when you press it.