Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if we always need scalars in each calculation? #9376

Open
rdstern opened this issue Jan 19, 2025 · 1 comment
Open

Check if we always need scalars in each calculation? #9376

rdstern opened this issue Jan 19, 2025 · 1 comment
Assignees
Milestone

Comments

@rdstern
Copy link
Collaborator

rdstern commented Jan 19, 2025

@N-thony I am now using R-Instat with R commands visible. Here is a simple calculation:

Image

I notice it always has 2 special lines/commands for the scalars. Do we always need them. Here I am using a data frame with no scalars, so could that be checked first? Or could they become part of the data in the first line?

@N-thony
Copy link
Collaborator

N-thony commented Jan 21, 2025

@derekagorhom are you happy to work on this? This should be easy, all you need is check if get_scalars return a value then attach the scalars code i.e ucrBase.clsRsyntax.AddToBeforeCodes(clsAttachScalarsFunction, 1) and the detach as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants