Re: [Rd] R-code embedded in VBE -- Type mismatch errors

2008-06-08 Thread Thomas Baier
Pietro, [EMAIL PROTECTED] wrote: > Hello, > > I am trying to embed R-code inside VB for Excel (probably a perverse > endeavour anyway) and I am running into difficulties, especially when > passing vectors back and forth between the two environments. > > (1) I am using the RExcel package. There

[Rd] R and Gnumeric

2008-06-08 Thread Jean Bréfort
Hi, I just read the "Embedding R in Gnumeric" idea at http://www.r-project.org/SoC08/ideas.html. On my side, I intend to add as many statistics related plot types to the current gnumeric charting engine as possible. We already have boxplots and partial support for histograms. My immediate plans ar

[Rd] Issue with NA value and Octave compatibility

2008-06-08 Thread David Bateman
Dear R developers, I'm an Octave developer in the process of implementing a single precision type in Octave and I have an issue with the NA value. The choice of NA value in Octave was made a few years back so that the high word of the NA value was 0x7ff0 and the low word was 0x07A2 for com

Re: [Rd] Makevars or congiure for multi platforms

2008-06-08 Thread Prof Brian Ripley
Private headers are just that, private. They are not intended to be available to packages, and not installed by the standard R makefiles on either Unix-alikes or Windows. I don't see it documented that they are available on MacOS X, and will leave it to that platform's maintainers as to why t

[Rd] eigenvector dimname convention?

2008-06-08 Thread Spencer Graves
What are reasonable conventions for dimnames for eigenvectors? The standard 'eigen' function discards dimnames. If a matrix X is symmetric (and rownames = colnames), it seems more sensible to assign rownames(eigen(X)$vectors) <- rownames(X). The eigenvalues seem different, so

Re: [Rd] SHLIB_CXXLDFLAGS needs quotes on Solaris section of admin manual.

2008-06-08 Thread Dr. David Kirkby
Dr. David Kirkby wrote: In the admin manual, there is some information about flags etc for Solaris: CC="cc -xc99" CPPFLAGS=-I/opt/csw/include CFLAGS="-O -xlibmieee" F77=f95 FFLAGS=-O4 CXX=CC CXXFLAGS=-O FC=f95 FCFLAGS=$FFLAGS LDFLAGS=-L/opt/csw/lib SHLIB_CXXLDFLAGS=-G -lCstd Where as the CC co

[Rd] SHLIB_CXXLDFLAGS needs quotes on Solaris section of admin manual.

2008-06-08 Thread Dr. David Kirkby
In the admin manual, there is some information about flags etc for Solaris: CC="cc -xc99" CPPFLAGS=-I/opt/csw/include CFLAGS="-O -xlibmieee" F77=f95 FFLAGS=-O4 CXX=CC CXXFLAGS=-O FC=f95 FCFLAGS=$FFLAGS LDFLAGS=-L/opt/csw/lib SHLIB_CXXLDFLAGS=-G -lCstd Where as the CC command is quoted, the SHLIB

Re: [Rd] slot(obj, "nosuch") documentation question

2008-06-08 Thread Martin Morgan
John Chambers <[EMAIL PROTECTED]> writes: > Paul Roebuck wrote: >> Using slot() on object (or "@") and using a nonexistent >> slotname returns an error (see example code). [snip] >> This is in reference to writing method that might be >> passed an object created by previous version of software,

[Rd] R CMD CHECK WARNING inappropriate for S4 method?

2008-06-08 Thread Martin Morgan
The package 'graph' defines classes graph and graphNEL (extending graph) and a union,graph,graph-method. These are all exported and fully documented. The package 'GSEABase' Imports: graph and importClassesFrom(graph, graphNEL). GSEABase defines methods on union for its own classes (not graph / gra

Re: [Rd] slot(obj, "nosuch") documentation question

2008-06-08 Thread John Chambers
Paul Roebuck wrote: Using slot() on object (or "@") and using a nonexistent slotname returns an error (see example code). R> setClass("foobar", representation=list(a="numeric")) [1] "foobar" R> foobar <- new("foobar", a=5) R> [EMAIL PROTECTED] [1] 5 R> [EMAIL PROTECTED] Error: no slot of name "b

Re: [Rd] Makevars or congiure for multi platforms

2008-06-08 Thread Tadashi Kadowaki
Hi, Laurent and Tobias Thanks a lot. I could make configure script and upload it to r-forge. https://r-forge.r-project.org/projects/pdf2/ It still works only on mac by default. For Linux and Windows, it needs additional option like - R CMD INSTALL --configure-vars="R_INTERNAL_HEADER_DIR=/path

Re: [Rd] RFC: Add 'postinstall' hook to R CMD INSTALL ?

2008-06-08 Thread Dirk Eddelbuettel
Brian, On 6 June 2008 at 07:33, Dirk Eddelbuettel wrote: | | On 6 June 2008 at 13:13, Prof Brian Ripley wrote: | | > On 6 June 2008 at 11:34, Prof Brian Ripley wrote: | | > | Isn't this what Type: Frontend is for? That gives you complete control | | > | and would seem appropriate for both of yo

Re: [Rd] Makevars or congiure for multi platforms

2008-06-08 Thread Laurent Gautier
2008/6/7 <[EMAIL PROTECTED]>: > > Message: 11 > Date: Sat, 7 Jun 2008 03:38:23 +0900 > From: "Tadashi Kadowaki" <[EMAIL PROTECTED]> > Subject: [Rd] Makevars or congiure for multi platforms > To: r-devel@r-project.org > Message-ID: ><[EMAIL PROTECTED]> > Content-Type: text/plain; charset=IS