[Rd] Extract/format/show for S4 objects

2010-06-08 Thread Johann Hibschman
Hi all, I'm trying to make an integer-backed quarter (as in fraction of year) class, but I can't quite it to work. I want integer-backed so I don't have to worry about floating-point effects when doing math, and so that I can use it as in data.table. First of all, is there a good reference for t

Re: [Rd] Extract/format/show for S4 objects

2010-06-08 Thread Gabor Grothendieck
The yearqtr class already rounds off automatically to avoid floating point effects and handles #1 and #2. On the other hand if you are just interested in playing around with S4 for its own sake review the source code of the mondate package as an example of an S4 based date package. On Tue, Jun 8,

[Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1) system

2010-06-08 Thread Bill . Glessner
Hello, I am trying to build the R-2.11.1 software for university faculty to use in research projects on a DEC/Compaq/HP AlphaServer model GS160 16CPU/64GB memory running Tru64Unix aka OSF1 version 5.1B-5. Is it known whether it is possible to build the R-2.11.1 software on the platform I am usin

Re: [Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1) system

2010-06-08 Thread Prof Brian Ripley
On Tue, 8 Jun 2010, bill.gless...@cwu.edu wrote: Hello, I am trying to build the R-2.11.1 software for university faculty to use in research projects on a DEC/Compaq/HP AlphaServer model GS160 16CPU/64GB memory running Tru64Unix aka OSF1 version 5.1B-5. Is it known whether it is possible to bu

Re: [Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1) system

2010-06-08 Thread Bill . Glessner
Here is the Rcmd from the ./bin subdirectory of the build tree /usrX/JunqueYard/R-2.11.1: #!/bin/ksh # # ${R_HOME}/bin/Rcmd ## Shell script wrapper for all R CMD commands. ## For internal use only. R_CMD="${R_HOME}/bin/Rcmd" export R_CMD R_VERSION=2.11.1 export R_VERSION R_OSTYPE="unix" expor

Re: [Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1)system

2010-06-08 Thread William Dunlap
Isn't the bash syntax "$...@}" equivalent to just "$@" and older versions of sh may not understand the former version. If so, you might have similar problems with "${1}" instead of "$1" Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-d

Re: [Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1) system

2010-06-08 Thread Prof Brian Ripley
Ah, so configure has chosen /bin/ksh as the shell, and that does not like this sh syntax on your system. Try setting R_SHELL=/bin/sh when configuring (or the path to bash, if you have that). Alternatively, use $...@} in Rcmd.in (we have that as a workaround in R.sh.in). On Tue, 8 Jun 2010,

Re: [Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1) system

2010-06-08 Thread Peter Dalgaard
Prof Brian Ripley wrote: > Ah, so configure has chosen /bin/ksh as the shell, and that does not > like this sh syntax on your system. Try setting R_SHELL=/bin/sh when > configuring (or the path to bash, if you have that). > > Alternatively, use $...@} in Rcmd.in (we have that as a workaround in

Re: [Rd] [R] textbox in lattice

2010-06-08 Thread Paul Murrell
Hi On 6/6/2010 11:20 PM, baptiste auguie wrote: Hi, I've just added width/heightDetails methods following Paul's suggestion. I kept a duplicate of all on-the-fly grob size calculations; it is necessary to ensure that the table cells adjust to the content which can be subsequently edited (e.g ch

Re: [Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1) system

2010-06-08 Thread Prof Brian Ripley
On Wed, 9 Jun 2010, Peter Dalgaard wrote: Prof Brian Ripley wrote: Ah, so configure has chosen /bin/ksh as the shell, and that does not like this sh syntax on your system. Try setting R_SHELL=/bin/sh when configuring (or the path to bash, if you have that). Alternatively, use $...@} in Rcmd.i