Re: [Rd] package Geneland / Rgui under windows

2007-10-16 Thread Prof Brian Ripley
On Mon, 15 Oct 2007, Sean Davis wrote: > Gilles GUILLOT wrote: >> Hi, >> I experienced a problem with the package Geneland under R 2.6.0 >> with windows XP professional. >> >> The commands below should simulate a dataset, >> then make an MCMC simulation stored in tempdir(). >> >> It works with R

[Rd] Fwd: Digest package - make digest generic?

2007-10-16 Thread Roger Peng
Sorry, I forgot the 'reply-all'. -roger -- Forwarded message -- From: Roger Peng <[EMAIL PROTECTED]> Date: Oct 16, 2007 8:24 AM Subject: Re: [Rd] Digest package - make digest generic? To: Henrik Bengtsson <[EMAIL PROTECTED]> Would it be possible to instead create a function with

[Rd] Sweave/ESS-like tools for HTML

2007-10-16 Thread Douglas Bates
My university provides me with a powerful course management system for the courses that I teach. Among other things I can create a wiki for the course, which is very convenient for cross-linking different bits of the course. Naturally I use R extensively in my teaching and I want to incorporate R

[Rd] Additional file filter for Windows text editor Open/Save dialogues.

2007-10-16 Thread Jonathan Swinton
I propose the following very simple patch to src\gnuwin32\editor.c. Its purpose is to allow vignette files, specifically .Snw and .Rnw suffixes, to be an available filter in the Open and Save dialogues of the R GUI text editor. I have successfully built and tested this against R 2.5.0, and foun

Re: [Rd] Sweave/ESS-like tools for HTML

2007-10-16 Thread Sean Davis
Douglas Bates wrote: > My university provides me with a powerful course management system for > the courses that I teach. Among other things I can create a wiki for > the course, which is very convenient for cross-linking different bits > of the course. > > Naturally I use R extensively in my tea

Re: [Rd] (PR#9964) package Geneland / Rgui under windows

2007-10-16 Thread Prof Brian Ripley
I can confirm that if the Geneland is built under gcc 3.4.5 it works in R 2.6.0 in Rgui (modulo the output which is sent nowhere). So the issue is the Fortran code of the package, and very likely its use of Fortran I/O. Since this confirms there is not a bug in R 2.6.0, I am filing this on R-b

Re: [Rd] Fwd: Digest package - make digest generic?

2007-10-16 Thread Dirk Eddelbuettel
Hi Roger, On 16 October 2007 at 08:25, Roger Peng wrote: | Sorry, I forgot the 'reply-all'. | | -roger | | -- Forwarded message -- | From: Roger Peng <[EMAIL PROTECTED]> | Date: Oct 16, 2007 8:24 AM | Subject: Re: [Rd] Digest package - make digest generic? | To: Henrik Bengtsson

Re: [Rd] Sweave/ESS-like tools for HTML

2007-10-16 Thread Tom Short
See this link for more on creating/converting to HTML: http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/SweaveConvert For using ESS with mixed HTML/R files, see this: https://stat.ethz.ch/pipermail/ess-help/2006-December/003826.html - Tom Tom Short Electric Power Research Institute __

Re: [Rd] Sweave/ESS-like tools for HTML

2007-10-16 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Doug. This is probably more than you want - either to know or to use for your specific task, but I'll throw it out there for general information. I write documents using XML, specifically an extended version of Docbook with elements for describ

Re: [Rd] Fwd: Digest package - make digest generic?

2007-10-16 Thread Roger Peng
My understanding was that Hadley wanted 'digest' to operate on part of an object rather than on the entire, which might contain uninteresting or irrelevant details. For example, if we had a <- structure(list(x = 1, y = 2), class = "foo") b <- structure(list(x = 2342342, y = 2), class = "foo") di

Re: [Rd] Fwd: Digest package - make digest generic?

2007-10-16 Thread hadley wickham
On 10/16/07, Roger Peng <[EMAIL PROTECTED]> wrote: > My understanding was that Hadley wanted 'digest' to operate on part of > an object rather than on the entire, which might contain uninteresting > or irrelevant details. For example, if we had > > a <- structure(list(x = 1, y = 2), class = "foo")

Re: [Rd] Fwd: Digest package - make digest generic?

2007-10-16 Thread Roger Peng
Calling 'digest.default' directly would not be possible if the method were hidden in a namespace (without resorting to some maneuvering). To force the default method I think you'd need to 'unclass' the object. I'm not against making 'digest' generic, but I'd prefer it if there were a guaranteed wa

Re: [Rd] Fwd: Digest package - make digest generic?

2007-10-16 Thread Henrik Bengtsson
Hi, if there is a need for a digest0(), which there seems to be, we should have one, but we should find a better name. A better approach may be to keep digest() as is and introduce hashCode() for the feature Hadley requested, e.g. hashCode <- function(...) UseMethod("hashCode"); hashCode.default

Re: [Rd] Fwd: Digest package - make digest generic?

2007-10-16 Thread Dirk Eddelbuettel
On 16 October 2007 at 18:10, Henrik Bengtsson wrote: | if there is a need for a digest0(), which there seems to be, we should | have one, but we should find a better name. | | A better approach may be to keep digest() as is and introduce Agreed. It's better to keep the existing name and function

Re: [Rd] Sweave/ESS-like tools for HTML

2007-10-16 Thread Detlef Steuer
Hi Duncan, your approach looks _quite_ useful to me! I'm a bit afraid it will be a very hard jump to get on that tool, but riding it must be fun. Yes, I'm interested! Detlef On Wed, 17 Oct 2007 08:59:13 +1300 Duncan Temple Lang <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- >