create libu.so in current working directory
THIS IS ONLY A POTENTIAL FUNCTIONALITY – IF YOU NEED TO USE IT CONTACT VJ CAREY –
creates a trivial C++ file to allow dynamic loading to succeed and as a template for C++ extensions to the working correlation model repertory of yags
1 2 3
# NOT FUNCTIONING UNLESS EXPERIMENTAL_USERCOR defined in C++ # IGNORE UNLESS YOU REALLY KNOW THE SOURCE CODE yags.make.libu(lib.loc=.lib.loc, cxx="g++ -c")
path to library where yags is installed, to allow access to include files
string encoding C++ compiler invocation
A small C++ program is written to the file user\_wcor.cc,
compiled according to the value of
The program can be modified and relinked to specify
calculations of working correlation models selectable through
corstruc="user" in yags.
Nothing returned, all side-effects. You must typically exit R, reset LD\_LIBRARY\_PATH, and restart in order for yags to work.
This approach is dependent on a fairly obsolete approach (MC++) to matrix computations in C++. The next version is likely to be based on the .Call interface, and high-performance user-written extensions will follow R rather than MC++ protocols.
VJ Carey, email@example.com
1 2 3 4
## Not run: yags.make.libu() ## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.