SAS is a very expensive commercial program. This time R has more than 445o statistical procedures. Difficult to learn it bit you can do everything you want
The difficulty is because most commercial statistics programs are "point and click". So most users they do not need to know commands in order to do a statistical analysis. But the user of R has anything you want to do in statistics. Especially an R user is an experienced user not only knowing the R language but especially knowing statistics so most times anyone can find a valuable help if he wants.