Description Usage Arguments Details Value Note Author(s) Examples
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")
|
lib.loc |
path to library where yags is installed, to allow access to include files |
cxx |
string encoding C++ compiler invocation |
A small C++ program is written to the file user\_wcor.cc,
compiled according to the value of cxx
, and
transformed to libu.so
by R SHLIB
.
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, stvjc@channing.harvard.edu
1 2 3 4 | ## Not run:
yags.make.libu()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.