Are you a Microsoft Windows R user? Does your Windows username include a space? Like Firstname Lastname. Then you might occassionally run into issues installing packages due to spaces.

Solutions

You could either re-install Windows with a username that has no spaces such as Lastname 1, but that’s probably not an easy option. Or you can:

  • Edit your TMP and TEMP environment variables to a …