<div dir="ltr"><span style="font-size:12.8px">I'd like to have a standalone version of Rcpp. I compiled it as visual studio 2017 project with Intel 2018u1 c++ compiler.</span><div><span style="font-size:12.8px">I had to switch off Date and Rcpp_init files to be compatible with windows (without major modifications).</span></div><div><span style="font-size:12.8px">when I tried it on a small exemple NumericVector a; na=a.size() I get an error at this line of code of Vector.h</span><br><div><span style="font-size:12.8px">inline R_xlen_t size() const {</span></div><div><span style="font-size:12.8px">        return ::Rf_xlength( Storage::get__() ) ;</span></div><div><span style="font-size:12.8px">    }</span></div></div><div><span style="font-size:12.8px">Exception thrown at 0x000000006C7FE5D0 (R.dll) in Rgui.exe: 0xC0000005: Access violation reading location 0x000000008000004E</span><br></div><div><span style="font-size:12.8px">what is the reason of this error ?</span></div><div><span style="font-size:12.8px"><br></span></div></div>