clld / phoible

PHOIBLE Online
http://phoible.org
Apache License 2.0
42 stars 13 forks source link

all.data data.frame : Indexing fails at level 2 error #14

Closed n31k closed 7 years ago

n31k commented 7 years ago

On R 3.3.2 Win7 64 bit.

L217 all.data[upsid.disjunct.indices, feat.columns] <- upsid.feats[feat.columns]

raises error for "nested indexing failing at level 2". I changed that to

all.data[, feat.columns] <- NA
all.data[upsid.disjunct.indices, feat.columns] <- upsid.feats[feat.columns]

which solved the problem. I am posting this just in case anyone needs it...

Thanks!

drammock commented 7 years ago

This is the repository for the web frontend of phoible. If you are working with the development scripts, please post issues here.

n31k commented 7 years ago

Yeah sure. I realized that afterwards... Sorry!