Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205372

R loading Files from Folder Mac Catalina OS

$
0
0

In version R version 3.6.1 (2019-07-05) -- "Action of the Toes",on Mac Catalina OS. I'm trying to load files from folder, code bellow, however it does not do it at the first time, and I need to run it twice to get the files loaded. What could be happening? How could be solved?

remove(list=ls())
library(raster)
library(rgdal)
library(easycsv)
theDir=easycsv::choose_dir()
thePath=setwd(theDir)
current.list <- list.files(path = thePath, pattern =".tif$", full.names=TRUE)

Viewing all articles
Browse latest Browse all 205372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>