Sourcing R scripts from notebook directory

I am having trouble using the source() function to load R scripts from files in the notebook directory. It says RStudio is not running. Can anyone help me figure this out?

Kind regards,

gregory trotter