##// END OF EJS Templates
Fixed rmagic on Windows....
Benedikt Sauer -
Show More
@@ -512,7 +512,7 b' class RMagics(Magics):'
512 # execute the R code in a temporary directory
512 # execute the R code in a temporary directory
513
513
514 tmpd = tempfile.mkdtemp()
514 tmpd = tempfile.mkdtemp()
515 self.r('png("%s/Rplots%%03d.png",%s)' % (tmpd, png_args))
515 self.r('png("%s/Rplots%%03d.png",%s)' % (tmpd.replace('\\', '/'), png_args))
516
516
517 text_output = ''
517 text_output = ''
518 if line_mode:
518 if line_mode:
General Comments 0
You need to be logged in to leave comments. Login now