How do I include a JavaScript file in another JavaScript file?

The old versions of JavaScript had no import, include, or require, so many different approaches to this problem have been developed. But since 2015 (ES6), JavaScript has had the ES6 modules standard to import modules in Node.js, which is also supported by most modern browsers. For compatibility with older browsers, build tools like Webpack and … Read more

How can I read multiple (excel) files into R? [duplicate]

With list.files you can create a list of all the filenames in your workingdirectory. Next you can use lapply to loop over that list and read each file with the read_excel function from the readxl package: library(readxl) file.list <- list.files(pattern=’*.xlsx’) df.list <- lapply(file.list, read_excel) This method can off course also be used with other file … Read more