{"id":21602485,"url":"https://github.com/ff6347/tobii-eyetracker-r","last_synced_at":"2025-04-11T02:33:10.136Z","repository":{"id":137796889,"uuid":"19500009","full_name":"ff6347/tobii-Eyetracker-R","owner":"ff6347","description":"reading data from the tobii eyetracker with R used @FH-Potsdam","archived":false,"fork":false,"pushed_at":"2024-03-02T11:09:30.000Z","size":378,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T23:51:35.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ff6347.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-06T15:38:42.000Z","updated_at":"2023-10-08T01:08:06.000Z","dependencies_parsed_at":"2024-06-11T19:11:27.975Z","dependency_job_id":"e1814c8b-e906-4235-946d-2e38bc025b14","html_url":"https://github.com/ff6347/tobii-Eyetracker-R","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ff6347%2Ftobii-Eyetracker-R","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ff6347%2Ftobii-Eyetracker-R/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ff6347%2Ftobii-Eyetracker-R/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ff6347%2Ftobii-Eyetracker-R/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ff6347","download_url":"https://codeload.github.com/ff6347/tobii-Eyetracker-R/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248329779,"owners_count":21085601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T19:13:33.678Z","updated_at":"2025-04-11T02:33:10.119Z","avatar_url":"https://github.com/ff6347.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tobii Eyetracker in R\n=====================\n\nJust a small test to plot the data exported by the tobii eyetracker in R\n\n- Go to [r-project.org/](http://www.r-project.org/)  \n- download and install R for your OS from one of the servers  \n\n##Mac OSX  \n\nOpen a Terminal window and enter the follwing code (This creates an R envoirment file in your home directory)  \n\n    echo \"R_LIBS=/Users/$HOME/rLibrary\" \u003e $HOME/.Renviron\n\nCreates a folder called \"rLibrary\" in your homefolder. All installed libraries will go there. Type:  \n\n    mkdir ~/rLibrary  \n\n###Start R.app from your Applications folder  \nin the R console. Check your current working directory by entering:  \n\n    getwd()  \n\nThe result should point to your home folder.  \n\n####Set your working directory to somewhere where you can remember.\ne.g the Desktop or whereever you cloned this repo.  \n\n    setwd(\"/Users/[YOUR USER NAME]/Desktop/tobii-Eyetracker-R\")  \n\nNow you can place files in there and read them with R.  \n\nOpen the eyetracker.R with the R.app.  \nSelect the lines you want to execute  \n\nselect:  \n\n    data \u003c- read.table(\"tobii-CSVExport-All-Data-noheader-nofilter.tsv\",sep=\"\\t\", header=TRUE)\n    # plot(data$GazePointX,data$GazePointY, main=\"eyetracker\", sub=\"\",xlab=\"X-axis GazePointX\", ylab=\"GazePointY\", ylim=c(1024,0), xlim=c(0,1280))\n    # png(filename=\"out.png\", width = 1280, height = 1024,)\n    par(bg = 'black')\n    plot(data$GazePointX,data$GazePointY, sub=\"\", xlab=\"\", ylab=\"\",axes=FALSE, ylim=c(1024,0), xlim=c(0,1280),col=\"black\")\n    points(data$GazePointX,data$GazePointY, col = \"green\", cex = .6)\n    lines(data$GazePointX,data$GazePointY, col = \"white\")\n\nhit cmd + enter. This should open a window with your plot that looks like this:  \n\n![out.png](out.png)  \n\nCopyright (c)  2014 Fabian \"fabiantheblind\" Morón Zirfas  \nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software  without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to  permit persons to whom the Software is furnished to do so, subject to the following conditions:  \nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  \nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF  CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  \n\nsee also http://www.opensource.org/licenses/mit-license.php\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fff6347%2Ftobii-eyetracker-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fff6347%2Ftobii-eyetracker-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fff6347%2Ftobii-eyetracker-r/lists"}