Problem with loading compiled c code in R x64 using dyn.load

后端 未结 2 1120
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-02 18:04

I recently went from a 32bit laptop to a 64bit desktop (both win7). I just found out that I get an error now when loading dll\'s using dyn.load. I guess this is

2条回答
  •  Happy的楠姐
    2021-01-02 18:09

    My guess is that you are compiling it to a 32 bit target. You need to build it on your 64 bit machine with 64 bit tools. You can't load a 32 bit DLL into a 64 bit process, and vice versa.

提交回复
热议问题