input data
hidden R filter (moved to 2.0)
various R fixes