search for: etiennesanchez2

Displaying 3 results from an estimated 3 matches for "etiennesanchez2".

2017 Nov 14
2
str() not displaying names
In some cases, str() does not print the "names" attribute of the object: u <- structure(c(5, 6), names = c("a", "b"), color = "blue") str(u) # atomic [1:2] 5 6 # - attr(*, "color")= chr "blue" Is it a bug or a design choice? Originally asked here: https://stackoverflow.com/q/47185756/6656269
2017 Nov 16
0
str() not displaying names
>>>>> Etienne Sanchez <etiennesanchez2 at gmail.com> >>>>> on Tue, 14 Nov 2017 19:33:07 +0100 writes: > In some cases, str() does not print the "names" attribute of the object: > > u <- structure(c(5, 6), names = c("a", "b"), color = "blue") > str(u) > #...
2018 Mar 05
1
Unclosed parenthesis in grep.Rd
There are probably more unmatched parentheses around: detect <- function(file) { text <- paste(readLines(file), collapse = "") nchar(gsub("[^(]", "", text)) != nchar(gsub("[^)]", "", text)) } docs <- list.files("r-source-trunk/src/library", pattern = "\\.Rd$", full.names =