> <\body> <\expand|tmdoc-title> Using GNU R sessions inside GNU is an integrated suit of software facilities for data manipulation and graphical display. Many people use R as a statistics system. But the developers prefer to think of it as an implement within which many classical and modern statistical techniques have been implemented. You may download from <\verbatim> \ \ \ \ http://www.r-project.org In order to launch an session inside , use . The function can be used in order to include the contents of the graphics window inside your worksheet. <\session|r|default> <\output> \ Welcome to the TeXmacs interface to R. To put the current graph in the TeXmacs buffer as an eps use v(). The functions plotv(), linesv(), and pointsv() are provided as a convenience. They do the regular function, and then insert the graph. \; To change the size of the graph that is inserted to TeXmacs,just adjust the size of the X11 window. <\input|<\with|color|red> \ > qnorm(1/2,mean=0,sd=1) <\output> [1] 0 <\input|<\with|color|red> \ > x\-1:100 <\input|<\with|color|red> \ > y\-rnorm(x) <\input|<\with|color|red> \ > plot(x,y) <\input|<\with|color|red> \ > v() <\output> |ps>|/2|/2||||> <\input|<\with|color|red> \ > plot(x) <\input|<\with|color|red> \ > v() <\output> |ps>|/2|/2||||> <\input|<\with|color|red> \ > z\-sort(y) <\input|<\with|color|red> \ > plot(z) <\input|<\with|color|red> \ > v() <\output> |ps>|/2|/2||||> <\input|<\with|color|red> \ > plot(z,sort(y)) <\input|<\with|color|red> \ > v() <\output> |ps>|/2|/2||||> <\input|<\with|color|red> \ > hist(z) <\input|<\with|color|red> \ > v() <\output> |ps>|/2|/2||||> <\input|<\with|color|red> \ > summary(z) <\output> \ \ \ \ \ Min. \ \ 1st Qu. \ \ \ Median \ \ \ \ \ Mean \ \ 3rd Qu. \ \ \ \ \ Max.\ -2.802000 -1.003000 \ 0.007691 -0.040620 \ 0.840500 \ 2.447000\ <\input|<\with|color|red> \ > hist(y,seq(-4,3.5,0.2),prob=TRUE) <\input|<\with|color|red> \ > v() <\output> |ps>|/2|/2||||> <\input|<\with|color|red> \ > \; <\initial> <\collection> <\references> <\collection> > > > |?>> > > > > > > > > > > > > > > > > > > > > > > > > > > <\auxiliary> <\collection> <\associate|figure> > > > > > >