Sorry, I am completely new with using R Studio and have spent the better part of the morning trying to figure this out. I have imported an SPSS datafile into R Studio. All I want to do is export this to an excel file and retain the variable labels for each variable.