quoting

R: quoting unquoted members in nested list-

Using R, I generate a list that contains certain unquoted elements. Please see at the bottom- it is invalid javascript code. R code (does not work) outq <- lapply (out, function (el){ el <- if( is.factor(el$ann) ){ el$ann <- apply(el$ann, 1, function(e){ e <- paste('"', e, '"', sep="") }) } }) In the R language, How can I ...

Strange Lisp Quoting scenario - Graham's On Lisp, page 37

I'm working my way through Graham's book "On Lisp" and can't understand the following example at page 37: If we define exclaim so that its return value incorporates a quoted list, (defun exclaim (expression) (append expression ’(oh my))) > (exclaim ’(lions and tigers and bears)) (LIONS AND TIGERS AND BEARS OH MY) > (nconc * ’(goodnes...