mhtess / rwebppl

RWebPPL, an R interface to Webppl http://webppl.org
22 stars 7 forks source link

Expose link_webppl() function #31

Closed hawkrobe closed 8 years ago

hawkrobe commented 8 years ago

There's a potentially messy situation where

  1. a user installs webppl by attaching the rwebppl package, so that it's stored in the package directory
  2. they later decide that webppl is super useful and want to run bigger models on the command line so they run npm install -g webppl

In this case, they'll have separate installations for rwebppl and command-line webppl which could lead to some headaches (e.g. if they upgrade one, it won't upgrade the other...) One solution is to expose the link_webppl() function so that the user can replace the installation within rwebppl with a symlink to their global install.