r version scanning for linux