[Rd] Wishlist: fix error in documentation for body<- (PR#13318)

2008-11-21 Thread fabian . scheipl
Full_Name: Fabian Scheipl Version: 2.8.0 OS: Windows, Linux Submission from: (NULL) (138.246.7.150) It seems to me that the documentation for body<- is wrong. The help file for body(fun, envir = environment(fun)) <- value says that: value can be an expression or a list of R expre

[Rd] Should numeric()/character() etc initialize with NA instead of 0 or ""?

2007-11-05 Thread Fabian Scheipl
Wouldn't it make programming more error-resistant if vectors were initialized with missing data, instad of zeroes or ""? That way, if you assign values to a vector elementwise and you miss some elements (because their indices were not selected or because the assignment didn't work out, see below f