Re: [Rd] to connect R from ejb

2009-10-20 Thread pragathichi
Sorry for not being clear. Than you . i successfully connected R to ejb by adding the jar files in the server directly. Romain Francois-2 wrote: > > The same way you would add any other jar, please go to an ejb forum. > Alternatively, use this more appropriate mailing list : > > http://mailman

[Rd] odd evaluation within correlation argument of glmmPQL

2009-10-20 Thread Bolker,Benjamin Michael
[I think I've seen this reported before but can't locate it any more. I believe this oddity (glitch? feature?) is behind a query that Jean-Baptiste Ferdy asked a year ago ] It appears that glmmPQL looks in the global workspace, n

[Rd] Error when compiling code in C

2009-10-20 Thread Fabio Mathias Corrêa
Dear, I used the command in the terminal to compile code FORTRAN with directive OpenMP export PKG_FCFLAGS=-fopenmp It functioned perfectly for pure code FORTRAN. However, when I call a function in C in code FORTRAN, the function in C is not compiled. The following error appears ~/Fortran/pa

Re: [Rd] Problem/anomalous behavior with image() function (and ReadImages?)

2009-10-20 Thread Dominick Samperi
Following up on my previous question: I managed test under Windows and the anomalous behavior does NOT occur there, so this is apparently a system-dependent issue. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Problem/anomalous behavior with image() function (and ReadImages?)

2009-10-20 Thread Dominick Samperi
When an RGB photo is displayed using R's image() function with the help of the pixmap (or rimage) package it is common to see an anomalous white line running across the picture (either horizontally or vertically). The line can be removed by simply stretching the image frame a little in the directi

[Rd] Buglet in optim() SANN

2009-10-20 Thread Prof. John C Nash
I think SANN method in optim() is failing to report that it has not converged. Here is an example genrose.f<- function(x, gs=NULL){ # objective function ## One generalization of the Rosenbrock banana valley function (n parameters) n <- length(x) if(is.null(gs)) { gs=100.0 }

Re: [Rd] Changing options in R CMD SHLIB

2009-10-20 Thread Fabio Mathias Corrêa
Thank you very much!!! Problem solved!! I use export PKG_FCFLAGS=-fopenmp > dyn.load("teste.so") > system.time(abc3 <- .Fortran("mxv", as.integer(m), as.integer(n), > as.double(a), b, as.double(c))) In parallel region - Thread ID1 In parallel region - Thread ID1 In p

Re: [Rd] Changing options in R CMD SHLIB

2009-10-20 Thread Fabio Mathias Corrêa
Dear, I managed to use directives OpenMP in R. To compile I used the gfortran directly. For example: gfortran-shared-O2 teste.f90-fopenmp-fPIC By using the code in R, it works perfectly! However, I need to use some specific libraries of R, for use in C functions in Fortran 95. When compiling

[Rd] Suggestion for exception handling: More informative error message for "no applicable method..." (S3)

2009-10-20 Thread Henrik Bengtsson
I'd like to suggest that whenever there is no S3 method implementation available for a particular class, that the error message would also report the class structure of the object dispatched on. Example: foo <- function(...) UseMethod("foo") foo.ClassA <- function(object, ...) { cat("foo() for Cl

Re: [Rd] isFALSE

2009-10-20 Thread William Dunlap
> -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Martin Maechler > Sent: Tuesday, October 20, 2009 7:56 AM > To: Romain Francois > Cc: R-devel@r-project.org > Subject: Re: [Rd] isFALSE > > > "RF" == Romain Francois > >>

Re: [Rd] isFALSE

2009-10-20 Thread Martin Maechler
> "RF" == Romain Francois > on Sun, 11 Oct 2009 01:00:24 +0200 writes: RF> Hello, Just wondering why there is "isTRUE" and not RF> "isFALSE". Probably because it's slightly more natural to have if(isTRUE()) { .. } rather than the corrsponding isFALSE() Furthe

Re: [Rd] Bug with .First in R 2.10

2009-10-20 Thread Duncan Murdoch
On 10/18/2009 6:20 PM, mark.braving...@csiro.au wrote: Under R2.10.0 beta (2009-10-14 r50082) my .First does not run reliably. I reported this last week, but not reproducibly, and it seemed to go away, so I thought it might be installation-related. But it has now recurred reproducibly, at leas

Re: [Rd] Bug with .First in R 2.10

2009-10-20 Thread luke
On Mon, 19 Oct 2009, Duncan Murdoch wrote: On 10/18/2009 6:58 PM, mark.braving...@csiro.au wrote: I started the same version of R in my usual starting directory (where there's a larger .RData, whose .First is running OK right now) and then did save( .First, file=<>) I'm not sure exactly wher

Re: [Rd] to connect R from ejb

2009-10-20 Thread Romain Francois
The same way you would add any other jar, please go to an ejb forum. Alternatively, use this more appropriate mailing list : http://mailman.rz.uni-augsburg.de/mailman/listinfo/stats-rosuda-devel One way or another, please take the time to formulate a proper question, showing what you tried, wh

Re: [Rd] Changing options in R CMD SHLIB

2009-10-20 Thread Fabio Mathias Corrêa
I use linux Mint and R.2.9.2 Thank you!   Fábio Mathias Corrêa Estatística e Experimentação Agropecuária/UFLA --- Em ter, 20/10/09, Prof Brian Ripley escreveu: > De: Prof Brian Ripley > Assunto: Re: [Rd] Changing options in R CMD SHLIB > Para: "Fabio Mathias Corrêa" > Cc: r-de

Re: [Rd] to connect R from ejb

2009-10-20 Thread pragathichi
how to add Reengine and Rserveengine jar files in ejb? I am using eclipse, plz suggest. Romain Francois-2 wrote: > > On 10/19/2009 10:57 AM, pragathichi wrote: >> How to call R from ejb, can i use Rserve? > > yes > > -- > Romain Francois > Professional R Enthusiast > +33(0) 6 28 91 30 30 > ht

[Rd] plot.POSIXct uses wrong x axis (PR#14016)

2009-10-20 Thread karl
Full_Name: Karl Ove Hufthammer Version: 2.10.0 beta OS: Windows Submission from: (NULL) (93.124.134.66) When plotting a single POSIXct variable, 'plot' uses a nonsensical x axis. Here is some example code: set.seed(1) x=seq(1,1e8,length=100)+round(runif(100)*1e8) y=as.POSIXct(x,origin="2001-01-0