fix R on dodgy old AMI