Skip to content
Prev 8294 / 15076 Next

accented vowels

Duncan, I think I'll avoid the problem in another manner, leaving me free to choose whatever file names I want or need.

The reason I used gsub on file names is that I want to collate a series of data.frames using rbind (or rbind.fill). For this, I need to know the names of the data.frames I just read and this depends on the files that were in the directory I choose to read.

I therefore use a bunch of gsub to extract data.frame names from file names (file names were constructed to make this possible).

But I did this only because I did not know how to find the name of a data.frame after it is loaded. I searched on the net to see if this was feasible. I did not find a way to do this (short of doing a ls() before and after each load to see what has changed) but I found something close, thanks to you actually, in an answer you gave to another user!
I'll use this in the current project to avoid the situation that led to my initial message. Many thanks!

Denis