Skip to content

Commit 79dd0ff

Browse files
committed
Improved R support
1 parent d9e275a commit 79dd0ff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

interpreter/code_interpreter.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,14 @@ def add_active_line_prints(self, code):
270270
3) It really struggles with multiline stuff, so I've disabled that (but we really should fix and restore).
271271
"""
272272

273+
# Doesn't work on Windows
274+
if platform.system() == 'Windows':
275+
return code
276+
277+
# Doesn't work with R
278+
if self.language == 'R':
279+
return code
280+
273281
if self.language == "python":
274282
return add_active_line_prints_to_python(code)
275283

0 commit comments

Comments
 (0)