<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><div style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;" data-mce-style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;"><pre class="GAKS5OJBBCB ace_text-layer ace_line GAKS5OJBCCB GAKS5OJBBT" style="white-space: pre-wrap !important; word-wrap: break-word !important; color: #ffffff; outline: none; border: none; word-break: break-all; margin-top: 0px; margin-bottom: 0px; -webkit-user-select: text; box-sizing: border-box; width: 777px; padding: 6px; font-family: inherit !important; font-size: inherit !important; font-style: inherit !important; font-variant: inherit !important; font-weight: inherit !important; line-height: inherit !important;" data-mce-style="white-space: pre-wrap !important; word-wrap: break-word !important; color: #ffffff; outline: none; border: none; word-break: break-all; margin-top: 0px; margin-bottom: 0px; -webkit-user-select: text; box-sizing: border-box; width: 777px; padding: 6px; font-family: inherit !important; font-size: inherit !important; font-style: inherit !important; font-variant: inherit !important; font-weight: inherit !important; line-height: inherit !important;"><span style="white-space: pre-line; word-wrap: break-word !important; color: #000000;" data-mce-style="white-space: pre-line; word-wrap: break-word !important; color: #000000;"><br>Oups I put my answer to your comments in the body of the mail and therefore it is almost invisible.<br><div><br></div>So I tried to apply your suggestion and I still have the same error<br> <br>Error in dyn.load(file, DLLpath = DLLpath, ...) :  unable to load shared object '/home/metienne/R/x86_64-pc-linux-gnu-library/3.1/testCMaes/libs/testCMaes.so': libcmaes.so.0: cannot open shared object file: No such file or directory Error: loading failed </span></pre><div>I'm absolutely not confortable with this, so I wonder if libcmaes.so.0 should  be copied in the <pre class="GAKS5OJBBCB ace_text-layer ace_line GAKS5OJBCCB GAKS5OJBBT" style="color: #ffffff; outline: none; border: none; word-break: break-all; margin-top: 0px; margin-bottom: 0px; -webkit-user-select: text; box-sizing: border-box; width: 777px; padding: 6px; font-size: inherit !important; font-style: inherit !important; font-variant: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important; word-wrap: break-word !important; font-family: inherit !important;" data-mce-style="color: #ffffff; outline: none; border: none; word-break: break-all; margin-top: 0px; margin-bottom: 0px; -webkit-user-select: text; box-sizing: border-box; width: 777px; padding: 6px; font-size: inherit !important; font-style: inherit !important; font-variant: inherit !important; font-weight: inherit !important; line-height: inherit !important; white-space: pre-wrap !important; word-wrap: break-word !important; font-family: inherit !important;"><span style="white-space: pre-line; color: #000000; word-wrap: break-word !important;" data-mce-style="white-space: pre-line; color: #000000; word-wrap: break-word !important;">testCMaes </span><span style="font-size: 16.3636360168457px; color: rgb(0, 0, 0);">package installation directory  or should </span><span style="font-family: inherit; font-size: inherit; color: rgb(0, 0, 0); white-space: pre-line; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;">testCMaes.so access to it in the standard directory ?</span></pre></div><div><br></div></div><div style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;" data-mce-style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;">Regarding your comment on SystemRequirement, yes  I am aware of the drawback of using external code. The libcmaes is distributed under LGPLv3 license, so I guess I should be allowed to internalise the library but ... one step at a time.<span style="box-sizing: border-box; font-family: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 13px; line-height: 20px; white-space: nowrap; background-color: #f8f8f8;" data-mce-style="box-sizing: border-box; font-family: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 13px; line-height: 20px; white-space: nowrap; background-color: #f8f8f8;"><span class="Object" id="OBJ_PREFIX_DWT180_com_zimbra_url" style="color: #336699; cursor: pointer;" data-mce-style="color: #336699; cursor: pointer;"><a href="https://github.com/beniz/libcmaes/commit/2e0f0595728058b6e3d4b24a476a566d9bbe9e29" class="message" title="added LGPLv3 license" target="_blank" style="color: #336699; text-decoration: none; cursor: pointer;" data-mce-href="https://github.com/beniz/libcmaes/commit/2e0f0595728058b6e3d4b24a476a566d9bbe9e29" data-mce-style="color: #336699; text-decoration: none; cursor: pointer;"></a></span></span></div><div style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;" data-mce-style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;">Anyway, thanks again for your advice. At least the global framework is cleaner. </div><div style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;" data-mce-style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;"><br></div><div style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;" data-mce-style="font-family: Helvetica, Arial, sans-serif; font-size: 16.3636360168457px; background-color: #fdfdfd;">Marie</div></div><div><br></div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div><br></div>-- <br>http://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org<br></div><div><br></div></div></body></html>