I have a data file. I am reading chunk by chunk of the data file. The data file has delimiters for each chunk. I do not know how big the data file will be. I do not know how many chunks are in the data file. I need a vector created for the data in each chunk. I would like the vectors named something like vector0, vector1, vector2, etc. How do I create an unknown number of vectors with such a naming convention
Asked
Active
Viewed 22 times
0
-
When did vectors get a `name` property? You should really make more efford in explaining your problem. – fabian Aug 09 '16 at 07:46
-
Ok. I have a data file. I am reading chunk by chunk of the data file. The data file has delimiters for each chunk. I do not know how big the data file will be. I do not know how many chunks are in the data file. I need a vector created for the data in each chunk. I would like the vectors named something like vector0, vector1, vector2, etc. How do I create an unknown number of vectors with such a naming convention. – Fuion Aug 09 '16 at 17:50
-
Simply replace the array mentioned in the answers in the dupe with a `List`, e.g. `ArrayList`... – fabian Aug 09 '16 at 17:58
-
Thank you for all your help. – Fuion Aug 10 '16 at 01:16