A collection of efficient, vectorized algorithms for the creation and investigation of magic squares and hypercubes, including a variety of functions for the manipulation and analysis of arbitrarily dimensioned arrays. The package includes methods for creating normal magic squares of any order greater than 2. The ultimate intention is for the package to be a computerized embodiment all magic square knowledge, including direct numerical verification of properties of magic squares (such as recent results on the determinant of oddordered semimagic squares). Some antimagic functionality is included. The package also serves as a rebuttal to the oftenheard comment "I thought R was just for statistics".
Package details 


Author  Robin K. S. Hankin 
Maintainer  "Robin K. S. Hankin" <[email protected]> 
License  GPL2 
Version  1.59 
URL  https://github.com/RobinHankin/magic.git 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.