New to R: can't load packages

Hi. Just started on R and trying to do a tutorial using the "MASS" packaged. I've tried to download/install the package but when I go to use it it doesn't recognise it. Here is what I get:

install.packages("MASS")
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/MASS_7.3-51.4.tgz'
Content type 'application/x-gzip' length 1175340 bytes (1.1 MB)

downloaded 1.1 MB

The downloaded binary packages are in
/var/folders/qk/n8zc5v7j06v13bzvvlmm2jxm0000gn/T//Rtmp6GrsaN/downloaded_packages

edit(MASS)
Error in edit(MASS) : object 'MASS' not found

What stupid thing am I doing wrong?!?

Sorry and thanks,

Christian

Try the command

library(MASS)

to load the package.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.