Re: [R] [R-SIG-Mac] character set problem

2019-02-19 Thread Kevin Ushey
If I understand correctly, the problem is that the character your keyboard is inserting is not a regular caret (^, \u0053); rather, it's a 'modifier character circumflex accent' (ˆ, \u02c6). How are you inserting the carat on your laptop? For what it's worth, I get a 'regular' caret with Shift +

[R] lapply (and friends) with data.frames are slow

2013-01-05 Thread Kevin Ushey
Hey guys, I noticed something curious in the lapply call. I'll copy+paste the function call here because it's short enough: lapply - function (X, FUN, ...) { FUN - match.fun(FUN) if (!is.vector(X) || is.object(X)) X - as.list(X) .Internal(lapply(X, FUN)) } Notice that lapply

Re: [R] lapply (and friends) with data.frames are slow

2013-01-05 Thread Kevin Ushey
and data.frames to answer that. Ie, might we be introducing some weird subtle bug(s) if we called the *apply functions on an un-coerced data.frame? -Kevin On Sat, Jan 5, 2013 at 1:18 PM, David Winsemius dwinsem...@comcast.netwrote: On Jan 5, 2013, at 11:38 AM, Kevin Ushey wrote: Hey guys