| callAdhereR {AdhereR} | R Documentation |
callAdhereR.
Description
The function encapsulating all the logics that allows AdhereR to be called
from any platform using the generic shell mechanism.
Usage
callAdhereR(shared.data.directory)
Arguments
shared.data.directory |
A string containing the path to the
directory where all the exchanged (shared) data (both input and output) is.
|
Details
In most cases this should not be done directly by the user,
but instead used by an appropriate wrapper on the client platform.
It allows transparent use of AdhereR from virtually any platform or
programming language for which an appropriate wrapper is provided.
For more details see the vignette describing the included reference
Python 3 wrapper.
Value
This function displays any messages to the console, tries to also
write them to the Adherer-results.txt file in the
shared.data.directory directory, and, when finished, forces R
to quit with a given shell error code:
-
0The processing ended without major errors; -
1General error (hopefully there are messages in theAdherer-results.txtfile; -
10The directoryshared.data.directorydoes not exit; -
11AdhereRdoes not have read access to theshared.data.directorydirectory; -
12AdhereRdoes not have write access to theshared.data.directorydirectory; -
13issues with the parameters fileparameters.log; -
14issues with the data filedataset.csv; -
15plotting issues; -
16interactive plotting issues; -
17issues exporting the results.