Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called ‘Rcpp’
<p>Basically I want to use wordcloud function. I'm working through R console. But I could use Rstudio if thats the problem.</p>

<p>When I use</p>

<pre><code> wordcloud(r_stats_text_corpus)
 Error: could not find function "wordcloud"
</code></pre>

<p>I also tried </p>

<pre><code>library("wordcloud")
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘Rcpp’
Error: package or namespace load failed for ‘wordcloud’
</code></pre>

<p>Then:</p>

<pre><code>install.packages("Rcpp")
Installing package into ‘C:/Users/Abbas/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
trying URL 'https://pbil.univ-lyon1.fr/CRAN/bin/windows/contrib/3.2/Rcpp_0.12.3.zip'
Content type 'application/zip' length 3197148 bytes (3.0 MB)
downloaded 3.0 MB

package ‘Rcpp’ successfully unpacked and MD5 sums checked

Warning: unable to move temporary installation ‘C:\Users\Abbas\Documents\R\win-library\3.2\file2388511e56ac\Rcpp’ to ‘C:\Users\Abbas\Documents\R\win-library\3.2\Rcpp’
The downloaded binary packages are in
        C:\Users\Abbas\AppData\Local\Temp\RtmpwrnScP\downloaded_packages
</code></pre>

<p>When I check the path <code>C:\Users\Abbas\Documents\R\win-library\3.2\file2388511e56ac\Rcpp</code> I could only find empty folder. Still I moved this folder to <code>C:\Users\Abbas\Documents\R\win-library\3.2\Rcpp</code>. Even after this when i try to load Rcpp package I get the error.</p>

<pre><code>library("Rcpp")
Error in library("Rcpp") : there is no package called ‘Rcpp’
</code></pre>

<p>Also when checking the path <code>C:\Users\Abbas\AppData\Local\Temp\RtmpwrnScP\downloaded_packages</code>, I can see zip file Rcpp_0.12.3 there.</p>

<p>Help!</p>

<p>EDIT: When I'm trying this through Rstudio, What am I missing on here?</p>

<pre><code>&gt; install.packages(Rcpp)
Error in install.packages : object 'Rcpp' not found
&gt; source('~/.active-rstudio-document', echo=TRUE)
</code></pre>