Displaying 20 results from an estimated 300 matches similar to: "Installing RWeka package in CentOS 5: problems with JAVA?"
2008 Oct 16
4
How to save/load RWeka models into/from a file?
Hi,
I want to save a RWeka model into a file, in order to retrive it latter
with a load function.
See this example:
library(RWeka)
NB <- make_Weka_classifier("weka/classifiers/bayes/NaiveBayes")
model<-NB(formula,data=data,...) # does not run but you get the idea
save(model,file="model.dat") # simple save R command
# ...
load("model.dat") # load the model
2009 Mar 30
0
Problem with Tomcat
Hi,
Tomcat was running well and suddenly stop of working.
I am using tomcat5-5.5.23-0jpp.7.el5_2.1 on Centos 5.2
/etc/tomcat5/tomcat5.conf looks like as follows:
JAVA_HOME="/usr/lib/jvm/java"
CATALINA_HOME="/usr/share/tomcat5"
JASPER_HOME="/usr/share/tomcat5"
CATALINA_TMPDIR="/usr/share/tomcat5/temp"
2008 Jan 02
1
problems with JAVA in JGR library on ubuntu 7.04
Hi All
I installed JGR library both on ubuntu 7.10 and 7.04
on 7.10 all went fine,
but on 7.04 I recived massage:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/rosuda/JRI/RMainLoopCallbacks
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
2008 Feb 07
0
R GUI installation on Linux/SuSE 10.3
After a long sufferance I had succeeded in installing R GUI on my
Linux/SuSE system. It worked fine.
Unluckily a system upgrade patch messed up my monitor so I had to reinstall
SuSE 10.3 and every other application on top of it.
I have R running back with text interface. I tried to get the nice R GUI up
& running again. I followed all the steps to reinstall the R GUI but this
time I get a
2011 Jul 08
2
java annoyances
Fresh install on a brand new box (Dell Precision 3500) of 5.6. I install
Sun java-1.6.0_26-b03, Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02,
mixed mode)
Then
ln -s
/usr/lib/jvm/java-1.6.0-sun-1.6.0.26.x86_64/jre/lib/amd64/libnpjp2.so
/usr/lib64/mozilla/plugins
about:plugins shows java enabled (oddly enough, I seem to have flash,
32-bit, in the 32 bit libs, and that doesn't show; guess
2009 Feb 25
0
JRI problem with NoClassDefFoundError
I tried to run rtest.java (example Java file found together with JRI
library). But I got the following error.
I run it with NetBeans on Windows XP.
run:
java.lang.NoClassDefFoundError: Files\R\R-2/8/1\library\rJava\jri
Caused by: java.lang.ClassNotFoundException:
Files\R\R-2.8.1\library\rJava\jri
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at
2013 May 14
1
PuppetDB Cannot Find Postgresql Driver
Puppet 3.3.1 // CentOS release 6.4 (Final)
rpm -qa | grep puppet
puppetlabs-release-6-7.noarch
puppet-3.1.1-1.el6.noarch
puppetdb-1.3.0-1.el6.noarch
puppet-server-3.1.1-1.el6.noarch
puppetdb-terminus-1.3.0-1.el6.noarch
Installed from yum packages:
Running Transaction
Installing : puppetdb-1.3.0-1.el6.noarch
2013 Feb 08
1
ClassNotFoundException when running distributed job using rJava package
Hi,
I have a MapReduce Java code, which I am calling from R using rJava. I have
prepared the R package and tested that successfully. But when I deployed
the package in a cluster and executed it, I am getting
ClassNotFoundException. If I run the same job directly without integrating
with R, it runs perfectly.
Here is my R code:
library(rJava)
muMstSpark <- function(mesosMaster = NULL, input =
2008 Jul 28
1
RStem with portuguese language
Greetings,
I have R 2.7.1 in MacOs and I believe UTF encoding is already installed.
At least:
> Sys.getenv()
shows several variables, including:
LANG "pt_PT.UTF-8"
I installed the Rstem and tm packages and when I try the following code:
> wordStem(c("aberra??o","aberra??es"), language="portuguese")
[1] "aberra?\xc3"
2019 Jan 23
0
So nearly there, but can't install rJava
Thanks Sebastian, Johannes and Dirk for your inputs, I think this can be marked [SOLVED] though I still don't understand how it started.
The answer seems to be that something sets an environment variable JAVA.LIBRARY.PATH and this wasn't set correctly. I had never directly done anything to set that so that's odd but what I had done that was causing the problem (I think) is that I had
2007 Mar 14
2
Redirecting output to the screen
A simple example follows. The file is called Test.R
# Example
rm(list=is(all=TRUE))
cat("Enter file name")
fn<-scan(what="")
I execute the following:
@C:\PROGRA~1\R\R-2.4.1\bin\Rterm.exe --no-restore --no-save < Test.R > Rout.txt
I do not see the "Enter file name" or have the opportunity to enter the file name. I am running R in windows XP.
Thanks for
2009 Feb 09
0
classpath Issue
I am new to Ruby/RoR and would appreciate any help on the issue I am
trying to resolve far past 2 days.
I have a java application as a jar and I have included in the controller
as below.
require ''java''
require ''C:/Documents and Settings/user/Desktop/application.jar''
include_package ''whatever.something''
After that I am calling a method
2008 Feb 04
1
Java and Xalan
Hello,
I have some problems running some tools of java in CentOS. Anyone know
where is the problem for this?
> [jv at localhost ~]$ java org.apache.xalan.xslt.Process
> Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.xslt.Process
> at gnu.java.lang.MainThread.run(libgcj.so.7rh)
> Caused by: java.lang.ClassNotFoundException:
1999 Oct 29
4
SMBMount and backup application
I would like some advice. I am considering the best way to restructure my
backup scheme on my NT network. I would like to see if it would be
possible/feasible to use cron, smbmount, some SCSI tape drives, and some type
of archive tool to backup my NT shares to a RedHat box using Samba. What do
all of you do out there? I would envision a situation where each night a
script is run by cron that
2008 Jan 07
1
glibc detected *** /usr/lib64/R/bin/exec/R: double free or corruption ???? tm package
Hi,
I have a collection of .txt documents in my working folder for which I want to do some text mining. If I run TextDocCol from the tm package, R crashes with some memory issues. Does anyone has any idea if this is related to R itself or to the tm package?
Below you can find what is happening here.
> setwd("/home/jan/Work/2008/Profacts/textmining/tryouts/workfolder")
>
2007 May 25
1
iplots problem
Hi. I try to load iplots using the following commands
> library(rJava)
> library(iplots)
but then I get the following error:
Error in .jinit(cp, parameters = "-Xmx512m", silent = TRUE) :
Cannot create Java Virtual Machine
Error in library(iplots) : .First.lib failed for 'iplots'
What do I have to do to correct this?
Thanks
--
View this message in context:
2006 Feb 09
3
wget File Too Long?
Hi All,
any way around this error below,
Cannot write to
2010 Nov 24
1
RJDBC doesn't load Oracle driver?
After installing RJDBC on RedHat Linux and using it successfully with mySQL
JDBC driver i am trying to use it with Oracle database. I use the JDBC
driver that works fine elsewhere (use it in DBVizualizer). However, when i
try to load the driver,
drv<-JDBC("oracle.jdbc.driver.OracleDriver",
"/home/az05625/DBdrivers/ojdbc6.jar", identifier.quote="`")
it gives me
2006 Mar 05
2
RWeka
Hi,
I downloaded RWeka successfully. (At least I do not see, where I could have made a mistake.) Then I tried to load it by the library-command. To my surprise this did not work. Result:
library(RWeka)
Fehler in .jinit(c(system.file("jar", "weka.jar", package = "RWeka"), system.file("jar", :
Cannot create Java Virtual Machine
Fehler: .onLoad in
2009 Aug 15
1
Error in running RWeka Clusteres
Hi,
I have a question about using RWeka Clusterers.If you could supply answer or
insight, I would really appreciate it.
When I run a simple code which uses a clusterer from RWeka I get an error.
the sample codes and errors are mentioned below
Code:
library(RWeka)
Cobweb(iris[,-5],control=NULL)
Error:
Error in names(class_ids) <- nms :
'names' attribute [150] must be the same