[Rd] read.table with more cols than headers

2006-08-01 Thread Gordon Smyth
I am trying to understand the behaviour of read.table() reading delimited files (with header=TRUE and fill=TRUE) when there are more (possibly spurious) columns than headings. I give below four small data files, all of which have one or two extra columns added to one line. Reading the first f

Re: [Rd] Any interest in "merge" and "by" implementations specifically for so

2006-08-01 Thread Kevin B. Hendricks
Hi, My last word on this topic until I get a working external R package ... The igroup code has now been validated both with and without NAs and with and without removing them. Thanks to Bill, Tom, Thomas, and everyone for your helpful comments and hints. The results for my validation run a

Re: [Rd] Artefacts in (screen viewed) PDF output

2006-08-01 Thread Paul Murrell
Hi Roger Bivand wrote: > This issue is probably to do with on-screen viewing of PDF files written > from R (2.3.1, Windows XP, RHEL 4), not with how the files are produced. > So the question is mainly to ask whether others have seen similar > behaviour, and whether a remedy is known. > > When

[Rd] Artefacts in (screen viewed) PDF output

2006-08-01 Thread Roger Bivand
This issue is probably to do with on-screen viewing of PDF files written from R (2.3.1, Windows XP, RHEL 4), not with how the files are produced. So the question is mainly to ask whether others have seen similar behaviour, and whether a remedy is known. When neighbouring polygons are written wit

Re: [Rd] compiling R | multi-Opteron | BLAS source

2006-08-01 Thread Evan Cooch
Thanks very much - I followed your advice, and have tried a variety of permutations (using ACML, and LAPACK). For the most part, I'm still 'playing' with multiple threads, but given the performance I'm getting (quad Opteron 880, 16 GB RAM, 64-bit FC5), I'll stick with that for now (but based on

Re: [Rd] compiling R | multi-Opteron | BLAS source

2006-08-01 Thread Prof Brian Ripley
The R-devel version of R provides a pluggable BLAS, which makes such tests fairly easy (although building the BLAS themselves is not). On dual Opterons, using multiple threads is often not worthwhile and can be counter-productive (Doug Bates has found some dramatic examples, and you can see th

Re: [Rd] R | vnc | X11 fonts

2006-08-01 Thread Evan Cooch
Hin-Tak Leung wrote: > Evan Cooch wrote: >> Quick followup - works fine with fluxbox (and, as noted, default >> twm). Simply can't get it to work with the gnome desktop, which >> ultimately I would like to. > > The difference between twm and metacity in gnome or other gnome > windows manager is t

Re: [Rd] Install R-patched_2006-07-13 on i386-pc-solaris2.10 with Sun Studio 11

2006-08-01 Thread Latchezar Dimitrov
Dear R-developers: Anybody having installed R-patched_2006-07-13 on i386-pc-solaris2.10 with Sun Studio 11, I need you help/advice please. Thank you very much Latchezar Dimitrov > -Original Message- > From: Latchezar Dimitrov > Sent: Wednesday, July 26, 2006 4:48 PM > To: 'Prof Brian Ri

Re: [Rd] R | vnc | X11 fonts

2006-08-01 Thread Hin-Tak Leung
Evan Cooch wrote: > Quick followup - works fine with fluxbox (and, as noted, default twm). > Simply can't get it to work with the gnome desktop, which ultimately I > would like to. The difference between twm and metacity in gnome or other gnome windows manager is that twm uses X11 core fonts whe

Re: [Rd] Any interest in "merge" and "by" implementations specifically for so

2006-08-01 Thread Kevin B. Hendricks
Hi Tom, > Whether or not the R core developers want to merge these functions > in base > R, they would make a great little package on CRAN. That way others > could > easily use them, and for yourself, the package automatically gets > updated > with new versions of R. It sounds like you're do

Re: [Rd] Structure of the object: list() and attr()

2006-08-01 Thread Gabor Grothendieck
The key issue is inheritance. If you use a data frame with attributes then you can inherit data frame methods without further definition, e.g. x <- structure(data.frame(a = 1:10), my.attr = 33, class = c("myclass", "data.frame")) dim(x) # inherit dim method but if you do it this way

Re: [Rd] Structure of the object: list() and attr()

2006-08-01 Thread Seth Falcon
"Gorjanc Gregor" <[EMAIL PROTECTED]> writes: > Hello! > > I am writing code where I define objects with new class. When I started, > it was a simple data.frame with attributes, but it is getting more evolved > and I would like to hear any pros and cons to go for list structure, > where one "slot"

Re: [Rd] Any interest in "merge" and "by" implementations specifically for so

2006-08-01 Thread tshort
Kevin, Whether or not the R core developers want to merge these functions in base R, they would make a great little package on CRAN. That way others could easily use them, and for yourself, the package automatically gets updated with new versions of R. It sounds like you're done with the hard par

[Rd] Structure of the object: list() and attr()

2006-08-01 Thread Gorjanc Gregor
Hello! I am writing code where I define objects with new class. When I started, it was a simple data.frame with attributes, but it is getting more evolved and I would like to hear any pros and cons to go for list structure, where one "slot" would be a data.frame, while other "slots" would take ove

Re: [Rd] building windows packages under wine/linux and cross-compiling.

2006-08-01 Thread Hin-Tak Leung
Prof Brian Ripley wrote: > On Mon, 31 Jul 2006, Hin-Tak Leung wrote: > >> Had some fun today, and thought it might be a good idea to share >> and possibly for inclusion to R/src/gnuwin32/README.packages . > > [...] > >> Cross-compiling: The instruction in R/src/gnuwin32/README.packages >> essen

[Rd] Modiefied GJR & Time Varying Skewed-t

2006-08-01 Thread Diana Glaeser
Hello, I have to calculate some GARCH models, especially I need to compute a GJR which I need to modify (add another covariable and a dummy). In addition to this I will use a Skewed Student“s - t, for which I have to model the kurtosis and the skewness parameter as a function of the conditional t