Displaying 20 results from an estimated 1000 matches similar to: "SJava convert problem"
2004 Nov 18
4
SJava
I failed to build SJava dure to teh error below. Any ideas?
# R CMD INSTALL -c SJava_0.68-0.tar.gz
* Installing *source* package 'SJava' ...
checking for java... /opt/j2sdk1.4.2_06//bin/java
Java VM /opt/j2sdk1.4.2_06//bin/java
checking for javah... /opt/j2sdk1.4.2_06//bin/javah
Looking in /opt/j2sdk1.4.2_06/include
Looking in /opt/j2sdk1.4.2_06/include/linux
checking for g++... no
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/).
2005 Mar 06
3
Search and convert string function
Hi all,
I want to do this kind of function In R enviroment :
For example :
R <- 4
testString <- "I love $R"
then search this testString, when find "$R",replace "$R" to R ,and because
the value of R is 4
So the final string I want to get is "I love 4"
How can I implement? Thanks advance
Michael
2013 Feb 09
2
character strings with embedded commands: perl "/gee" ?
dear R experts---I am trying to replicate a perl feature. I want to be
able to embed R commands inside a character string, and have the
string be printed with the command executed. my perl equivalent is
my $a=10;
my $teststring = "the expression, $a+1, is ::$a+1::, but add one
more for ::$a+2::\n";
$teststring =~ s/::(.*?)::/$1/gee;
print $teststring;
of course, R does not use
2005 Jul 18
1
levels() deletes other attributes
Dear All,
it seems to me that levels() deletes other attributes. See the following
example:
## example with levels
f1 <- factor(c('level c','level b','level a','level c'), ordered=TRUE)
attr(f1, 'testattribute') <- 'teststring'
attributes(f1)
levels(f1) <- c('L-A', 'L-B', 'L-C')
attributes(f1)
If I run it, after
2010 Oct 19
0
[LLVMdev] Structure memory layout
Hi Jin Gu Kang
> 5 %0 = type { i3, i4, i3, i2 }
each of the above struct fields occupies 1 byte. If you were hoping that an
i3 field would occupy only 3 bits then I am sorry, it doesn't work that way.
Ciao,
Duncan.
2011 Aug 23
1
Implementing a "plugin" paradigm with R methods
Dear list,
I was wondering how to best implement some sort of a "plugin" paradigm
using R methods and the dispatcher:
Say we have a function/method ('foo') that does something useful, but
that should be open for extension in ONE specific area by OTHERS using
my package. Of course they could go ahead and write a whole new 'foo'
method including the features they'd
2009 Dec 02
1
read.csv confused by newline characters in header (PR#14103)
Full_Name: George Russell
Version: 2.10.0
OS: Microsoft Windows XP Service Pack 2
Submission from: (NULL) (217.111.3.131)
The following code (typed into R --vanilla)
testString <- '"B1\nB2"\n1\n'
con <- textConnection(testString)
tab <- read.csv(con,stringsAsFactors = FALSE)
produces a data frame with with one row and one column; the name of the column
is
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 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) :
2011 Apr 30
3
Copying to R a rectangular array from a Java class
Bare test code: My simple Java test class source and R test code follow:
public class RJavTest {
public static void main(String[]args) { RJavTest rJavTest=new RJavTest();
}
public final static String conStg="testString";
public final static double con0dbl=10000001;
public final static double[]con1Arr=new double[] {
10001,10002,10003,10004,10005,10006 };
public final static
2004 Oct 27
1
SJava loading --error!
Hi list,
I am having a problem in SJava. while loading the library I get the
folowing error.
> library(SJava)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/usr/lib/R/library/SJava/libs/SJava.so":
libRSNativeJava.so: cannot open shared object file: No such file or
directory
Error in library(SJava) : .First.lib failed for
2010 Oct 20
2
[LLVMdev] Structure memory layout
Hi renato,
First, I really appreciate your answer. :)
The IR in an previous e-mail is incomplete so far and
I am converting it to various shape.
My team members decided to add new types to solve the bitfield's alignment problem.
Let's consider your previous examples:
struct testChar { char a:3; char b:4; char c:3; char d:2; };
struct testShort { short a:3; short b:4; short c:3;
2004 Sep 10
2
loading Sjava
I'm excited about SJava, and I'ld love to get it working, but can't get
past loading the package.
.First.lib fails on this statement:
> library.dynam("SJava", "SJava", "C:/PROGRA~1/R/rw1091/library")
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2007 May 16
2
Installing SJava - problem
Hi there.
I am trying to install SJava on my windows xp machine.
I downloaded the windows source file SJava_0.69-0.tar.gz from the web site
http://www.omegahat.org/RSJava/
I have folloed the XP command line instructions as directed in the table
underneath the download link:
cd $RHOME/src/library
unzip SJava_0.69-0.zip
cd SJava
./configure.win $RHOME
cd $RHOME/src/gnuwin32
make pkg-SJava
I
2004 Mar 05
1
Problems with SJava instalation
Hi,
I'm try to use the SJava package. The install is OK. In R I have this error
message:
--------------------------
> library(SJava)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/opt/lib/R/site-library/SJava/libs/SJava.so":
libRSNativeJava.so: cannot open shared object file: No such file or
directory
Error in
2008 Oct 08
1
help for compile sjava
Dear duncan,
I'm writing to ask you for some help about compiling SJava.
I encounter some errors when I compiled SJava on Window XP:
Building JNI header files...
Extracting the classes from Environment.jar
/jdk1.3/bin/jar: not found
RForeignReference
After executing command "sh ./configure.win C:/Program Files/R/R-2.7.2", I
modify the JAVA_HOME in file "$RHOME/
2005 Jul 27
1
Installing SJava (I'm almost there, just a little more help please!....please!)
Hi. Day three and Iām still struggling with this. Any advice to overcome the
final hurdle will be enormously appreciated. I now have all the right Java
applications etc. in their right places and have managed to get rid of most
errors but still get this:
ā Making package SJava ā
Building JNI header files...
adding build stamp to DESCRIPTION
running src/Makefile.win
(cd .. ;
2002 Aug 19
1
install the SJava package on unix
Hi,
I've got a problem to use the SJava package with R.
I have a SUN solaris 8 machine.
Then I did R INSTALL -c SJava_0.65-0.tar.gz
without problem
Now I try the test provided on the web site:
library(SJava)
and here I receive the error message:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2004 Jun 08
3
SJAVA error
Hi
I'm trying to use SJava and I have troubles.
I try to run examples from "Calling R from Java"
but,I have an error that
"fatal error: enable to open the base package"
I heard SJAVA bug,
so,could you send me your compiled SJava package with the modified
REmbed.c because
in Windows i'm not able to recompile!!!
--example
package org.omegahat.R.Java;
public