Bug #2195

CA command does not work

Added by Sebastien Jacquot about 2 years ago. Updated about 2 years ago.

Status:New Start date:05/15/2017
Priority:High Due date:
Assignee:- % Done:

0%

Category:Stats / R Spent time: -
Target version:Portal 0.6.2

Description

CA command does not work, error:

404: broken link
"/txm/data/svg/null" address /txm/data/svg/null

catalina.out:

** Impossible de charger la librairie 'ca'org.txm.stat.engine.r.RException: ** Erreur R : "Error in library(FactoMineR) : 
  aucun package nommé ‘FactoMineR’ n'est trouvé
" 
 lors de l'évaluation de :library(FactoMineR)
org.txm.stat.StatException: ** Erreur lors du calcul de l'analyse factorielle des correspondances : ** Erreur R : "Error in loadNamespace(name) : 
  aucun package nommé ‘FactoMineR’ n'est trouvé
" 
 lors de l'évaluation de :FactoMineRCA4 <- FactoMineR::CA(LexicalTable1, graph=FALSE)
    at org.txm.stat.engine.r.function.FactoMineRCA.<init>(FactoMineRCA.java:121)
    at org.txm.functions.ca.CA.<init>(CA.java:170)
    at org.txm.web.server.services.AFCServiceImpl.analysisComputing(AFCServiceImpl.java:89)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.txm.stat.engine.r.RException: ** Erreur R : "Error in loadNamespace(name) : 
  aucun package nommé ‘FactoMineR’ n'est trouvé
" 
 lors de l'évaluation de :FactoMineRCA4 <- FactoMineR::CA(LexicalTable1, graph=FALSE)
    at org.txm.stat.engine.r.RWorkspace.safeEval(RWorkspace.java:1435)
    at org.txm.stat.engine.r.RWorkspace.eval(RWorkspace.java:1115)
    at org.txm.stat.engine.r.function.FactoMineRCA.<init>(FactoMineRCA.java:119)
    ... 30 more
** Impossible de charger la librairie 'ca'org.txm.stat.engine.r.RException: ** Erreur R : "Error in library(FactoMineR) : 
  aucun package nommé ‘FactoMineR’ n'est trouvé
" 
 lors de l'évaluation de :library(FactoMineR)
org.txm.stat.StatException: ** Erreur lors du calcul de l'analyse factorielle des correspondances : ** Erreur R : "Error in loadNamespace(name) : 
  aucun package nommé ‘FactoMineR’ n'est trouvé
" 
 lors de l'évaluation de :FactoMineRCA8 <- FactoMineR::CA(LexicalTable5, graph=FALSE)
    at org.txm.stat.engine.r.function.FactoMineRCA.<init>(FactoMineRCA.java:121)
    at org.txm.functions.ca.CA.<init>(CA.java:170)
    at org.txm.web.server.services.AFCServiceImpl.analysisComputing(AFCServiceImpl.java:89)
    at org.txm.web.server.services.AFCServiceImpl.getValeursPropres(AFCServiceImpl.java:152)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.txm.stat.engine.r.RException: ** Erreur R : "Error in loadNamespace(name) : 
  aucun package nommé ‘FactoMineR’ n'est trouvé
" 
 lors de l'évaluation de :FactoMineRCA8 <- FactoMineR::CA(LexicalTable5, graph=FALSE)
    at org.txm.stat.engine.r.RWorkspace.safeEval(RWorkspace.java:1435)
    at org.txm.stat.engine.r.RWorkspace.eval(RWorkspace.java:1115)
    at org.txm.stat.engine.r.function.FactoMineRCA.<init>(FactoMineRCA.java:119)
    ... 31 more

Trying to install FactoMineR in R but got this error:

package FactoMineR is not available (for R version 3.1.1)

R version:

platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          3                           
minor          1.1                         
year           2014                        
month          07                          
day            10                          
svn rev        66115                       
language       R                           
version.string R version 3.1.1 (2014-07-10)
nickname       Sock it to Me  

History

#1 Updated by Sebastien Jacquot about 2 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot about 2 years ago

Updated R to 3.4.0 and successuflly installed FactoMineR but CA still doesn't work with this error:

** Impossible de charger la librairie 'ca'org.txm.stat.engine.r.RException: ** Erreur R : "Error : Ceci est R 3.1.1, le package FactoMineR nécessite >= 3.3.0
" 
 lors de l'évaluation de :library(FactoMineR)
org.txm.stat.StatException: ** Erreur lors du calcul de l'analyse factorielle des correspondances : ** Erreur R : "Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  impossible de charger l'objet partagé '/usr/lib/R/library/grid/libs/grid.so':
  /usr/lib/R/library/grid/libs/grid.so: undefined symbol: Rf_installChar
" 
 lors de l'évaluation de :FactoMineRCA4 <- FactoMineR::CA(LexicalTable1, graph=FALSE)
    at org.txm.stat.engine.r.function.FactoMineRCA.<init>(FactoMineRCA.java:121)
    at org.txm.functions.ca.CA.<init>(CA.java:170)
    at org.txm.web.server.services.AFCServiceImpl.analysisComputing(AFCServiceImpl.java:89)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.txm.stat.engine.r.RException: ** Erreur R : "Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  impossible de charger l'objet partagé '/usr/lib/R/library/grid/libs/grid.so':
  /usr/lib/R/library/grid/libs/grid.so: undefined symbol: Rf_installChar
" 
 lors de l'évaluation de :FactoMineRCA4 <- FactoMineR::CA(LexicalTable1, graph=FALSE)
    at org.txm.stat.engine.r.RWorkspace.safeEval(RWorkspace.java:1435)
    at org.txm.stat.engine.r.RWorkspace.eval(RWorkspace.java:1115)
    at org.txm.stat.engine.r.function.FactoMineRCA.<init>(FactoMineRCA.java:119)
    ... 30 more

textometry.properties contains:

r_path_to_executable=/usr/bin/R

launching /usr/bin/R and checking the R version displays well 3.4.0.

Is there any way to know which R is used by the toolbox?

Also available in: Atom PDF