Re: [Rd] Set Repositories problem in R2.4.0

2006-08-21 Thread Prof Brian Ripley
The point is that there is no `read.table' line in setRepositories, just read.delim. And the NEWS for R-devel (there is no 2.4.0 yet) says o The functions read.csv, read.csv2, read.delim, read.delim2 now default the comment.char argument to "". (These functions are designe

[Rd] Set Repositories problem in R2.4.0

2006-08-21 Thread Keith Satterley
In R2.4.0 when I select Set Repositories from the menu I get > setRepositories() Error in read.table(file = file, header = header, sep = sep, quote = quote, : more columns than column names The reposotories file is as installed. > sessionInfo() R version 2.4.0 Under development (unstab

[Rd] R svn log problem

2006-08-21 Thread Gabor Grothendieck
The R svn log usually available at: http://developer.r-project.org/R.svnlog.2006 seems to be missing. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] S4 'object is not subsettable' in prototype

2006-08-21 Thread Prof Brian Ripley
On Mon, 21 Aug 2006, John Chambers wrote: > Aside from the statements in manuals & the blue book, there are many > uses of length() in the code (R and C both) that don't seem to do any > checking in advance for whether the operation makes sense. I understood it was defined to always make sense

Re: [Rd] S4 'object is not subsettable' in prototype

2006-08-21 Thread John Chambers
Aside from the statements in manuals & the blue book, there are many uses of length() in the code (R and C both) that don't seem to do any checking in advance for whether the operation makes sense. We shouldn't take any of that as prohibiting a revision; as Robert says, the view of objects in t

Re: [Rd] S4 'object is not subsettable' in prototype

2006-08-21 Thread Robert Gentleman
Prof Brian Ripley wrote: > On Mon, 21 Aug 2006, Seth Falcon wrote: > >> John Chambers <[EMAIL PROTECTED]> writes: >> >>> When I was introducing the special type for S4 objects, my first >>> inclination was to have length(x) for those objects be either NA or an >>> error, along the lines that int

Re: [Rd] S4 'object is not subsettable' in prototype

2006-08-21 Thread Prof Brian Ripley
On Mon, 21 Aug 2006, Seth Falcon wrote: > John Chambers <[EMAIL PROTECTED]> writes: > > > When I was introducing the special type for S4 objects, my first > > inclination was to have length(x) for those objects be either NA or an > > error, along the lines that intuitively length(x) means "the nu

Re: [Rd] S4 'object is not subsettable' in prototype

2006-08-21 Thread Seth Falcon
John Chambers <[EMAIL PROTECTED]> writes: > When I was introducing the special type for S4 objects, my first > inclination was to have length(x) for those objects be either NA or an > error, along the lines that intuitively length(x) means "the number of > elements in the vector-style object x".

[Rd] Byte size in human readable format

2006-08-21 Thread Gregor Gorjanc
Dear R-core, My friend and I have written a function to convert byte size into human readable format as can be done with -h argument in say ls, df or du shell commands. I have also tried to wrap it with print method with object.size. Is there any intereset to include such a function into say utils

[Rd] Wishlist: add mapply to lapply

2006-08-21 Thread Gregor Gorjanc
Hello! mapply() could be added in see also section in lapply() help pages. -- Lep pozdrav / With regards, Gregor Gorjanc -- University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http: