What are all of the allowable characters for people’s names? [closed]

There’s good article by the W3C called Personal names around the world that explains the problems (and possible solutions) pretty well (it was originally a two-part blog post by Richard Ishida: part 1 and part 2) Personally I’d say: support every printable Unicode-Character and to be safe provide just a single field “name” that contains … Read more

R: losing column names when adding rows to an empty data frame

The rbind help pages specifies that : For ‘cbind’ (‘rbind’), vectors of zero length (including ‘NULL’) are ignored unless the result would have zero rows (columns), for S compatibility. (Zero-extent matrices do not occur in S3 and are not ignored in R.) So, in fact, a is ignored in your rbind instruction. Not totally ignored, … Read more

Access lapply index names inside FUN

Unfortunately, lapply only gives you the elements of the vector you pass it. The usual work-around is to pass it the names or indices of the vector instead of the vector itself. But note that you can always pass in extra arguments to the function, so the following works: x <- list(a=11,b=12,c=13) # Changed to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)