Getting data from RJeditor back to the jamovi dataset

Everything related to the development of modules in jamovi
Post Reply
Shabd
Posts: 3
Joined: Thu Dec 13, 2018 9:17 pm

Getting data from RJeditor back to the jamovi dataset

Post by Shabd »

Hi,
I love the RJ editor feature very much (you guys are doing a great job!), but I have one important question related to it:

It seems currently impossible to get data that was created in the RJeditor "system R sandbox" back to the Jamovi dataset. E.g. if i do:
data <-cbind(data, new_column)
...and then do:
descriptives (data)
... I can see the newly created column in the output, however, the new column is not appearing in the jamovi spreadsheet and hence cannot be saved with it.

Am I right that this is still impossible right now?
And if so, do you have a quick workaround how to make this work?

Such a function would be useful since I plan to do a simple statistic course with jamovi. Students will have no idea of R but in one course module might want to use some R-packages with functions that jamovi does not provide (like, e,g, poLCA) and take the generated data (e.g. class assignment) "back to jamovi" in order to do simple analyses with it there.
Any idea to achieve this in a very easy way?

Thanks a lot in advance, cheers,
Shabd
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Getting data from RJeditor back to the jamovi dataset

Post by jonathon »

hi shabd,

you're right, this is a limitation of jamovi (and Rj) at this time.

as a work around, you can generate a stream of text values, and paste them into a column in jamovi:
Screen Shot 2018-12-14 at 09.49.09.png
Screen Shot 2018-12-14 at 09.49.09.png (225.25 KiB) Viewed 4081 times
what you copy/paste from the results (i notice) starts with a blank line, and pasting this doesn't work, so you have to paste the values into something like notepad, *then* copy all the values (skipping the first line), before you can paste those into a column in jamovi.

i'll fix this issue shortly.

jonathon
User avatar
credmontgo
Posts: 34
Joined: Tue Oct 12, 2021 1:31 pm
Location: Toronto, Canada
Contact:

Re: Getting data from RJeditor back to the jamovi dataset

Post by credmontgo »

Updates here, or better way?
RHainez
Posts: 105
Joined: Wed Feb 08, 2017 3:14 pm

Re: Getting data from RJeditor back to the jamovi dataset

Post by RHainez »

+1 on this feature
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Getting data from RJeditor back to the jamovi dataset

Post by jonathon »

my plan is to have this sometime in june

jonathon
Post Reply