Problem Downloading ggplot2

Hi,

I have an issue with downloading the packages "ggplot2"

This is the response i get when i type - install.package("ggpplot2")

Error: unexpected symbol in "setwd('C:/Users/TWM'SP"
Execution halted
ERROR: lazy loading failed for package 'ggplot2'

Any information would be great, I am a new user of RStudio

Thanks

Do you have a single quotation mark in your filepath? If so, I think that's the cause of your trouble (you're effectively telling the computer that the string is over before it actually is).

Can you load or install other packages?

Thanks, Changed my PC Username, updated my PC and restarted it and it worked.

Thanks a lot :slight_smile: