| Line 221... |
Line 221... |
| 221 |
the value of \code{DLLpath} in second place, and removes the current
|
221 |
the value of \code{DLLpath} in second place, and removes the current
|
| 222 |
directory, for the duration of that \code{dyn.load} call. (Note that
|
222 |
directory, for the duration of that \code{dyn.load} call. (Note that
|
| 223 |
only one directory can be inserted in this way.)
|
223 |
only one directory can be inserted in this way.)
|
| 224 |
|
224 |
|
| 225 |
Users have been confused by messages like
|
225 |
Users have been confused by messages like
|
| 226 |
\preformatted{
|
226 |
\preformatted{
|
| 227 |
error: unable to load shared object
|
227 |
error: unable to load shared object
|
| 228 |
'.../library/rJava/libs/x64/rJava.dll':
|
228 |
'.../library/rJava/libs/x64/rJava.dll':
|
| 229 |
LoadLibrary failure: The specified module could not be found.
|
229 |
LoadLibrary failure: The specified module could not be found.
|
| 230 |
}
|
230 |
}
|
| 231 |
The final line is a Windows (not \R) diagnostic: the \sQuote{module}
|
231 |
The final line is a Windows (not \R) diagnostic: the \sQuote{module}
|
| 232 |
that could not be found is not \file{rJava.dll} but something else
|
232 |
that could not be found is not \file{rJava.dll} but something else
|
| 233 |
Windows is looking for (here most likely Java DLLs): if you are lucky
|
233 |
Windows is looking for (here most likely Java DLLs): if you are lucky
|
| 234 |
there will be a dialog box with more details.
|
234 |
there will be a dialog box with more details.
|
| 235 |
}
|
235 |
}
|
| 236 |
#endif
|
236 |
#endif
|
| 237 |
\section{Warning}{
|
237 |
\section{Warning}{
|
| 238 |
Do not use \code{dyn.unload} on a DLL loaded by
|
238 |
Do not use \code{dyn.unload} on a DLL loaded by
|
| 239 |
\code{\link{library.dynam}}: use \code{\link{library.dynam.unload}}.
|
239 |
\code{\link{library.dynam}}: use \code{\link{library.dynam.unload}}.
|