Has anyone constructed a quine (\"A program that generates a copy of its own source text as its complete output\": http://www.nyx.net/~gthompso/quine.htm) in R? (The [quine] ta
While I'm not sure if this "counts" from a quine perspective (I stumbled across this question while trying to verify if it does), the script
function(){}
will output function(){}. This works on the same principle as Joshua Ulrich's answer, just pared down to the essentials.