Repository navigation
nwcommands 3.13.0
The native plugins can be compiled on the user's own computer.
Added
nwinstall, buildplugin(...)compiles the native plugins on the computer that needs them.buildplugin(nwcommands),buildplugin(nwsaom),buildplugin(nwergm),buildplugin(nwdynam)orbuildplugin(all)fetches the C source from the repositories (buildfrom()reads a local copy,release()a tagged release), compiles it with the compiler of the computer (macOS and Linux; a C compiler andmakeare needed) and installs the plugin wherenet installputs it, keeping an existing file as.prev. It is the fallback for a platform whose shipped plugin is missing, older than the.adofiles or does not load. Tested on macOS (Apple silicon, Stata 17); on Windows the command stops with a message. Testtest_buildplugin.do.- The C source of the core plugin and of the viewer launcher ships with the starter package (
native/*, listed innwcommands.pkgand_pkg_boot.txtas ancillary files):net get nwcommands, from(https://nwcommands.org/net/)copies it, together with a build note (nwgraph_native_readme.txt).net installstill installs the compiled plugins only. The model packages ship their source the same way.