You can't post the whole message as formatted code
When you are asked to install packages from source, that means compiling the code, so you do need a compiler. If you want to try to avoid this altogether, update your R version so you have access to precompiled binaries which are easy to install but only available for the latest R versions and are sometimes a little older than the source equivalents (but just for some days).