« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Built-in Integration with R

Compute Frequencies of Random Integers 

First, load and install the R runtime and generate random data. Compute the frequencies of elements and return them as a data frame that can be viewed as a table.
In[1]:=
Click for copyable input
X
In[2]:=
Click for copyable input
X
In[3]:=
Click for copyable input
X
Out[3]=
In[4]:=
Click for copyable input
X
Out[4]//TableForm=