Im trying to plot the data from all 250 loops into one figure
The loop works on its own but i only see data from the first loop when i use ggplot. Do i need to include ggplot into the loop? Or do i maybe need to save the output from the loop into a vector/list? (output is a 2x131 data frame)
It's difficult to understand what your code is doing as it appears you're using functions mvrnorm and compute_efficient_frontier which seems to be self-defined or part from an unknown package.
Could you please provide a reprex as explained below, so that we can assist you better?