Don't use this function unless you know what you're doing or just don't care about your R session. If you set the data to some unexpected value you are very likely to cause a SEGFAULT and crash the entire R session. Also, this modifies the existing object in-place, meaning that all variables pointing to this same ALTREP will be modified.