e to store vectors, then
shouldn't
a[,3] <- a[,3] work?
Best regards,
yasir
On Tue, May 3, 2016 at 9:48 PM, David Winsemius
wrote:
>
> > On May 3, 2016, at 4:13 PM, Yasir Suhail wrote:
> >
> > Dear R developers and users,
> >
> > Consider the obj
Dear R developers and users,
Consider the object :
> a <- data.frame(a=c(1,2), b=c(2,3), c=c("a,b","c,d"), stringsAsFactors = F)
> a$c <- strsplit(a$c, ",")
Re-assignment works fine for columns 1 and 2, but fails for column 3. If a
is a valid object, the assignment should work.
> a[,1] <- a[,1]
I installed R 2.14.1 on a OSX 10.7.2 computer using MacPorts. If I fire up
R on a terminal, this very simple session gives me errors. I attach
sessionInfo() details as well. In addition to the warnings, I also do not
get any plots on the X11 window after the warnings. So one cannot just
ignore the
3 matches
Mail list logo