Here’s some really simple outlier detection (using either the boxplot statistics or quantiles of the data) that I wrote a few years ago.
But, as noted, it would be helpful if you’d describe your problem with greater precision.
Edit:
Also you say you want row-wise outliers. Do you mean to say that you’re interested in identifying whole rows vs observations within a variable (as is typically done)? If so, you’ll want to use some sort of distance metric, though which metric you choose will depend on your data.
3
solved Label or score outliers in R