Page 1 of 1

importing sjlabelled labels from R to jamovi via .rdata

Posted: Mon Sep 29, 2025 9:16 pm
by ukuvainik
Hi!

I am preparing data in R for students who want to analyse the data in jamovi. To help them understand data, I have prepared labels along to variables with sjlabelled package.

When I save data with .rdata, and open the .rdata file in jamovi, the labels are not going to be found. However, when I export data from R to .sav with haven::write_sav() and then import the .sav file to jamovi, then I can see the labels.

My problem is that .sav files are 3x larger than .rdata files. Also, opening them seems less efficient. In my online machine that students use, .rdata files open in about 5 seconds, but .sav files take 1-2 minutes to open.

Is there are way to pass the variable labels to jamovi with .rdata?

Thanks

Uku

Re: importing sjlabelled labels from R to jamovi via .rdata

Posted: Tue Sep 30, 2025 12:10 am
by jonathon
these are particularly large files? to open in 1-2 minutes? are they quicker to open on a different machine?

you couldn't just save them as .omv files? (the jmvReadWrite package may be of interest)

jonathon

Re: importing sjlabelled labels from R to jamovi via .rdata

Posted: Thu Oct 02, 2025 5:04 pm
by ukuvainik
Hi!

Thank you for the .omv suggestion, that does the trick!

The data is 80k rows and 300 columns. I cannot test it elsewhere, protected data. But reading .omv is as fast as reading .rdata, about 20 seconds. .sav is 2-3 minutes. So in the end, .omv is the way!

Best,

Uku