I am actually not sure as I am able to run it on my side as you can see below. Structure is slightly different and potentially easier to use depending on your problem. I am currently running on 4.0.2 here.
df <-
rep(sample(1:49,6, replace = FALSE),times = 100)
length(df)
#> [1] 600
df
#> [1] 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18
#> [26] 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8
#> [51] 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30
#> [76] 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35
#> [101] 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14
#> [126] 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22
#> [151] 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18
#> [176] 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8
#> [201] 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30
#> [226] 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35
#> [251] 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14
#> [276] 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22
#> [301] 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18
#> [326] 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8
#> [351] 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30
#> [376] 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35
#> [401] 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14
#> [426] 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22
#> [451] 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18
#> [476] 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8
#> [501] 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30
#> [526] 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35
#> [551] 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14
#> [576] 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22 18 8 30 35 14 22
df2 <-
replicate(100,sample(1:49,6,replace = FALSE))
df2
#> [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14]
#> [1,] 30 39 45 12 32 48 2 15 14 42 17 6 42 3
#> [2,] 45 42 27 43 38 14 4 43 46 47 9 36 5 2
#> [3,] 33 14 46 49 28 11 48 8 2 4 8 5 25 29
#> [4,] 26 28 2 47 4 28 35 42 30 5 38 7 13 10
#> [5,] 21 23 7 23 22 12 49 17 21 6 10 26 23 36
#> [6,] 41 34 36 10 47 25 39 34 19 24 46 20 18 49
#> [,15] [,16] [,17] [,18] [,19] [,20] [,21] [,22] [,23] [,24] [,25] [,26]
#> [1,] 7 25 33 9 36 36 3 26 46 32 45 48
#> [2,] 46 1 37 1 30 25 10 13 48 40 40 11
#> [3,] 31 38 16 14 32 39 28 45 47 6 38 34
#> [4,] 21 16 2 10 23 19 43 25 39 7 46 18
#> [5,] 33 22 1 8 6 14 36 30 3 42 1 46
#> [6,] 13 21 30 3 13 17 35 39 7 16 32 42
#> [,27] [,28] [,29] [,30] [,31] [,32] [,33] [,34] [,35] [,36] [,37] [,38]
#> [1,] 32 2 18 26 6 20 6 6 29 44 21 39
#> [2,] 37 36 3 10 30 30 32 22 34 39 3 7
#> [3,] 38 13 36 30 31 48 26 34 2 29 26 21
#> [4,] 45 4 10 20 46 16 22 37 41 34 49 40
#> [5,] 16 23 49 46 29 36 5 23 26 22 12 15
#> [6,] 3 8 13 23 44 5 42 33 49 30 8 20
#> [,39] [,40] [,41] [,42] [,43] [,44] [,45] [,46] [,47] [,48] [,49] [,50]
#> [1,] 21 20 6 16 16 8 15 39 18 48 23 46
#> [2,] 3 13 7 18 6 29 1 9 45 14 21 18
#> [3,] 11 3 12 10 13 48 36 11 24 17 36 40
#> [4,] 27 28 30 35 24 2 22 4 11 1 44 10
#> [5,] 42 30 42 15 35 25 27 48 42 33 4 21
#> [6,] 29 43 22 13 31 39 20 42 37 42 46 8
#> [,51] [,52] [,53] [,54] [,55] [,56] [,57] [,58] [,59] [,60] [,61] [,62]
#> [1,] 18 26 33 18 29 2 17 6 9 15 11 45
#> [2,] 32 20 30 26 42 44 48 8 2 41 46 30
#> [3,] 28 1 46 14 47 45 30 46 23 13 4 34
#> [4,] 48 42 42 39 35 19 35 19 15 14 12 35
#> [5,] 11 6 25 21 46 34 43 9 45 10 10 44
#> [6,] 25 16 14 12 8 32 36 1 36 11 30 20
#> [,63] [,64] [,65] [,66] [,67] [,68] [,69] [,70] [,71] [,72] [,73] [,74]
#> [1,] 23 48 13 47 33 32 10 33 14 10 36 13
#> [2,] 42 11 30 5 4 31 37 43 46 47 49 38
#> [3,] 26 28 24 8 6 5 49 30 5 6 41 16
#> [4,] 29 15 34 48 39 38 8 40 11 14 17 26
#> [5,] 10 47 23 3 45 1 32 24 21 17 48 14
#> [6,] 22 27 43 34 31 10 21 32 8 15 32 9
#> [,75] [,76] [,77] [,78] [,79] [,80] [,81] [,82] [,83] [,84] [,85] [,86]
#> [1,] 9 2 37 14 39 10 47 39 6 27 17 17
#> [2,] 12 41 10 34 16 26 8 45 26 19 26 5
#> [3,] 40 20 21 40 12 23 19 30 3 45 28 45
#> [4,] 1 19 49 33 27 27 6 41 12 38 40 22
#> [5,] 37 38 48 17 29 29 10 36 45 30 6 34
#> [6,] 34 5 34 9 28 47 49 11 21 12 3 13
#> [,87] [,88] [,89] [,90] [,91] [,92] [,93] [,94] [,95] [,96] [,97] [,98]
#> [1,] 26 18 39 45 31 9 36 45 13 8 45 41
#> [2,] 23 37 47 35 41 40 26 25 26 14 48 22
#> [3,] 16 39 31 27 47 26 14 20 31 40 43 34
#> [4,] 12 49 5 49 19 17 23 48 29 22 37 20
#> [5,] 25 16 2 40 29 18 46 1 4 36 36 42
#> [6,] 44 7 1 38 11 5 33 41 28 42 16 4
#> [,99] [,100]
#> [1,] 27 15
#> [2,] 4 21
#> [3,] 41 10
#> [4,] 43 32
#> [5,] 38 22
#> [6,] 19 3
Created on 2022-01-11 by the reprex package (v2.0.0)
I would personally just have done the below. This way I have 600 numbers taken equally from 1:49 and I can split that into what I need. I can't think it would be problematic to sample with replacement
df <-
sample(1:49,600, replace = TRUE)