Dataframe duplicating a vector into multiple columns

When I create a dataframe from a list of files, and some numbers associated with them, instead of getting a dataframe with two columns, I get a square one, with the same number repeated across rows. Example:

Please post the output of

dput(test_files)

and

dput(relative_sizes)

Put a line with three back ticks before and after each block of output like this:
```
output of dput() goes here
```

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.