Search found 11 matches

by Mindspace
Tue Oct 17, 2023 1:40 pm
Forum: General
Topic: Output syntax for computed/transformed variables?
Replies: 4
Views: 8502

Output syntax for computed/transformed variables?

I have been teaching with Jamovi for the past few years and my students absolutely love it. One question that came up, however, is whether there is a way to show the syntax for computing and transforming variables in the data menu. This was asked in the context of preregistered analyses, where the f...
by Mindspace
Sun Mar 15, 2020 2:21 am
Forum: Module development
Topic: Variable names in Jamovi R vs. System R?
Replies: 17
Views: 13338

Re: Variable names in Jamovi R vs. System R?

Perfect, that did the trick. The module now works without the tcl support files.

Thanks for your help!
by Mindspace
Fri Mar 13, 2020 9:00 pm
Forum: Module development
Topic: Variable names in Jamovi R vs. System R?
Replies: 17
Views: 13338

Re: Variable names in Jamovi R vs. System R?

Hmm... so I cloned your forked copy of RSA so that I could remove the aplpack imports (had to setup a github account because it looks like jmvtools::install doesn't support remotes on gitlab?): https://github.com/MindSpace20/RSA The RSAj DESCRIPTION file was modified as such: Imports: jmvcore (>= 0....
by Mindspace
Fri Mar 13, 2020 3:40 pm
Forum: Module development
Topic: Variable names in Jamovi R vs. System R?
Replies: 17
Views: 13338

Re: Variable names in Jamovi R vs. System R?

Thanks for looking into this! Yes, it looks like aplpack (https://github.com/cran/aplpack) also imports tcltk, although removing the references to it in the description and namespace files in the build folder doesn't seem to help. Do all references in the aplpack code itself also have to be removed ...
by Mindspace
Fri Mar 13, 2020 1:19 am
Forum: Module development
Topic: Variable names in Jamovi R vs. System R?
Replies: 17
Views: 13338

Re: Variable names in Jamovi R vs. System R?

As far as I can tell, RSA only uses tkrplot for the interactive demoRSA (also demoRSS, demoRSSS) functions, but it could otherwise be removed without harm. Is this as simple as changing the dependency list for the RSA install included in the module? I tried removing references to tkrplot, tcl/tk, an...
by Mindspace
Thu Mar 05, 2020 7:50 pm
Forum: Module development
Topic: Variable names in Jamovi R vs. System R?
Replies: 17
Views: 13338

Re: Variable names in Jamovi R vs. System R?

Okay, I managed to get a bare bones prototype working! I got around the formula issue by using formula.tools::lhs and formula.tools::rhs to properly specify the formula. Now the only remaining issue is whether the Tcl folder can be included in the Jamovi install so that tcltk-based packages work pro...
by Mindspace
Thu Mar 05, 2020 3:22 am
Forum: Module development
Topic: Variable names in Jamovi R vs. System R?
Replies: 17
Views: 13338

Re: Variable names in Jamovi R vs. System R?

Back to the main issue, I tried copying your code in the menu file, but get this error when compiling: This only occurs when the formula terms are fed through the menu interface. Unable to compile 'rsmap.a.yaml': analysis additionalProperty "outcome" exists in analysis when not allowed ana...
by Mindspace
Wed Mar 04, 2020 9:23 pm
Forum: Module development
Topic: Variable names in Jamovi R vs. System R?
Replies: 17
Views: 13338

Re: Variable names in Jamovi R vs. System R?

After digging around a bit, it turns out that this problem occurs anytime tcltk is loaded in the RJ console (regardless of my module). I found a solution to the problem at https://stackoverflow.com/a/7075149 . Jamovi R has the tcltk package installed by default, but doesn't have the support files in...
by Mindspace
Wed Mar 04, 2020 5:41 pm
Forum: Module development
Topic: Variable names in Jamovi R vs. System R?
Replies: 17
Views: 13338

Re: Variable names in Jamovi R vs. System R?

Okay, I have setup a repository for the (very early stage) module at https://gitlab.com/MindSpace20/rsaj I have also renamed the module as per your recommendation (as well as the analysis itself, in case that matters). Before even getting back to the syntax issue, I am now having trouble loading the...
by Mindspace
Tue Mar 03, 2020 8:11 pm
Forum: Module development
Topic: Variable names in Jamovi R vs. System R?
Replies: 17
Views: 13338

Re: Variable names in Jamovi R vs. System R?

By the way, here is the full debug information in case it is useful: Debug Error in RSAOptions$new(outcome = outcome, predictor1 = predictor1, predictor2 = predictor2, : argument "predictor1" is missing, with no default private$.run() eval(code, self$data, echo, self$results, figWidth = fi...