sage - Suppress the extra white space from compiling in R -


whenever compile r code, lot of white spaces clog worksheet.

is there way suppress this, without changing code on same line using semicolons? i'm working in sage worksheets, on cloud.

i've made changes reduce whitespace in r mode sagemathcloud (https://cloud.sagemath.com); restart project update. however, due how sage works might not sufficient. if evaluate following in cell (in sage mode, or put %sage @ top), eliminate lot of additional whitespace in %r mode.

def r_eval0(*args, **kwds):     return sage.interfaces.r.r.eval(sage.interfaces.r.r, *args, **kwds).strip().replace('\n\n','') sage_salvus.r_eval0 = r_eval0 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -