You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.13 19:58:35