I just imported a csv file into mongodb by using "mongoimport.exe" like below: 1 Now I wanna delete a column named "The Arts Centre" from a collection in R, When I try this:
>mongo.get.database.collections(mongo.db)
[1] "assi3.2013_4"
>coll <- "assi3.2013_4"
> str(coll)
chr "assi3.2013_4"
coll$The_Arts_Centre <- NULL
there is a warning:
Warning message:
In coll$The_Arts_Centre <- NULL : Coercing LHS to a list
Could someone help me to solve this ?