From p@uljohn32 @ending from gm@il@com  Fri Oct  5 10:15:36 2018
From: p@uljohn32 @ending from gm@il@com (Paul Johnson)
Date: Fri, 5 Oct 2018 03:15:36 -0500
Subject: [Rd] unable to load shared object
In-Reply-To: <CAAjnpdihqgoCc=o9ObhQd+TQudvJ7RosTA-3YvT=Jm=om+jjFg@mail.gmail.com>
References: <CAAjnpdg3+ZASotVACBNAwj-vHuptEEUHAvHb5uJ0yhtVxaXMHw@mail.gmail.com>
 <CAErODj9HMDaOxp3VKgHhxaV2ZB9rR3T0=Zm-V5D_ihjeH-aZxA@mail.gmail.com>
 <CAAjnpdihqgoCc=o9ObhQd+TQudvJ7RosTA-3YvT=Jm=om+jjFg@mail.gmail.com>
Message-ID: <CAErODj-NDwc6fxrAYo1QHni2qaWunM9kuus6rR-MOW87AKEDMw@mail.gmail.com>

Hm. I cannot find it now, but I saw notes about problems with Onedrive,
maybe also Dropbox, because file paths are not exactly what r expects.
Usually I have package library as local folder. Did your R choose that
location automatically?

Paul Johnson
University of Kansas

On Fri, Oct 5, 2018, 3:01 AM Witold E Wolski <wewolski at gmail.com> wrote:

> Thanks for asking.
>
> The path where R tries to load the dll from does not exist I think (or
> the install process deletes it after the error - might this be the
> case?):
> C:/Users/wewol/OneDrive/Documents/R/win-library/3.5/grpc/libs/x64/grpc.dll'
>
> When I am checking after the error that path is only valid up to:
> C:/Users/wewol/OneDrive/Documents/R/win-library/3.5/
>
> So maybe (?) the install process wrongly assums that the package is
> installed (but it never was) and than it executes
> ** testing if installed package can be loaded
>
> To run into the error.
>
> Error: package or namespace load failed for 'grpc' in inDL(x,
> as.logical(local), as.logical(now), ...):
>  unable to load shared object
>
> 'C:/Users/wewol/OneDrive/Documents/R/win-library/3.5/grpc/libs/x64/grpc.dll':
>   LoadLibrary failure:  The specified module could not be found.
> On Fri, 5 Oct 2018 at 09:37, Paul Johnson <pauljohn32 at gmail.com> wrote:
> >
> > Greetings.
> > Is it possible that Onedrive is causing trouble? Do other packages you
> build and install work well from that directory?
> >
> > Paul Johnson
> > University of Kansas
> >
> > On Wed, Oct 3, 2018, 3:13 AM Witold E Wolski <wewolski at gmail.com> wrote:
> >>
> >> Hello,
> >>
> >> I am trying to install a package with some src files on windows (linux
> >> install works fine). The sources seem to build, there is an *.dll in
> >> the src folder but than the installation process fails with:
> >>
> >> ```
> >> ** testing if installed package can be loaded
> >> Error: package or namespace load failed for 'grpc' in inDL(x,
> >> as.logical(local), as.logical(now), ...):
> >>  unable to load shared object
> >>
> 'C:/Users/wewol/OneDrive/Documents/R/win-library/3.5/grpc/libs/x64/grpc.dll':
> >>   LoadLibrary failure:  The specified module could not be found.
> >>
> >> Error: loading failed
> >> Execution halted
> >> ```
> >>
> >> Do I need to point the installer to the *.dll in the src directory by
> >> creating some special function (e.g. dyn.load) or creating some
> >> special file?
> >>
> >> Help would be greatly appreciated:
> >>
> >> The packages sources are here:
> >> https://github.com/wolski/grpc-1
> >>
> >> Witek
> >>
> >>
> >> --
> >> Witold Eryk Wolski
> >>
> >> ______________________________________________
> >> R-devel at r-project.org mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>
> --
> Witold Eryk Wolski
>

	[[alternative HTML version deleted]]



[Rd] unable to load shared object
Paul Johnson