Displaying 20 results from an estimated 800 matches similar to: "R and Java"
2003 Sep 24
1
SJava help
Hi,
I installed SJava 0.66-1 on my linux RH 7.2 machine. I am using R-1.7.1.
I set LD_LIBRARY_PATH up then called library(SJava) and it was fine. But
when I called .JavaInit(), I got weird error that states it could not
find java/lang/Hashtable. The session is below and shows my java
configuration. I am using j2sdk1.4.2_01 from Sun.
Thank you very much.
Weiming Zhang
> .javaConfig
2002 Aug 29
3
running SJava
Folks,
Having problems getting started with SJava and request help.
I get this error when running .JavaInit() (within RGui 1.5.1, on Windows
2000):
Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find
the Omegahat interface manager class. Check you classpath!
(Before you right back saying read the emails, please read further - in
short, been there, done that)
2002 Aug 09
2
error starting SJava: classpath
Dear R experts,
Sorry, I am resending this, since I have not received this mail myself for
the past 5 hours.
I saw a similar question dated July 2. But there is no answer to it. Does
anybody have a solution to it?
I am using window NT, and the R version is 1.5.1, the SJava package is the
binary version SJavaWin_0.62-8.zip.
Here are the error message:
> library(SJava)
> .JavaInit()
2004 Aug 30
2
problem with SJava
hello,
I am trying to install SJava on Windows XP as
described on
http://www.omegahat.org/RSJava/:
at the level configure.win:
$rhome/sjava/configure.win returned "argument 'c:/...'
ignored"
When i tried to install like the readme file, it
returned in R
> library(SJava)
using JAVA_HOME = C:\Program Files\Java\j2re1.4.2_04
> .JavaInit()
Error in .JavaInit() :
2002 Jun 20
1
Questions on Instalation of SJava Package to R1.5.0
Dear Expects,
I tried to install the SJava package to the Library subdirectory of my
R1.5.0. However, when I tried it according to the instructions from
http://www.omegahat.org/RSJava/, I got the following error messages:
library(SJava)
Error in .Defunct() : `.Alias' is defunct.
See ?Defunct.
>.JavaInit()
Error: couldn't find function ".JavaInit"
I downloaded SJavaWin
2003 Feb 03
2
[Out off-topic] SJava under Windows
Sorry for this off-topic subject.
I am fighting for running SJava under Windows.
SJava_0.64 (compiled by Simon Urbanek, thanks), R 1.6.2, Java JDK 1.4.0_02,
Windows XP pro:
> library(SJava)
> .JavaInit()
Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the
Omegahat interface manager class. Check you classpath!
> # And the second time...
> .JavaInit()
It
2004 Sep 09
1
SJava, Client X11
Hi,
I have installed the SJava package (see http://www.omegahat.org/RSJava/ )
without any problem.
I was able to run the examples (see
http://www.omegahat.org/RSJava/examples/index.html )
from R, on my “R Linux server” and directly on the display of the server,
But, if I run theses examples on an “X11 client”, under Linux or windows,
with a “correct configuration” of the X11 client
2003 May 08
3
R crashes with package SJava; was Memory leakage?
Dear all,
Maybe this has something to do with R crashing?
When my R version crashes, there is Rgui.exe still
running in the background (i.e. W2K's task manager
recognises it only as a process, which apparently
is using almost 100% of the CPU).
I can reproduce that by "using" the SJava package
(from Brian Ripley's homepage, as suggested on
http://www.omegahat.org/RSJava/).
2002 Oct 24
1
Rjava failing to initialize in Windows 2000
Dear Any,
I am trying to initialise Rjava with the objective of running ORCA within R.
I am running R1.5.1 on Windows2000 and get the same problem with Sun
Java run time jre-1.2.2_013
Java j2re-1.4.1_01
Microsoft Java Virtual Machine Build 3805
.JavaInit() is failing at :
.C("s_start_VM", as.character(classPath), as.character(classPath),
2002 Feb 06
3
Help plot
Hello,
I would like plot a vector and want to specify the Xticks which will be
displayed. Is it possible ?
For example, suppose that x is a vector of length 3. I just want the
Xticks (and the corresponding labels)
for 1 2 and 3 to be displayed ( and not 1, 1.5, 2,2.5, ....) .
Thanks
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN
PhD student
2002 Mar 21
1
help with print and ways to display results
Hi all,
I have some (stupid) problems to display results and
i don't find a solution.
1-
res<-c(1,2,3)
I would like to display
>Results are 1 2 3
The following command cat(paste("Results are ",res,"\n")) give me
>my results are 1 my results are 2 my results are 3
2- res<-cbind(c(1,2),c(2,3))
I would like to display
>Result is the matrix 1 2
2001 Nov 13
2
plot and its options
Hi all,
I have some some difficulties to use plot and its options.
This is what i would like to do.
I want to put three plot in a same window
so i use par(mfrow=c(1,3)) and i obtain three columns for my three
graphics.
But, i would like that the two first take 90% of the window and the last
10%.
Could anyone give me a soultion??
Best regards,
Olivier
--
2001 Mar 15
3
outer
Dear r-plus users,
i would like to use outer in the following case outer(x,y,FUN="fun")
i suppose that my function fun is of the following form:
fun<-function(x,y)
{
if(y>x) return(x+y)
if(y<=x) return(0)
}
My problem is that the command outer(x,y,FUN="fun") return me a
null matrix instead of an upper triangular matrix.
Is somebody have a solution ?
Thanks for your
2002 Jul 02
3
mean and array
In general this is what "apply" does. In your example you could use
rowMeans(ar) as well, I think.
Reid Huntsinger
-----Original Message-----
From: Olivier Martin [mailto:olivier.martin at inrialpes.fr]
Sent: Tuesday, July 02, 2002 10:55 AM
To: r-help
Subject: [R] mean and array
Hi all,
I have an array, one say ar, with 3 dimensions.
dim(ar)
>200 3 4
I would like to
2002 Feb 26
3
a trick ??
Dear R users,
Suppose i have an A square matrix rxr. I want to obtain a block matrix
B (pxr,pxr) where
the p diagonal blocks are A and the others values are 0.
I would like to do something like : diag(A,ncol=pr, nrow=pr)
How can i do it ??
Thanks in advance,
Olivier.
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN
PhD student phone: (33) 04
2001 Oct 01
3
save plot graph
Dear all,
I have a lot plot graphs and i would like to save them.
One solution is to use the grab function with xv.
But it is tedious....
So is there a R function that can save automatically
the result of a plot in a gif or ps or bmp file
Thanks
Olivier
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN phone: (33) 04 76 61 53 55
Projet IS2
2001 Mar 30
1
SVM
Hi all,
I would like to try SVM method. Is somebody know if there
are available R or S scripts.
Thanks
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN phone: (33) 04 76 61 53 55
Projet IS2 06 08 67 93 42
INRIA Rhone-Alpes fax : (33) 04 76 61 54 77
655, Av. de l'Europe
Montbonnot
2001 Mar 30
1
SVM support vector machine
Hi all,
sorry for my previuos question that was incomplete...
i would like to test the SVM (support vector machine) algorithm?
is somebody know if there are available program for R or S?
thanks...
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN phone: (33) 04 76 61 53 55
Projet IS2 06 08 67 93 42
INRIA Rhone-Alpes
2002 Aug 20
4
plot and bg
Hi all,
I would like to plot some points and define the bg color of my graphics.
But the bg parameter set is defined for the. whole graphic.
In fact, i would like to use something like :
box(bg=gray(0.9)).
So, the background concerns only the plot region and not the main
title, the x title and the y title.
The option col for the function box() concerns the contour and there is
no option
2001 May 23
2
image with R
Hi all,
i would like to analyze some images with R.
For example, i have a tif image (16 bit=2^16 values) that i convert in
ascii file (8 bit =256 values only)
so it is easy to work under R with image() function.
But, i would like to keep my image with 2^16 values...
how can i do to load my tif image in my workspace?
Do you know if there is a package for analysis image ?
Thanks
Olivier
--