R-alpha: Misc problems

Jim Lindsey (jlindsey@luc.ac.be)
Mon, 17 Feb 1997 08:49:41 +0100 (MET)


From: Jim Lindsey <jlindsey@luc.ac.be>
Message-Id: <9702170749.AA03020@alpha.luc.ac.be>
Subject: R-alpha: Misc problems
To: r-testers@stat.math.ethz.ch (r-testers)
Date: Mon, 17 Feb 1997 08:49:41 +0100 (MET)

1. The S books often give examples using something like this:
u <- list()
u[[1]] <- a
In R this gives subscript out of bounds (also character, vector, etc.)
2. switch does not fall through:
switch(test,a=,b=,c=T,d=F)
gives a syntax error
3. format(diag(2)) returns a vector instead of a matrix
4. print.default in S has an option, right=T, but R does not
5. use of stop() in a function does not return a NULL from the
function
  Jim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-