Trying to install tm package in R but it fails
<p>Trying to install tm package in R but I get the following error. </p>

<p>Installing package into ‘C:/Users/resmim/Documents/R/win-library/3.2’ (as ‘lib’ is unspecified) also installing the dependency ‘slam’<br>
Packages which are only available in source form, and may need compilation of   C/C++/Fortran: ‘slam’ ‘tm’   These will not be installed</p>