I'm currently using RStudio with R 4.2.1 in a PC with Windows 7. Just installed a new package (dada2) but, when I try to load the package, a error window comes up:
rsession-ut8.exe - System Error
The program can't start because api-ms-win-core-io-l1-1-1.dll is missing from your computer. Try reinstalling the program to fix this problem.
After pressing "ok" in the box, the following error comes up in the R console:
Error: package or namespace load failed for ‘dada2’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-4.2.1/library/Rsamtools/libs/x64/Rsamtools.dll':
LoadLibrary failure: The specified module could not be found.
Can someone help me?