Prof E shows how to use R for hypothesis testing for means and proportions with either 1 or 2 samples.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.