How do we add/remove rows from gdf ?
EXAMPLE
DataFrame <- data.frame(cbind(x=1, y=1:10))
obj <- gdf(DataFrame, container = TRUE)
How do we add/remove rows from obj ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, in design you can do assignment via [<-
That works for gWidgetsRGtk2 (with some complaint about a color), but may not for other toolkits. (Not even gWidgets2RGtk2 on github, which is something to fix!)
As for removing rows, one could do:
Again working in gWidgetsRGtk2, but YMMV with the other toolkits.