There ought to be some way of catching this mistake, which is passing
a non-length-1 vector to the swank functions, which then vectorise and
confuse the event stream.
list(quote(`:write-string`), string, quote(`:repl-result`))
}
makeMediaReplResult.complex <- function(value) {
list(quote(`:write-string`), string, quote(`:repl-result`))
}
makeMediaReplResult.complex <- function(value) {
- string <- deparse(value)
+ string <- paste(deparse(value), sep="", collapse="\n")
list(quote(`:write-string`), string, quote(`:repl-result`))
}
list(quote(`:write-string`), string, quote(`:repl-result`))
}