[Rd] whislist (PR#8117)

2005-09-01 Thread kkrueger
Full_Name: Knut Krueger Version: OS: Submission from: (NULL) (217.250.214.33) Maybe it is an idea to copy the hints f.e - help.search(...) in the commandline or in the memory to paste it into the commandline. maybe you could build in an option entry to start the search with help.search

[Rd] R 2.2.0 slated for October 6

2005-09-01 Thread Peter Dalgaard
We plan to release R version 2.2.0 on October 6. Daily alpha releases will be available after the Grand feature freeze on September 8 and beta releases from September 22. The full schedule is available on http://developer.r-project.org (pending propagation delay from

Re: [Rd] RFC: rawConnection (was loop connections)

2005-09-01 Thread Duncan Murdoch
[EMAIL PROTECTED] wrote: Duncan Murdoch [EMAIL PROTECTED] wrote: I would implement it differently from the way you did. I'd call it a rawConnection, taking a raw variable (or converting something else using as.raw) as the input, and providing both text and binary read/write modes (using the

[Rd] R CMD BATCH on scripts without trailing newline

2005-09-01 Thread Stephen Eglen
If the last line of an R script does not have a trailing newline, a small errror is produced at the end of the script. Small example. If file eg.r contains one line: getwd() and there is no newline after the closing paren $ R CMD BATCH eg.r produces an error: $ cat eg.r.Rout R : Copyright

Re: [Rd] R CMD BATCH on scripts without trailing newline

2005-09-01 Thread Stephen Eglen
You didn't tell us the *platform* you run R on (and BATCH does depend on the platform), but I know that it's a version of unix, Linux I suppose? Thanks Martin. Yes, linux - scientific linux 3 here. __ R-devel@r-project.org mailing list

Re: [Rd] R CMD BATCH on scripts without trailing newline

2005-09-01 Thread Jan T. Kim
On Thu, Sep 01, 2005 at 01:39:52PM +0200, Martin Maechler wrote: getwd()proc.time() StEgl Error: syntax error Execution halted $ aahh, now I finally understand via some people append those **ugly** unneeded ';' to the end of almost every line of R code. It would have helped here

[Rd] strwrap

2005-09-01 Thread J. Hosking
The maximum length of a character string returned by strwrap, i.e. max(nchar(strwrap(x,width))), never in my experience exceeds width-2 (unless x contains a word that is longer than this). This is not exactly a bug -- width is described only as a target column for wrapping lines -- but seems odd.

[Rd] generic function S3 consistency warning advice

2005-09-01 Thread Robin Hankin
Hi section 6.1 of R-exts suggests that a package can take over a function in the base package and make it generic. I want to do this with Re() and have the following lines in my R code: Re - function(x){UseMethod(Re )} Re.default - get(Re ,pos=NULL,mode=function) Re.octonion -

Re: [Rd] R CMD check example problem (PR#8113)

2005-09-01 Thread ligges
[CCing to r-bugs to inform people that we have looked at it.] Greg, you sent me the example which can be reduced to an example.Rd file that contains the following Example section: \examples{ # \code{} \code{} foo - function() { } }

[Rd] error in apply help file? (PR#8118)

2005-09-01 Thread gunter . berton
Gents: (alas, I think no ladies need to be included in the salutation) The apply() Help file says ... If the calls to FUN return vectors of different lengths, apply returns a list of length dim(X)[MARGIN]. Shouldn't that be: If the calls to FUN return vectors of different lengths, apply

Re: [Rd] R CMD check example problem (PR#8113)

2005-09-01 Thread Warnes, Gregory R
Ahh. I didn't notice that my fingers had used \code() inside of the example section. I've removed them, and everything seems to be working properly now. -G -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Thursday, September

Re: [Rd] RFC: rawConnection (was loop connections)

2005-09-01 Thread dhinds
Duncan Murdoch [EMAIL PROTECTED] wrote: Having a rawConnection() entry point is simple enough. Seeking also seems straightforward. I'm not so sure about using as.raw(). I wondered about that, but also thought that rather than coercing to raw, it might make more sense to cast atomic

Re: [Rd] error in apply help file? (PR#8118)

2005-09-01 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Gents: (alas, I think no ladies need to be included in the salutation) May I ask why you think R-devel (to which R-bugs stuff is forwarded) is only read by males? Sounds a little bit discriminating (Only males produce bugs, females simply produce perfect code and do

[Rd] Question about package's DESCRIPTION/Depends field

2005-09-01 Thread Tuszynski, Jaroslaw W.
Hi, My package caMassClass depends on several other packages, one of them PROcess residing on Bioconductor website. Bioconductor repository is not, listed in default set of repositories in current version of R (Windows R 2.1.1). As a result people installing my package have to change that

Re: [Rd] Question about package's DESCRIPTION/Depends field

2005-09-01 Thread Kurt Hornik
Tuszynski, Jaroslaw W writes: Hi, My package caMassClass depends on several other packages, one of them PROcess residing on Bioconductor website. Bioconductor repository is not, listed in default set of repositories in current version of R (Windows R 2.1.1). As a result people installing my

Re: [Rd] Bug in copying of S4 objects (PR#8112)

2005-09-01 Thread Luke Tierney
Another variant of what is probably the same issue: setClass(foo, representation(a = numeric)) [1] foo f - function() [EMAIL PROTECTED] - 2 x - new(foo,a=1) y - x f() x An object of class “foo” Slot a: [1] 2 y An object of class