I have set the correct working directory:
When I take off one parantheses it says this instead for some reason:
FYI this is my very first homework assignment for an R class.
I have also tried putting the file in different folders and setting those folders as the working directory, with the same result.
EDIT: It literally works in another tab but when I copy+paste into this one it doesn't.