some issues with R fixed, some outstanding