From: Christophe Rhodes Date: Thu, 9 Sep 2010 23:12:52 +0000 (+0100) Subject: fix one multiple-string bug in the inspector X-Git-Url: http://christophe.rhodes.io/gitweb/?p=swankr.git;a=commitdiff_plain;h=a8a7e4725d583158cfc096a687a897763e00579a;ds=sidebyside fix one multiple-string bug in the inspector --- diff --git a/swank.R b/swank.R index ff22caa..d72103f 100644 --- a/swank.R +++ b/swank.R @@ -491,7 +491,7 @@ inspectObject <- function(slimeConnection, object) { valuePart <- function(istate, object, string) { list(quote(`:value`), - if(is.null(string)) printToString(object) else string, + if(is.null(string)) paste(printToString(object),collapse=" ") else string, assignIndexInParts(object, istate)) }