Can you do this in R? Ajit