CoCalc Shared Filesr-interpreter.sagewsOpen in CoCalc with one click!
Author: Harald Schilly
Views : 36

R-Interpreter in Sage Worksheets on CoCalc

r = R() r.summary(r([1,2,3,2]))
Min. 1st Qu. Median Mean 3rd Qu. Max. 1.00 1.75 2.00 2.00 2.25 3.00
r?
/ext/sage/sage-8.0/local/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead import OpenSSL.SSL
File: /ext/sage/sage-8.0/local/lib/python2.7/site-packages/sage/interfaces/r.py Signature : r(self, x, name=None) Docstring : An interface to the R interpreter. R is a comprehensive collection of methods for statistics, modelling, bioinformatics, data analysis and much more. For more details, see http://www.r-project.org/about.html Resources: * http://r-project.org/ provides more information about R. * http://rseek.org/ R's own search engine. EXAMPLES: sage: r.summary(r.c(1,2,3,111,2,3,2,3,2,5,4)) Min. 1st Qu. Median Mean 3rd Qu. Max. 1.00 2.00 3.00 12.55 3.50 111.00