[Rd] Minor typo in influence.measures.Rd ?

2011-01-27 Thread Gavin Simpson
Dear list, There is, I believe, a minor typo in the example section of influence.measures.Rd. In the final example the word `does` appears where I suspect `dose` is required: I couldn't remember exactly what format patches should be in, so here is one as diff would produce: Index:

[Rd] Google Summer of Code 2011

2011-01-27 Thread Claudia Beleites
Dear all, I just saw that Google Summer of Code 2011 is announced: http://www.google-melange.com/ Claudia -- Claudia Beleites Dipartimento dei Materiali e delle Risorse Naturali Università degli Studi di Trieste Via Alfonso Valerio 6/a I-34127 Trieste phone: +39 0 40 5 58-37 68 email:

Re: [Rd] Minor typo in influence.measures.Rd ?

2011-01-27 Thread Prof Brian Ripley
The preferred form is a diff -u as a text attachment. svn diff is basically diff -u, but has the advantage of telling us exactly what version was diff-ed against. But for something as simple as this, inline is fine, thanks. [The main reason for wanting an attachment is that once lines get

[Rd] use of depends, suggests, etc

2011-01-27 Thread Kevin R. Coombes
Hi, I'm putting together an R package. In explaining how it works (in the Rd files), I want to refer to another package. The other package is not used anywhere in the actual code nor in the examples. So, there is no reason to include the other package in the Depends, Suggests, or Imports

Re: [Rd] Dealing with R list objects in C/C++

2011-01-27 Thread Wayne.Zhang
Many thanks for the quick reply Martin, your code works as expected. Next I'd like to retrieve heterogeneous data from an SEXP object (let's just pretend it's the same type as the one what I'm constructing). I'm sure the relevant APIs are defined in Rinternals.h, do we have API documentations

Re: [Rd] Dealing with R list objects in C/C++

2011-01-27 Thread Martin Morgan
On 1/27/2011 1:03 PM, wayne.zh...@barclayscapital.com wrote: Many thanks for the quick reply Martin, your code works as expected. Next I'd like to retrieve heterogeneous data from an SEXP object (let's just pretend it's the same type as the one what I'm constructing). I'm sure the relevant

Re: [Rd] use of depends, suggests, etc

2011-01-27 Thread Prof Brian Ripley
On Thu, 27 Jan 2011, Kevin R. Coombes wrote: Hi, I'm putting together an R package. In explaining how it works (in the Rd files), I want to refer to another package. The other package is not used anywhere in the actual code nor in the examples. So, there is no reason to include the other

Re: [Rd] use of depends, suggests, etc

2011-01-27 Thread Ken.Williams
But suppose I want to write something like: this package is 10 million times better than my other package [Foo] because that one will eat your children - or in contrast to the package [Bar], this package is for continuous data, while that one is for discrete data, so they don't interoperate. It

Re: [Rd] use of depends, suggests, etc

2011-01-27 Thread Steven McKinney
If you add the other package to Suggests, what problems do you see? Adding the other package to Suggests seems most appropriate, your use case seems very similar to packages discussed in a vignette. Steven McKinney From: r-devel-boun...@r-project.org

[Rd] help with S4 objects: trying to use a link-glm as a class in an object definition

2011-01-27 Thread Paul Bailey
Hi, I'm trying to make a new S4 object with a slot for a link-glm object. R doesn't like me have a slot of class link-glm class(make.link(probit)) [1] link-glm setClass(a,representation(item=link-glm)) [1] a Warning message: undefined slot classes in definition of a: item(class link-glm) fa

[Rd] generating HTML help pages

2011-01-27 Thread 016750
Dear All, I need to convert all Rd help pages for my package to HTML format in order to serve these on our web-server. Ideally, I would like to do that as all docs in single page and also index page + one html page per Rd file. Looking through documentation the only clues I could find were

Re: [Rd] generating HTML help pages

2011-01-27 Thread Prof Brian Ripley
Installing your package with 'R CMD INSTALL --html' gives you an 'html' directory with an index and all the static HTML help files. (That is in the R-admin manual, under 'Help options'.) For a single page, you will need to write your own code -- but since R is Open Source you have lots of