I am conducting an experiment in PsychoPy where I have various tasks such as the target detection task, familiarity rating task, and the 2AFC. Before the target detection task, I need to create an exposure phase. I have 2 languages with 6 trisyllabic words each, and I have 3 versions of each language meaning that I basically have 6 languages in total. I would like to put together triplets (words) within each language in a random order to then create auditory streams for the exposure phase (which I imagine would last about 6 minutes). I was wondering if there was a way to code for this in R? I am a beginner in the field of psycholinguistic research, so any help is appreciated.
Thank you so much in advance!