[Rd] surprised matrix (1:256, 8, 8) doesn't cause error/warning

Abby Spurdle (/əˈbi/) @purd|e@@ @end|ng |rom gm@||@com
Mon Feb 1 07:50:32 CET 2021


I'm a little surprised that the following doesn't trigger an error or a warning.

matrix (1:256, 8, 8)

The help file says that the main argument is recycled, if it's too short.
But doesn't say what happens if it's too long.



More information about the R-devel mailing list