How can I use plyr and reshape2 R packages with Vertica?
I am trying to create an R UDF which relies on the plyr and reshape2 R packages. Before installing these packages, my other R UDFs worked fine. However, after running install.packages("plyr") in the R terminal, none of my R UDFs work anymore.
It seems that Rcpp is related to the problem since the dbLog contained the following two lines:
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[]) :
It seems that Rcpp is related to the problem since the dbLog contained the following two lines:
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[]) :
namespace ‘Rcpp’ 0.10.2 is already loaded, but >= 0.11.0 is required
/opt/vertica/bin/vertica-udx-R: error while loading shared libraries: libRcpp.so: cannot open shared object file: No such file or directory
Is there any way I can use plyr and reshape2 with Vertica 7.0.x? It worked in an older version of Vertica...0
Comments
http://my.vertica.com/docs/7.1.x/HTML/index.htm#Authoring/ProgrammersGuide/UserDefinedFunctions/UDxR...
Rinside
You can optionally update any other packages installed with the R Language Pack. You must update any packages that you manually installed and are not compatible with R 3.0.
The packages you selected to be updated are installed. Quit R with the command:
quit()
I already have Vertica 7.1 installed on the cluster, but I still can't use the latest reshape library. The RCPP library is still version 0.10.2 instead of 0.11.
Did I missed something?
You are correct in noting that the Rcpp version is still 0.10.2 in Vertica 7.1. We are working towards the upgrade but ran into some roadblocks. We expect to come out with the updated version in the near future.
Thanks
Pratibha
Rebecca, which versions of plyr and reshape2 have you installed?
Thank you