Hi I want to install the vegan package for R via terminal command - so far I have this:
This downloads the zipped file required (this part works)
wget -O ~/file/downloads/vegan_2.3-5.tar.gz "http://download.r-forge.r-project.org/src/contrib/vegan_2.3-5.tar.gz"
I want this to then install that package so i can run it in R (this part doesn't work error message: syntax error near unexpected token `(' )
install.packages(~/file/downloads/vegan_2.3-5.tar.gz, repos = NULL, type="source")
Thanks in advance