jashubbard / edfR

an R package for importing EDF files from Eyelink eyetrackers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

edf.plot does not work on its own

silberzwiebel opened this issue · comments

Hi there,
thanks for this package!

I think I found a bug, but maybe I just missed something.

I wanted to use edf.plotwithout loading an edf-file before and used this command:

> edf.plot('s10.edf')
Reading Events from s10.edf ...Success! (43643 events)
Fehler in basename(f) : Objekt 'f' nicht gefunden

I do not see a plot. The error translates to error in basename(f): Object 'f' not found
If I load the edf file like the following I see a plot:


> e = edf.events('s10.edf')
Reading Events from s10.edf ...Success! (43643 events)
> edf.plot(NULL, e)

Good catch. Just a small typo in the code. It should be working now.
Thanks!

Works fine now, thank you!