Update load.r

fix: lib=dirname(inst) instead of lib=inst