use r as console


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. >>> rscript = """
  2. ... x = c(1,3,2,5,4,6)
  3. ... plot(x)
  4. ... """
  5. >>> r(rscript)
  6. <RObject - Python:0x44f990 / R:0x8c63b0>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.