Package usage in AzureML: ggplot2 and ggrepel
<p>I have a code in Azure ML which uses the function <code>ggrepel</code>. That function requires the version 2.0.0 of the package <code>ggplot2</code>. When I try to use it I obtain the error:</p>

<pre><code>Error 0063: The following error occurred during evaluation of R script:
---------- Start of error message from R ----------
package 'ggplot2' 1.0.0 was found, but &gt;= 2.0.0 is required by 'ggrepel'
</code></pre>

<p>So, what I did was: </p>

<ol>
<li>updated the R package <code>ggplot2</code> of my local version (is there a command to use to check the version of a package?);</li>
<li>taken the folder related to <code>ggplot2</code>, and put it in the zip file I pass to Azure. So the x.zip wil contain generic functions, then ggrepel.zip and ggplot2.zip.</li>
</ol>

<p>At the end I have written:</p>

<pre><code>install.packages("src/ggplot2.zip",lib = ".", repos = NULL, verbose = TRUE)
install.packages("src/ggrepel.zip",lib = ".", repos = NULL, verbose = TRUE)
library(ggrepel, lib.loc=".", verbose=TRUE)
library(ggplot2, lib.loc=".", verbose=TRUE)
</code></pre>

<p>It seems working for ggrepel, but not for ggplot, because I obtain the same issue shown at the beginning. It's like the system does not see the updated package, but the default ggplot2 of Azure ML.</p>