1
Vote

Adding new col and assigning NA to it shows True and not NA

description

Hi,
I have a data frame and I added a new column to it and assigned NA (using R.NET). In C# I do not see all NA rather I see all True in that new column. Tried same in R GUI and new column contains all NA.

Example:
df2<-data.frame(A=c(21,24,32), B=c(46,57,68), C=c(68,87,89))
df2$newcol <- NA

I am expecting to see all NA values in my new column, just like R GUI. Please help.

I am on R.NET ver 1.6.5.0

Thanks,
adabral

comments