Skip to content

Add R_CheckUserInterrupt? #62

@jessexknight

Description

@jessexknight

Thanks for your work on this package.

I have used lhs::randomLHS(n,k) many times with n ~ 100,000 and k ~ 100 and the results were always quite fast. Today I explored lhs::optimumLHS(n=1000,k=10) ... it's still running after about 10 minutes, and I cannot interrupt it in the usual way (CTRL+C in terminal).

It seems there is an Rcpp solution to this: R_CheckUserInterrupt, though it may need some extra code to exit safely, as discussed here. Would you consider adding this to some of the particularly long-running LHS algorithms?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions