Re: [sage-support] why does this not work? i am trying to create a pattern 1 2 3 4 5 6 which will repeat 6 times. i got this method from my lecturer but it is not working

2021-11-13 Thread David Joyner
It seems rep is an R function. If you are in the sage notebook, you need to make sure your cell is an R cell. I don't use the notebook much myself, but this: d <- rep(1:8,6) d returns [1] 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 [39] 7 8 1 2 3 4 5 6 7 8 Is

[sage-support] why does this not work? i am trying to create a pattern 1 2 3 4 5 6 which will repeat 6 times. i got this method from my lecturer but it is not working

2021-11-13 Thread Papi London
-- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit