Hola José. Recuerdo que yo también tuve problemas para instalar este paquete. XLConnect utiliza java, así que debes tener bien instalado el paquete rJava. Sin embargo este paquete da algunos problemas, en especial si utilizas Windows 7 de 64 bits. Te paso unas notas que yo encontré y que me ayudaron a solucionarlo, espero te sean de ayuda. Aquí va (está en inglés):
"Here is some quick advice on how to get up and running with R + rJava on Windows 7 64bit. There are several possibilities, but most have fatal flaws. Here is what worked for me: Add jvm.dll to your PATH rJava, the R<->Java bridge, will need jvm.dll, but R will have trouble finding that DLL. It resides in a folder like C:\Program Files\Java\jdk1.6.0_25\jre\bin\server or C:\Program Files\Java\jre6\jre\bin\client Wherever yours is, add that directory to your windows PATH variable. (Windows -> "Path" -> "Edit environment variables to for your account" -> PATH -> edit the value.) You may already have Java on your PATH. If so you should find the client/server directory in the same Java "home" dir as the one already on your PATH. To be safe, make sure your architectures match.If you have Java in Program Files, it is 64-bit, so you ought to run R64. If you have Java in Program Files (x86), that's 32-bit, so you use plain 32-bit R. Re-launch R from the Windows Menu If R is running, quit." Saludos, Juan Carmona -----Mensaje original----- De: R-help-es [mailto:[email protected]] En nombre de Dr. José A. Betancourt Bethencourt Enviado el: miércoles, 19 de agosto de 2015 14:28 Para: [email protected] Asunto: [R-es] pregunta XLConnect Estimados El correo m o [email protected] <mailto:[email protected]> que est en la lista de r est inhabilitado hasta el d a primero, apreciar a que me respondieran por este si es posible Estimados Al tratar de instalar el paquete XLConnect me informa lo que esta abajo C mo se puede superar esta deficiencia? library(XLConnect) Loading required package: XLConnectJars Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry Error: package XLConnectJars could not be loaded sessionInfo() R version 3.2.1 (2015-06-18) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 8 x64 (build 9200) locale: [1] LC_COLLATE=Spanish_Spain.1252 LC_CTYPE=Spanish_Spain.1252 [3] LC_MONETARY=Spanish_Spain.1252 LC_NUMERIC=C [5] LC_TIME=Spanish_Spain.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_3.2.1 Saludos cordials Jos -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ [[alternative HTML version deleted]] _______________________________________________ R-help-es mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-help-es
