='fu'>class</span>(<span class='no'>A</span>) <span class='kw'>&lt;-</span> <span class='st'>"numeric"</span> <span class='co'># This is important. We need the elements of A to be of class "numeric". </span>

<span class='fu'>set.seed</span>(<span class='fl'>414</span>)
<span class='fu'>rmvn</span>(<span class='fl'>4</span>, <span class='fl'>1</span>:<span class='no'>d</span>, <span class='no'>mcov</span>, <span class='kw'>ncores</span> <span class='kw'>=</span> <span class='fl'>2</span>, <span class='kw'>A