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

set_vars function does not work #66

Closed
gjones1219 opened this issue Aug 26, 2022 · 1 comment
Closed

set_vars function does not work #66

gjones1219 opened this issue Aug 26, 2022 · 1 comment

Comments

@gjones1219
Copy link

Hello! I am reaching out because of a few issues/requested clarifications.

First, the set_vars function does not work at all for me, meaning I have to define all of the variables manually.

Posting a reproducible example below:

library(scan)
set_vars(exampleAB, 'values', 'mt','phase')

###This should work, but it returns the following error:

###Error in scdf_attr[[var]] <- value :
###attempt to select less than one element in OneIndex

jazznbass added a commit that referenced this issue Aug 26, 2022
@jazznbass jazznbass mentioned this issue Aug 26, 2022
@jazznbass
Copy link
Owner

Thank you! Solved in 0.54.5. (master branch repo)
Meanwhile you can also use set_dvar(), set_pvar() and set_mvar

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

No branches or pull requests

2 participants