Using R, I want to produce multiple character strings such as:
\"modelCheck(\"var1_d.bug\")\" \"modelCheck(\"var2_d.bug\")\" ... \"modelCheck(\"var10_d
Simply escape the quotation marks with backslashes:
paste("modelCheck(var\"",i,"_d.bug\")",sep="")
An alternative is to use single quotes to enclose the string:
paste('modelCheck(var"',i,'_d.bug")',sep="")