greeting,
i'm new to R and Rstudio, already install them to my computer but I'm not able to install the package.
my code
install.packages("tidyverse")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
RTools: Toolchains for building R and R packages from source on Windows
Warning in install.packages :
'lib = "C:/Program Files/R/R-4.1.3/library"' is not writable
Warning in install.packages :
cannot create dir 'C:\Users\hi\OneDrive?????????', reason 'Invalid argument'
Error in install.packages : unable to create ‘C:/Users/hi/OneDrive/?????????/R/win-library/4.1’
Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="C:/Users/hi/OneDrive/?????????": The filename, directory name, or volume label syntax is incorrect
after installing Rtools also get the same message