Re: [Rd] Add See Also: missing to help('exists')?

2011-05-16 Thread Martin Maechler
SpGMight it be feasible to add, See Also: missing SpG to the help page for exists? SpGCurrently, one can spend hours studying the help SpG page for exists without getting a clue to the answer SpG to the post copied below. Yes. I've added such a link now...

Re: [Rd] Add See Also: missing to help('exists')?

2011-05-16 Thread Spencer Graves
On 5/16/2011 1:43 AM, Martin Maechler wrote: SpG Might it be feasible to add, See Also: missing SpG to the help page for exists? SpG Currently, one can spend hours studying the help SpG page for exists without getting a clue to the answer SpG to the

Re: [Rd] RCMD check fails on checkin installed package size

2011-05-16 Thread Duncan Murdoch
On 11-05-16 6:39 AM, Stefan McKinnon Høj-Edwards wrote: Hello Duncan, This is what I get: C:\Users\STME\Documents\R\win-library\2.13\AnnotationFuncsdu -k 209 ./doc 24 ./help 8 ./html 9 ./Meta 10 ./R 279 . Assuming that this was the output when check ran it, I

Re: [Rd] By default, `names-` alters S4 objects

2011-05-16 Thread John Chambers
You set up a names slot in a non-vector. Maybe that should be allowed, maybe not. But in any case I would not expect the names() primitive to find it, because your object has a non-vector type (S4). You could do a@names if you thought that made sense: setClass(A,

Re: [Rd] By default, `names-` alters S4 objects

2011-05-16 Thread Hervé Pagès
On 11-05-16 09:36 AM, John Chambers wrote: You set up a names slot in a non-vector. Maybe that should be allowed, maybe not. But in any case I would not expect the names() primitive to find it, because your object has a non-vector type (S4). But the names-() primitive *does* find it. So either

Re: [Rd] R html help system [Was: How to document man/*.Rd pages with images?]

2011-05-16 Thread Sean Robert McGuffee
On 5/13/11 8:20 PM, Simon Urbanek simon.urba...@r-project.org wrote: On May 13, 2011, at 7:08 PM, Sean Robert McGuffee wrote: On 5/12/11 9:13 AM, Simon Urbanek simon.urba...@r-project.org wrote: I just want to clarify the mechanics of the help system when using html. R has a

[Rd] obscure error message from splines::ns

2011-05-16 Thread Ben Bolker
In the following case, library(splines) tt - c(55, 251, 380, 289, 210, 385, 361, 669) nn - rep(0:7,tt) ns(nn,4) ## knots are located at (0.25,0.5,0.75); quantiles = (2,5,7) we get the error Error in qr.default(t(const)) : NA/NaN/Inf in foreign function call (arg 1) because the 75th

Re: [Rd] By default, `names-` alters S4 objects

2011-05-16 Thread John Chambers
On 5/16/11 10:09 AM, Hervé Pagès wrote: On 11-05-16 09:36 AM, John Chambers wrote: You set up a names slot in a non-vector. Maybe that should be allowed, maybe not. But in any case I would not expect the names() primitive to find it, because your object has a non-vector type (S4). But the

Re: [Rd] R html help system [Was: How to document man/*.Rd pages with images?]

2011-05-16 Thread Hervé Pagès
Hi Sean, On 11-05-16 11:15 AM, Sean Robert McGuffee wrote: On 5/13/11 8:20 PM, Simon Urbaneksimon.urba...@r-project.org wrote: On May 13, 2011, at 7:08 PM, Sean Robert McGuffee wrote: [...] In the satus quo, I can see how the choice of which pages to look at is dynamic if more than one

Re: [Rd] By default, `names-` alters S4 objects

2011-05-16 Thread Hervé Pagès
On 11-05-16 01:53 PM, John Chambers wrote: On 5/16/11 10:09 AM, Hervé Pagès wrote: On 11-05-16 09:36 AM, John Chambers wrote: You set up a names slot in a non-vector. Maybe that should be allowed, maybe not. But in any case I would not expect the names() primitive to find it, because your

[Rd] R crashes if toFile given ~/ in Linux envirnonment

2011-05-16 Thread Mark Kimpel
I was running some sample code from a help page tonight and wished to redirect the sample output to my Desktop under Linux (Mint-Debian 64 if it makes a different). I was surprised to find that file name expansion using the ubuquitious ~/ was not recognized, in fact it caused R to crash. Is this

Re: [Rd] R crashes if toFile given ~/ in Linux envirnonment

2011-05-16 Thread Simon Urbanek
Mark, I think you have the wrong list - this has nothing to do with R. to File() is a function in Rgraphviz and it doesn't crash, it simply exits R. Obviously it doesn't support path expansion (I suppose it should consider calling path.expand()) and it should also consider using R_error()

Re: [Rd] R crashes if toFile given ~/ in Linux envirnonment

2011-05-16 Thread Mark Kimpel
Thanks Simon. There was no help page for toFile (the first thing I tried) so I didn't realize it was an Rgraphviz function. I'll contact the maintainers. Mark Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine 15032 Hunter Court, Westfield, IN

Re: [Rd] Reproducible use case for R crash after updating R

2011-05-16 Thread Henrik Bengtsson
Great, thanks for this. On Fri, May 13, 2011 at 2:34 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: A simple version of a fix is now in R-devel:  if the .RData file can't be loaded during startup, an error message is printed, and R starts with an empty workspace. I've just verified with

Re: [Rd] By default, `names-` alters S4 objects

2011-05-16 Thread Hervé Pagès
On 11-05-16 04:13 PM, Hervé Pagès wrote: On 11-05-16 01:53 PM, John Chambers wrote: On 5/16/11 10:09 AM, Hervé Pagès wrote: On 11-05-16 09:36 AM, John Chambers wrote: You set up a names slot in a non-vector. Maybe that should be allowed, maybe not. But in any case I would not expect the