Out of the blue, the IDE has decided to skip every other line of my code. I first noticed this when getting an "attempt to use zero-length variable name" error when using "Run All". If I go line by line, e.g. Ctrl-Enter, then the problem crops up in the middle of a multiline paste command like so:
query = paste("SELECT
factorA
,factorB
,factorC
FROM sqlTable
WHERE conditionA blah blah
AND conditionB blah blah
")
RStudio is seeing the input as:
query = paste("SELECT
,factorB
,factorC
WHERE conditionA blah blah
")
Any thoughts? I'm just gonna suck it up and put this query into a single line for the time being, but that is obviously a kludge that needs fixing.