Open bmatyasb opened 3 months ago
I think this would be better when the generated R-Syntax will be available also to run inside R studio.
or make a gui interface for ggplot. (:
@bmatyasb Did you try the flexplot module? It is the first option within the "visual modeling" module. And are you aware of the axis editing options we already have through the "edit image" option and the export to PPTX option where you could fine tune the rest in Powerpoint? Also 0.19 will get a dedicated and very customizable raincloud plot module. Sure all of this is not as flexible as ggplot, but designing a GUI that would provide most of the ggplot features seems like a very big task.
If you still want this, please let us know what exactly you are missing, so that we have a starting point.
I finally found a solution: I switched from JASP to Jamovi. This is very sad, because overall JASP has some quality of life things that Jamovi lacks. But in Jamovi I can run the R syntax, and with it ggplot. This has several advantages, fully customizable plots and - what really should be a basic feature - plot size scalable by numbers. In addition, what is missing in Jamovi compared to JASP can be done smoothly with syntax. Sure, there's flexplot in JASP, but let's face it, it looks awfully clunky in some cases (point size, etc). And the PPT solution is just tedious and time consuming, which you don't expect from a "user friendly", "flexible" software. Of course, the question may come up that if I can write ggplot syntax, why am I even bothering here and moving to R Studio. But that's not the point, the point is that we want to use a software in education and everyday work that is free, user friendly and because of the GUI many things can be done much easier. It's much easier, much faster to do statistical analysis with a software on a GUI basis... and also you only have to learn to code ggplot, which is very simple... Jamovi can do this now. Currently, with JASP, you can't even make same-size plots comfortably within the software... mouse dragging is nowhere near reproducible... And the PPT solution is cute and clever, but you have to adjust things in your computer's registry to export a 300 DPI image from ppt... This again takes away from the user experience and practicality. I'd like to return to JASP because I like it better overall, but I haven't been able to do a full statistical analysis with it at the moment because it's just not practical or convenient to make plots. Anyway, although I don't know if this helps, there is a great ggplot2 online shiny app available with source code: maybe it will help you somewhat to see how to build one. https://shiny.gmw.rug.nl/ggplotgui/ I think that the focus should not be on making JASP run inside RStudio, but vice versa. If one wants to use JASP (or any free GUI), one does not want to write scripts. But if one does need to, it is much easier and faster to just learn a ggplot to make charts and run it inside JASP than to type in R everything that could be done in the JASP GUI. I hope to return to JASP one day, when the plotting facilities requested by many will be improved.
On Sat, 6 Jul 2024 at 13:08, Thomas Langkamp @.***> wrote:
@bmatyasb https://github.com/bmatyasb Did you try the flexplot module? It is the first option within the "visual modeling" module. Also 0.19 will get a dedicated and very customizable raincloud plot module. Sure all of this is not as flexible as ggplot, but designing a GUI that would provide most of the ggplot features seems like a very big task.
— Reply to this email directly, view it on GitHub https://github.com/jasp-stats/jasp-issues/issues/2798#issuecomment-2211739734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVW2D7LCPH3OTVVGQX2KENLZK7FY7AVCNFSM6AAAAABJ5Z6KJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG4ZTSNZTGQ . You are receiving this because you were mentioned.Message ID: @.***>
Sure, we will try our best to honor the request. Thx for the shiny app hint. Maybe it will help speeding all this up. The size issue you mention is long on our roadmap but there are so many requests, it may all take quite some time. Cool that jamovi works for you atm.
i'm very happy that raincloud plot finally has a resize option, but i'm very sad that flexplot and descriptive plots don't have it yet... :( and i guess the function and ui wouldn't be much different. Can I help you with that?
On Sat, 6 Jul 2024 at 14:22, Thomas Langkamp @.***> wrote:
Sure, we will try our best to honor the request. Thx for the shiny app hint. Maybe it will help speeding all this up. The size issue you mention is long on our roadmap but there are so many requests, it may all take quite some time. Cool that jamovi works for,you atm.
— Reply to this email directly, view it on GitHub https://github.com/jasp-stats/jasp-issues/issues/2798#issuecomment-2211754940, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVW2D7MNSRFJF2Q3CKLAM2TZK7OPLAVCNFSM6AAAAABJ5Z6KJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG42TIOJUGA . You are receiving this because you were mentioned.Message ID: @.***>
@bmatyasb
Sure! That would be awesome! You are more than welcome to try to make our image editor a better place. A precize resize option for graphs was already requested by other users and we all would love to have it for all graphs, see https://github.com/jasp-stats/jasp-issues/issues/1444
The image editor seems to be written in C++, see https://github.com/jasp-stats/jasp-desktop/tree/development/Desktop/results
But also a more local implementation within the flexplot UI could be a cool start for sure! That probably would require some knowledge in coding Qt (which is similar to C++ afaik) Maybe @vandenman as the dev of the image editor could give you some hints on how and where to start.
Since I am not from the dev team, but from the translator and issue collaborator team I cannot deep dive here. But for sure our dev guide can give some further hints:
https://github.com/jasp-stats/jasp-desktop/blob/development/Docs/development/readme.md
I hope that helps!
Description
Writing R scripts in JASP
Purpose
Expanding the current incomplete graph editing options.
Use-case
No response
Is your feature request related to a problem?
It would be nice to use R script to create plots from the data in JASP.
Is your feature request related to a JASP module?
Other
Describe the solution you would like
No response
Describe alternatives that you have considered
No response
Additional context
Obviously there is an R console in JASP right now. I tried to write a ggplot script in it. Anyway, the script is done, but JASP crashes immediately. Maybe it's just me? In any case, it would be fantastic if it worked.