Re: [Rd] Call R function from Java

2006-07-12 Thread Prof Brian Ripley
Please do study the posting guide and consult the maintainer (as it asked you to do) with basic information (such as your OS) and the exact messages you received. As a guess: your PATH does not include the R DLLs and needs to? On Wed, 12 Jul 2006, way4thesub wrote: > > Hello, > > I am curren

Re: [Rd] Call R function from Java

2006-07-12 Thread way4thesub
Hello, I am currently attempting to use JRI to call data mining functions in R (ie rpart, lda, etc). I am using Eclipse 3.1.1 and jre1.5.0_06 and jdk1.5.0_07. I am unsure how to actually import JRI into eclipse. I've downloaded the JGR, the rJava and the JRI. I've included the jri.jar file in my

Re: [Rd] string-length limitations

2006-07-12 Thread jake wilson
Thank you - the proposed solution (eliminating quotes) worked. >From: Prof Brian Ripley <[EMAIL PROTECTED]> >To: jake wilson <[EMAIL PROTECTED]> >CC: r-devel@r-project.org >Subject: Re: [Rd] string-length limitations >Date: Wed, 12 Jul 2006 15:38:22 +0100 (BST) > >On Wed, 12 Jul 2006, jake wilson

Re: [Rd] string-length limitations

2006-07-12 Thread Prof Brian Ripley
On Wed, 12 Jul 2006, jake wilson wrote: > Hi, > > I'm attempting to "glm" a formula - something that's not caused problems in > the past. I've used formulas of the form > > formula( "dependant-variable~independant-variables" ) > > where the independant variable string is of the form: > >

Re: [Rd] string-length limitations

2006-07-12 Thread Thomas Lumley
On Wed, 12 Jul 2006, jake wilson wrote: > I'm attempting to "glm" a formula - something that's not caused problems in > the past. I've used formulas of the form > >formula( "dependant-variable~independant-variables" ) > > where the independant variable string is of the form: > >"indvar1+in

[Rd] string-length limitations

2006-07-12 Thread jake wilson
Hi, I'm attempting to "glm" a formula - something that's not caused problems in the past. I've used formulas of the form formula( "dependant-variable~independant-variables" ) where the independant variable string is of the form: "indvar1+indvar2+...+indvarN" Now, however, our indepen

Re: [Rd] Converting SEXP to primitive C types

2006-07-12 Thread Hin-Tak Leung
Michael Petrovich wrote: > I'm new to R development, so this may be a trivial question. > > In C, How do you convert a SEXP value returned by an R function to a > primitive C type (int, double, char, array, etc.)? I've tried using > the INTEGER(x), VECTOR_ELT(x,i), and similar functions found

Re: [Rd] invalid alignment error in R-2.4.0

2006-07-12 Thread Simon Urbanek
Robin, how did you compile your R? I know that old gcc 4 (as supplied by Apple) did indeed produce invalid code in quicksort that segfaulted, however, that was on an Intel Mac. You may want to use gcc 4.0.3 or later instead and see whether the problem is gone - R-devel from http://r.resear

Re: [Rd] [R] Date Format

2006-07-12 Thread Prof Brian Ripley
On Wed, 12 Jul 2006, Martyn Plummer wrote: > On Tue, 2006-07-11 at 20:05 +0200, Peter Dalgaard wrote: > > Martyn Plummer <[EMAIL PROTECTED]> writes: > > > > > I moved this to R-devel because I am wondering why the base package does > > > not allow you to convert from numeric to Date. Could we not

Re: [Rd] [R] Date Format

2006-07-12 Thread Martyn Plummer
On Tue, 2006-07-11 at 20:05 +0200, Peter Dalgaard wrote: > Martyn Plummer <[EMAIL PROTECTED]> writes: > > > I moved this to R-devel because I am wondering why the base package does > > not allow you to convert from numeric to Date. Could we not have > > something like this? > > > > as.Date.numeri

Re: [Rd] Sweave processes comments incorrectly (PR#9073)

2006-07-12 Thread Friedrich Leisch
> On Tue, 11 Jul 2006 16:46:02 +0200 (CEST), > krc (k) wrote: > Full_Name: Kevin R. Coombes > Version: 2.1.0 ^ Please note that this version of R is very outdated, please only report bugs which are verified for the most recent version of R (in this case it was still

Re: [Rd] Shared Library Support for AIX?

2006-07-12 Thread Prof Brian Ripley
We are waiting for the community of users of R on AIX to put in the resources needed to make this happen. We receive little help from AIX users of R (with the shining exception of Ei-ji Nakama), for example I cannot recall a single alpha/beta test report on that platform, and I would hope to r