was r