Hello everyone,

Iam new at using R or especially RStudio. The Problem is that I want to create a function which Counts either different files in one Folder or in a table.

For example:

MyFirstQuestion01_Year2019

MyFirstQuestion02_Year2019

MyFirstQuestion03_Year2019

MyFirstQuestion01_Year2020

MyFirstQuestion02_Year2020

MyFirstQuestion03_Year2020

MyFirstQuestion04_Year2020

MySecondQuestion01_Year2019

MySecondQuestion02_Year2019

MySecondQuestion01_Year2020

MySecondQuestion02_Year2020

MySecondQuestion03_Year2020

I want to add the amount of files or names to an overview table.

Similar questions and discussions