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

reduceResultsExperiments and non-atomic results #12

Open
krlmlr opened this issue Aug 31, 2015 · 0 comments
Open

reduceResultsExperiments and non-atomic results #12

krlmlr opened this issue Aug 31, 2015 · 0 comments

Comments

@krlmlr
Copy link

krlmlr commented Aug 31, 2015

I've been looking for a way to collect the result "as is" in reduceResultsExperiments(). The following function (used in fun) worked for me:

collectAsIs <- function(job, res) {
  list(res = I(list(res)))
}

The result is a single column res that is a list of the unmodified results.

How about exporting the default fun implementation (e.g., as collectIdentity) and also exporting the collectAsIs function above? I'll be happy to supply a pull request.

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

1 participant