I am afraid my question is pretty basic :
I create a dataframe that I name using a paste
command as I want to have the date each time.
assign(paste(Fichier, Onglet2, Budget,Tour, Date,sep="_"),
FichierExcel %>%
read.xlsx(., sheet="DM", colNames=F, rows=(2:209)) %>%
set_names(Colonnes_DemandeMondiale))
So I get a dataframe that is named paste(Fichier, Onglet2, Budget,Tour, Date,sep="_")
, but when I try to check it by using the headtail
function, it does only seem to see it as the string that results from the paste, not the datagframe itself.
> headtail((paste(Fichier, Onglet1, Budget,Tour, Date,sep="_")))
Erreur : 'x' must be a matrix or data.frame.
How should I specify that I want the object which name is the charater chain and not the character chain itself ?