Error while running Sweave file

Hi Team,

i am trying a pdf document using R Sweave file. However I am getting below error while trying to run the code. Can anyone guide me here. I have installed tinytex and knitr packages but still getting this error


It looks like you need to install the ae latex package