The R Project SVN R

Rev

Rev 60567 | Rev 67599 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 60567 Rev 61433
Line 28... Line 28...
28
    The character string specifies the file name of the DLL
28
    The character string specifies the file name of the DLL
29
    of interest, and is given without the file name extension (e.g., the
29
    of interest, and is given without the file name extension (e.g., the
30
    \file{.dll} or \file{.so}) and with no directory/path information.
30
    \file{.dll} or \file{.so}) and with no directory/path information.
31
    So a file \file{MyPackage/libs/MyPackage.so} would be specified as
31
    So a file \file{MyPackage/libs/MyPackage.so} would be specified as
32
    \samp{MyPackage}.
32
    \samp{MyPackage}.
33
    
33
 
34
    The \code{DLLInfo} objects can be obtained directly
34
    The \code{DLLInfo} objects can be obtained directly
35
    in calls to \code{\link{dyn.load}} and  \code{\link{library.dynam}},
35
    in calls to \code{\link{dyn.load}} and  \code{\link{library.dynam}},
36
    or can be found after the DLL has been loaded using
36
    or can be found after the DLL has been loaded using
37
    \code{\link{getLoadedDLLs}}, which returns a list of
37
    \code{\link{getLoadedDLLs}}, which returns a list of
38
    \code{DLLInfo} objects (index-able by DLL file name).
38
    \code{DLLInfo} objects (index-able by DLL file name).
Line 61... Line 61...
61
  A list of class \code{"DLLRegisteredRoutines"} with four elements
61
  A list of class \code{"DLLRegisteredRoutines"} with four elements
62
  corresponding to the routines registered for the \code{.C},
62
  corresponding to the routines registered for the \code{.C},
63
  \code{.Call}, \code{.Fortran} and \code{.External} interfaces. Each is
63
  \code{.Call}, \code{.Fortran} and \code{.External} interfaces. Each is
64
  a list with as many elements as there were routines registered for
64
  a list with as many elements as there were routines registered for
65
  that interface.
65
  that interface.
66
  
66
 
67
  Each element identifies a routine and is an object
67
  Each element identifies a routine and is an object
68
  of class \code{"NativeSymbolInfo"}.
68
  of class \code{"NativeSymbolInfo"}.
69
  An object of this class has the following fields:
69
  An object of this class has the following fields:
70
  \item{name}{the registered name of the routine (not necessarily the
70
  \item{name}{the registered name of the routine (not necessarily the
71
    name in the C code).}
71
    name in the C code).}
Line 79... Line 79...
79
    the types of the parameters also.
79
    the types of the parameters also.
80
  }
80
  }
81
}
81
}
82
\references{
82
\references{
83
  \sQuote{Writing R Extensions Manual} for symbol registration.
83
  \sQuote{Writing R Extensions Manual} for symbol registration.
84
  
84
 
85
  R News, Volume 1/3, September 2001.   "In search of C/C++ & Fortran Symbols"
85
  R News, Volume 1/3, September 2001.   "In search of C/C++ & Fortran Symbols"
86
}
86
}
87
\author{Duncan Temple Lang \email{duncan@wald.ucdavis.edu}}
87
\author{Duncan Temple Lang \email{duncan@wald.ucdavis.edu}}
88
 
88
 
89
\seealso{
89
\seealso{