Displaying 2 results from an estimated 2 matches for "sepchar".
Did you mean:
getchar
2005 Dec 08
1
kronecker(... , make.dimnames=TRUE)
....null))
dny[tmp] <- lapply(tmp, function(i) rep.int("", dY[i]))
k <- length(dim(opobj))
dno <- vector("list", k)
for (i in 1:k) {
# !!!!! !!!!! NEW TEXT STARTS !!!!!!
if(any(nchar(dnx[[i]])>0) & any(nchar(dny[[i]])>0)){
sepchar <- ":"
} else {
sepchar <- ""
}
tmp <- outer(dnx[[i]], dny[[i]], FUN = "paste", sep = sepchar)
# !!!! NEW TEXT ENDS !!!!!
# tmp <- outer(dnx[[i]], dny[[i]], FUN = "paste", sep = ":")
dno[[i]] &l...
1999 May 29
2
Unexpected behaviour of read.table
When reading comma-delimited files as saved from a spreadsheet (unfortunately
many of my scientific collaborators give me these) in read.table(), missing
values are spotted most of the time. Unfortunately when comma is the first
character on the line it gets it wrong. For example, reading the file
1,,3
,5,6
,8,9
with
read.table("test.dat", header=F, sep=",")
R gives