After using:
map_df(., read_table, sep = ",", .id = "FileName")
The output chaged and I manage to use the datapasta way...So here it goes:
mydata <- tibble::tribble(
~FileName, ~X.,
"/Users/setegonz/MEGAsync/ProjetoUFABC-master/data/sub_01.txt", "Trial,nBack,Valence,Image,imagePresentationTime,NoisePresentationTime,x,StimDuration,NoiseDuration,RT,Accuracy,experiment,Clock_1,Clock_2,dataOneMinPress_1,dataOneMinPress_2,dataOneMinPress_3",
"/Users/setegonz/MEGAsync/ProjetoUFABC-master/data/sub_01.txt", "1,1,0,4530.jpg,0.0141170582301129,0.684714303524743,2.03743156177552,0.67059724529463,1.35271725825078,NaN,1,0,,,,,",
"/Users/setegonz/MEGAsync/ProjetoUFABC-master/data/sub_01.txt", "2,1,0,4530.jpg,2.0492009591087,2.6609536327162,5.26096588873156,0.611752673607498,2.60001225601536,1.3177634643348,1,0,,,,,",
"/Users/setegonz/MEGAsync/ProjetoUFABC-master/data/sub_01.txt", "3,1,0,4000.jpg,5.27273649355379,5.88450426077657,8.88452026000869,0.611767767222773,3.00001599923212,NaN,1,0,,,,,",
"/Users/setegonz/MEGAsync/ProjetoUFABC-master/data/sub_01.txt", "4,1,0,6314.jpg,8.89628452551256,9.50805833018126,12.50807915937,0.611773804668701,3.00002082918877,NaN,1,0,,,,,"
)
As you can see all my variables are togheter in the same column. Then I tried to separate with:
mydataseparation <- separate(mydata, c(2), ",")
But separate() doesn't divide my variables