dyn.load
or library.dynam
.R CMD SHLIB [options] [-o dllname] files
-d
to build a debug DLL.
#endifINSTALL
to
compile source code in packages. It will generate suitable
compilation commands for C, C++, Objective C(++) and Fortran sources: Fortran
90/95 sources can also be used but it may not be possible to mix these
with other languages (on most platforms it is possible to mix with C,
but mixing with C++ rarely works). Please consult section cpp
flags and to add libraries to the link step) and for
details of some of its quirks.
Items in files
with extensions
Objective C(++) support is optional when Rwas configured: their main usage is on OS X.
Note that the appropriate run-time libraries will be used when linking if C++, Fortran or Objective C(++) sources are supplied, but not for compiled object files from these languages.
Option (also known as ) will show the commands that would be run without actually executing them. #ifdef windows
If there is an exports file
COMPILE
,
#endif
dyn.load
, library.dynam
. The
# To link against a library not on the system library paths:
Rcmd SHLIB -o my.dll a.f b.f -L/AMD/acml3.5.0/gnu32/lib -lacml
Run the code above in your browser using DataLab