At least this is correct :-)
ftable(UCBAdmissions, Dept ~ Gender + Admit)
But yes: the formula
ftable(UCBAdmissions, Gender + Admit ~ Dept)
should see "The left and right hand side of formula specify the column and row
variables, respectively"
# demo of right-hand side bug
ftable(UCBAdmissio
I heard that a function called use() had been mooted as being more intuitively
named than library()
If so, it might be handy if this worked
use(c("MASS","car”))
currently this fails…
library(c("MASS","car"))
__
R-devel@r-project.org mailing list
http
I agree: much nicer to say what went wrong than to say "there is no package"
And many people will not know what R's paths are.
Why not add in a hint about what to do, like: "try running
install.packages("xyz") "
t
> ggrothendieck
> Many beginners are advanced but just don't know R. Its bett
Would anyone object to a suggestion that the names.Rd file could usefully point
to seeAlso{slotNames}?
cheers,
tim
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
__
R-devel@r-project.org
Hi Michael,
That change seems like a good saving for maintainers: cuts 281 lines in the Rmpi
package configure.ac file down to just 2 lines in Makevars.in: CC=mpicc
SHLIB_LD=mpicc.
Hopefully the patch can get up… ?
entire patch to Makeconf.in (4 new lines):
--- Makeconf.in 2011-03-17 14:18:05.
There is no usage example for replace(). Here is a patch to replace.Rd that
offers one.
# Clean up a vector of text answers
foo <- c("Yes”, "n”, "no answer")
foo <- replace(foo, list=c(2, 3), values=c("No”, NA))
foo
# "Yes" "No” NA
diff attached
best wishes,
tim
___
In "utils/write.table.Rd" the default separator is shown as the invisible
character " ".
In the further documentation, the default separator is not named.
It would helpful to specify it using an escape character in the \Usage section
"\s" or "\t"?
and to name it explicitly in the \Arguments
The base help file replace.Rd has no usage example. Might this example be
helpful?
\examples{
foo <- c("Yes","n","no answer")
foo <- replace(foo, list=c(2, 3), values=c("No”, NA))
foo # "Yes" "No" NA
}
Also, the Rd file doesn’t point to other relevant functions the us
function.Rd currently has no example of "stop", Similarly in Control.Rd, there
is currently no example of break: these might be helpful for users.
function.Rd suggestion:
# Often it is useful to be able to exit a function on some condition: Use
"stop" to do this
testJunk <- function(junk) {