getBoolean method is added to R class