Skip to content

[Bug]: R Code Calculation Not Executed After Clicking "Compute Column"Β #3441

@EhudLevitin

Description

@EhudLevitin

JASP Version

0.19.3

Commit ID

No response

JASP Module

Unrelated

What analysis are you seeing the problem on?

Edit Data

What OS are you seeing the problem on?

Windows 11

Bug Description

When creating a new variable using R code, clicking "Compute Column" does not always trigger the calculation. Sometimes the variable remains empty and the computation does not run.
Sometimes (mostly not), a spinning circle appears next to the variable name, as if the software is processing, but the calculation never completes and no result is displayed.

This issue does not occur consistently, but when it does happen, switching to Analyses mode and then back to Edit Data usually resolves it β€” the variable is then computed correctly and the values appear as expected.
This issue is most noticeable when using the ifElse() function, but it can also happen with simple arithmetic formulas.

I add a video of the bug :

Bug.Compute.Column.mp4

Expected Behaviour

The variable should be calculated immediately after clicking "Compute Column", and the results should appear in the data table without needing to switch modes or take any additional steps.

Steps to Reproduce

Create a new variable using R code :
ifElse(Height<=1.6,1, ifElse(Height<=1.7,2,3))
Click Compute Column

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions