在R 4.2.1中使用Gazepath进行眼动数据分析失败求助
Gazepath 1.3 GUI在R 4.2.1中运行异常
- 环境:R 4.2.1,使用Gazepath 1.3 GUI(一款眼动数据分析软件)分析两个CSV数据文件
- 运行现象:可成功安装并加载Gazepath GUI,弹出的分析进度窗口很快消失,随后程序陷入无限循环
以下是R中输出的错误信息:
> library(gazepath) The legacy packages maptools, rgdal, and rgeos, underpinning the sp package, which was just loaded, will retire in October 2023. Please refer to R-spatial evolution reports for details, especially https://r-spatial.org/r/2023/05/15/evolution4.html. It may be desirable to make the sf package available; package maintainers should consider adding sf to Suggests: The sp package is now running under evolution status 2 (status 2 uses the sf package in place of rgdal) Warning message: package ‘gazepath’ was built under R version 4.2.3 > GUI() Loading required package: shiny Warning: package ‘shiny’ was built under R version 4.2.3 Listening on http://127.0.0.1:5287 Warning: package ‘jpeg’ was built under R version 4.2.2 Warning: package ‘scales’ was built under R version 4.2.2 Warning in rle(as.numeric(data[, trial])) : NAs introduced by coercion Warning in rle(as.numeric(data[, trial])) : NAs introduced by coercion Warning in rle(as.numeric(data[, trial])) : NAs introduced by coercion Warning in gazepath(data = dataInput()[[i]], x1 = input$nameX, y1 = input$nameY, : The trial index in the data frame was not unique, therefore trials are renamed to be unique and the old trial indx is stored in the data as TRIAL_OLD Warning: Error in +: non-numeric argument to binary operator 150: by 149: gazepath 145: eventReactiveValueFunc [C:\Users\AppData\Local\R\win-library\4.2\gazepath\shiny\gpApp/server.R#149] 101: gazepathInput 98: renderTable [C:\Users\AppData\Local\R\win-library\4.2\gazepath\shiny\gpApp/server.R#174] 97: func 84: renderFunc 83: output$data 2: shiny::runApp 1: GUI
- 已尝试方案:曾使用之前能正常运行Gazepath的旧版R,但在R 3.6.3中仍无法安装并加载Gazepath包
内容的提问来源于stack exchange,提问作者Chaeyeon Lim
相关产品推荐
相关产品推荐

