Defaults to c:/Program Files (x86)/SR Research/EyeLink/Includes/eyelink. Specifically, the package requires edf.h, edf_data.h, and edftypes.h. EDFAPI_INC : path to C header files necessary for compilation.However, you should specify this variable explicitly if 64-libraries are in a non-standard folder (or SR Research changed it, or you just want to be sure). This variable is optional, as the package will try to guess this by itself by appending /圆4 to EDFAPI_LIB path. By default, the 64-bit library is in 圆4 subfolder, i.e., c:/Program Files (x86)/SR Research/EyeLink/libs/圆4. EDFAPI_LIB64 (optional): path to edfapi64.dll for 64-bit systems.Defaults to c:/Program Files (x86)/SR Research/EyeLink/libs. EDFAPI_LIB : path to edfapi.dll for 32-bit systems. ![]() Windowsĭefault values assume that the EyeLink Developers Kit is installed in c:/Program Files (x86)/SR Research/EyeLink (default installation path). Once you define the variables, restart session and check them by typing Sys.getenv() (to see all variables) or Sys.getenv("EDFAPI_INC") to check a specific one. ![]() backward slashes as R will normalize strings for you. Note that in the case of Windows, you do not need to worry about forward vs. Type usethis::edit_r_environ() for user and usethis::edit_r_environ('project') for projects environments (note that the latter shadows the former, read documentation for details). The simplest way to edit it is via usethis library and edit_r_environ() function. These variables must be defined either in user or project. If compilation with default paths fails, you need to define R environment variables as described below. However, these defaults may change in the future or you may wish to install the library to a non-standard location (relevant primarily for Windows). The package will try to compile using sensible defaults for each platform, i.e., default installation paths for EyeLink Developers Kit v2.1.1. Specifically, it needs to specify paths to include header files ( edf.h, edf_data.h, and edftypes.h) and to the library itself. The package needs to configure compiler flags for its dependency on EDF API library. The forum thread should be under SR Support Forum › Downloads › EyeLink Developers Kit / API › Download: EyeLink Developers Kit / API Downloads (Windows, macOS, Linux). Here’s how to use Windows 10 Connect app to cast your Android device’s display wireless to your PC. Next, follow instructions to install EyeLink Developers Kit for your platform. Windows 10 Connect App: How To Cast Android Display Wirelessly To Your PC. Note that you need to register and wait for your account to be activated. The EyeLink Developers Kit can be downloaded from website. Therefore, read_edf() function will not work without it but you will still be able to use utility functions. This package relies on edfapi library that is as part of the EyeLink Developers Kit. Install SR Research EyeLink Developers Kit ![]() The library installation involves three easy (famous last words) steps. These instructions are also available as a vignette. It includes options to import events and/or recorded samples and extract individual events such as saccades, fixations, blinks, and recorded variables. R package to import eye tracking recording generated by SR Research EyeLink eye tracker from EDF-files.
0 Comments
Leave a Reply. |