chen zehao zehaochenlehmancom thanks prof ripley prompt reply interesting thing compile wrappers stand alone console programs actually runs well traced calling chain locates r_homebinrlapackdll r_homemoduleslapackdll path crbin r_home cr setup running wrapper within excel experiences problem eigen solve functions unless explicity specify linpackt best regards zehao original message prof brian ripley mailtoripleystatsoxacuk sent thursday august 07 2008 218 pm chen zehao cc rhelprprojectorg subject r lapackdll excel r 270 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 message intended personal confidential use designated recipients named intended recipient message hereby notified review dissemination distribution copying message strictly prohibited communication information purposes regarded offer sell solicitation offer buy financial product official confirmation transaction official statement lehman brothers email transmission guaranteed secure errorfree therefore represent information complete accurate relied upon information subject change without notice irs circular 230 disclosure please advised discussion us tax matters contained within communication including attachments intended written used used purpose avoiding us tax related penalties ii promoting marketing recommending another party transaction matter addressed herein ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code thu 07 aug 2008 143438 0400 r lapackdll excel r 270