Re: [Rd] matrices with names

2017-07-27 Thread Suzen, Mehmet
Not always, see what happens with lapply: > x<-matrix(12,1,1) > names(x)<-"one" > y<-matrix(1,1,1) > names(y)<-"one" > dput(lapply(x,`+`,e2=y)) structure(list(one = structure(13, .Dim = c(1L, 1L))), .Names = "one") >dput(lapply(x,`+`,e2=1)) structure(list(one = 13), .Names = "one") Prof. Ripley h

Re: [Rd] dir.create typo in manual An Introduction to R

2017-07-27 Thread Martin Maechler
> John Blischak > on Wed, 26 Jul 2017 16:22:22 -0500 writes: > In the section FIles and Directories in the manual An Introduction to > R it refers to the function create.dir: > https://cran.r-project.org/doc/manuals/r-devel/R-intro.html#Files-and-directories > I've