hello guys, im a newbie (more or less) at programming with R, and I havent used Rstudio since 2019, so now when I try to install some packages, I get a message saying "Warning message:
the 'rlang' package was compiled with R 3.6.3"
so I thought maybe this means I have an old version or smtg, so I installed the latest version and still no use, I still get this msg. And this poses problems when I try to import data. at first I used the rio package and it worked once and I was able to use the import function, but after few days, I retried it and it wont work. this is what it says"Error: package or namespace load failed for 'rio' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
package 'rlang' 0.4.11 is already loaded, but >= 1.0.0 is required"
now im just trying to import a csv the traditional way but that also doesnt work, this is what I get :
Error in setwd("C:/Users/user/Documents/targetTS/") :
cannot change working directory
data <- read.csv("targetTS.csv")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'targetTS.csv': No such file or directory.
Please help Im really desperate rn, if my supervisor knows im still stuck at this step I would be in big trouble. Thanks