Readers, Attempting to solve the knapsack problem (e.g. see: http://rosettacode.org/wiki/Knapsack_problem/Unbounded), the following error occurred:
... result would be too long a vector Is this indicative that R is not suitable to solve this problem when combinations are large? Is there a known limit? Is there an alternative, or better to use a different program? Thanks. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.