Show More
@@ -209,7 +209,7 b' class RMagics(Magics):' | |||||
209 | old_writeconsole = ri.get_writeconsole() |
|
209 | old_writeconsole = ri.get_writeconsole() | |
210 | ri.set_writeconsole(self.write_console) |
|
210 | ri.set_writeconsole(self.write_console) | |
211 | try: |
|
211 | try: | |
212 | res = ro.r("withVisible({%s})" % line) |
|
212 | res = ro.r("withVisible({%s\n})" % line) | |
213 | value = res[0] #value (R object) |
|
213 | value = res[0] #value (R object) | |
214 | visible = ro.conversion.ri2py(res[1])[0] #visible (boolean) |
|
214 | visible = ro.conversion.ri2py(res[1])[0] #visible (boolean) | |
215 | except (ri.RRuntimeError, ValueError) as exception: |
|
215 | except (ri.RRuntimeError, ValueError) as exception: |
General Comments 0
You need to be logged in to leave comments.
Login now