r applic