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 + 6
ween lists 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 wrote:
>
> On Jan 5, 2013, at 11:38 AM, Kevin Ushey wrote:
>
> Hey
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 lapp
3 matches
Mail list logo