library(datasets) # Load base packages manually
Installs pacman ("package manager") if needed
if (!require("pacman")) install.packages("pacman")
Use pacman to load add-on packages as desired
pacman::p_load(pacman, rio, tidyverse)
This is the code I use for uploading but I keep getting the following error:
Error: unable to create temporary directory ‘C:\Users\HP\Documents\R\win-library\4.1\file18cc6d9878ce’
In addition: Warning message:
In dir.create(tmpDir) :
cannot create dir 'C:\Users\HP\Documents\R\win-library\4.1\file18cc6d9878ce', reason 'No such file or directory'
Please assist, I'm using Windows 10