similar to: Finally get SJava work

Displaying 20 results from an estimated 2000 matches similar to: "Finally get SJava work"

2003 Mar 04
1
R version conflict.
My mistake :( Seems that there's another R installed by root. So when I use .libPaths() there're two of them: > .libPaths() [1] "/disk/hopper/projects/class/cse514/R/library" [2] "/usr/lib/R/library" How could the second path be enabled then? The R_LIBS have already been set to as the [1] only. Thanks, yan On Mon, 3 Mar 2003, Robert Gentleman wrote: > You
2001 Jul 16
0
[R] RE: too many arguments in foreign function call
> From: Robert Gentleman [mailto:rgentlem@jimmy.harvard.edu] > > Greg, > you might be better off writing a wrapper, > > R->foo where foo has less than 65 args and does nothing more than > unpack them and calls bar (the original) with as many args as you > want, not much code change and not much cost... Hi Rob, [BTW, sorry about the crosspost
2001 Oct 02
0
An example (was RE: file connection, while, readLines and bro wser)
Prof. Gentleman (and R-help), Here's an example of what didn't work. I still don't understand why. Function: trycon <- function(file, n) { f.con <- file(file, open="rt") on.exit(close(f.con)) i <- 0 while( length(readln <- readLines(f.con, 1)) > 0 ) { x <- unlist(strsplit(readln, " ")) if(length(x) <= 6 && x[3] ==
2001 Jan 10
2
nearest neighbors
Is there an implementation of a reasonable k-nearest neighbor finder already in one of the packages? -- +---------------------------------------------------------------------------+ | Robert Gentleman phone : (617) 632-5250 | | Associate Professor fax: (617) 632-2444 | | Department of Biostatistics office: not yet
2001 May 30
2
new book
Just thought I would mention that there is a new O'Reilly book out, "Developing Bioinformatics Computer Skills", which is ok, pretty superficial about some things but at least it lets you know what is happening and where. R gets a few pages in there, 394-396, mostly nice press and accurate except that Bill Venables (hi Bill) may be surprised to find out that he is a member of the
2001 May 22
0
Job announcement
I realize this isn't quite the correct forum (but then I don't think that there is one). Anyways, I've just been given enough money to hire two programmer for at least two years to work on the following project: (for experienced programmers only, please, salary in the 70k range) BRIEF DESCRIPTION FOR JOB POSTING To develop a system for the manipulation and analysis of microarray
2001 Oct 17
0
Assignment of structures on a given environment]
Robert Gentleman wrote: > On Tue, Oct 16, 2001 at 04:40:34PM +0100, Rita Ribeiro wrote: > > Hi, > > > > In order to avoid deep copies by passing large arguments to functions or > > > > returning values, I'm trying to do the assignment of variables in a > > given environment. The problem is when I try to assign a structure: a > > list for example.
2000 Dec 18
0
Some potential changes (enhancements) to formulas and models
Here is part 1 of my long saga towards a more flexible modeling paradigm. Comments and hints are especially welcome. The simple version: Starting with a formula and data R goes through 3 main steps to get the data into a form suitable for fitting. 1) application of terms 2) application of model.frame (subset and na.action occur in 2). 3) application of model.matrix To be concrete
2001 Oct 02
1
problem with while loop with next (was RE: file connection, w hile, readLines and browser)
Dear R-help, I think I have kinda isolated the problem I had to the following: i <- 0 while( {i <- i + 1} < 5) { if(i < 3) next print(i) } This seems to go into an infinite loop. After I break the execution, i has the value 1. At the R prompt, if I start from i <- 0 and keep typing {i <- i + 1} < 5, it eventually evaluate to TRUE. So why does the while loop not work?
2001 Apr 11
1
a couple of ideas/proposals
Byron Ellis has been making some progress on a hdf5 library for microarray data (and any other thing you want to put in there). In doing so some issues have arisen that are of more general interest. 1) hdf5 supports annotation (through comments) so it would be nice if the comment function in R became generic. I think this is backward compatible and basically not really an issue of any
2001 Oct 02
1
RE: problem with while loop with next
Prof. Tierney, Thanks very much for the info. Why does the loop work if I move the assignment out of the condition? E.g., the following works: i <- 0 while(i < 5) { i <- i + 1 if(i < 3) next print(i) } Regards, Andy > -----Original Message----- > From: Luke Tierney [mailto:luke at nokomis.stat.umn.edu] > Sent: Tuesday, October 02, 2001 3:36 PM > To: Liaw, Andy
2003 Mar 03
1
How to change the default library directory?
I installed SJava package at $R_HOME/lib/R/library/ When I conduct library(SJava), I always need to explicitly specify the library path, how could I change the default library path? I have included the SJava path in the LD_LIBRARY_PATH variable as: %echo $LD_LIBRARY_PATH R_HOME/lib/R/library:R_HOME/lib/R/library/SJava/libs:/usr/java/j2sdk1.4.0_01/jr$ The result in R is as:
2002 Sep 03
2
Problem with SJava sample "JavaRCall"
Hi, I am trying to run the example "JavaRCall" with SJava 0.65 and R1.5.1 under Windows NT4.0. Although loadLibrary("RInterpreter") worked successfull, the following error occurs: "Exception breakpoint occurred at line 65 of ROmegahatInterpreter.java. java.lang.UnsatisfiedLinkError: boolean org.omegahat.R.Java.ROmegahatInterpreter.initR(java.lang.String[]) boolean
2002 Jul 10
0
Configuring SJava on Windows
Dear R users, I was happy to find a binary library for SJava in the last released of R (1.5.1)... I am able to load the library... but I have some problems to run this library: > .JavaInit() Error in .JavaInit() : Couldn't start Java Virtual Machine: Can't create Java Virtual Machine > javaConfig() $classPath [1] "F:/Program
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()
2007 Jan 03
1
troubles installing SJava for R
Hello all, I am using R 2.4.0 and SJava 0.69-0 on linux. I am not able to install SJava on R. The following errors appear when installing: ... ** R ** inst WARNING: use of install..R is no longer supported ** preparing package for lazy loading Creating a new generic function for "merge" in "SJava" ** help >>> Building/Updating help pages for package
2004 Oct 15
0
SJava 0.65 and R 2.0.0 (slightly long)
Hi, I had some Java code that worked with SJava 0.65 under R 1.8.*. I'm trying to get it to work with R 2.0.0. My JVM is Sun 1.5.0 (running on Fedora Core 2) I downloaded and installed SJava 0.65 in my personal directory using R CMD INSTALL SJava-0.65.tar.gz -l ~/src/Rlibrary and before starting R I sourced RJava.bsh. However after loading the SJava library if do javaConfig() I get
2004 Jan 15
0
Sjava question on MacOS 10.3
I am running R-1.81, apple's JVM installed with OS 10.3.2, and installed Sjava-0.65.X (a patched version of Sjava for MacOS from Simon Urbanek, which I know is inherently dangerous, but...). This version installed fine and some aspects seem to work as expected. However, this is one of the examples and causes R to hang. Any insights? What other information should I provide to make it easier
2004 May 26
3
SJava
Hi again! I'm trying to download SJava from the http://www.omegahat.org/RSJava/ website. I'm trying to get the binary. I download the version from BDR's website. When I unzip the file via unzip.exe, the new folder appears as SJAVA (upper case). >library(SJava) Error in library(SJava) : There is no package called 'SJava' >library(SJAVA) Error in library(SJAVA) :
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)