Spaces in library path names (on Windows) causes problems installing packages after installing R 3.5.0

Then download package zip/tar.gz and choose install from package archive?

See also: R for Windows FAQ