prof brian ripley ripleystatsoxacuk thu 7 aug 2008 chen zehao wrote hello building r addin excel able build rdll export rdlllib wrap excel addin xll format basic functions work fine within excel except functions use lapack eg eigen solve etc use solve linpack thats fine apparently problem loading shared library moduleslapackdll read one earlier threads issue likely finding rlapackdll rexcel r earlier 171 sure anyone seen similar problem yes answer ensure rhomebin directory path dont need r directory containing application one places searched dlls documented writing r extensions right section calling rdll directly thanks advance best regards zehao brian ripley ripleystatsoxacuk professor applied statistics httpwwwstatsoxacukripley university oxford tel 44 1865 272861 self 1 south parks road 44 1865 272866 pa oxford ox1 3tg uk fax 44 1865 272595 ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code thu 07 aug 2008 191827 0100 r lapackdll excel r 270