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

R Studio连接Jamovi读取数据报错及参数问题求助

Troubleshooting Jamovi-R Studio Data Connection Issues

Problem 1: jmvconnect::read(1) returns "No such file or directory"

You can view the file index/name via jmvconnect::what(), but reading via index fails. Try these fixes:

  • Confirm Jamovi is running and the target .omv file is open in Jamovi when executing read()
  • Replace the index with the exact file name (including .omv extension) instead:
    Data <- jmvconnect::read("your_file_name.omv")
    
  • Check file path permissions: ensure R Studio has access to the directory where the .omv file is stored (avoid network drives if possible, test with a local file first)
  • Restart both R Studio and Jamovi, then re-run jmvconnect::what() to refresh the file list before calling read()

Problem 2: read_omv() throws "unused argument" error

The error occurs because you're using the wrong argument name. The correct parameter for the file path is file, not fileInp. Use this corrected syntax:

Data <- read_omv(file = "xxxx full path to .omv file",
                 rmMsVl = TRUE,
                 sveAtt = TRUE,
                 getSyn = TRUE)

Additional notes for this method:

  • On Windows, use forward slashes (/) or escaped backslashes (\\) in the file path (e.g., "C:/Users/Name/Documents/file.omv" or "C:\\Users\\Name\\Documents\\file.omv")
  • Verify the file path is accurate by pasting it into File Explorer (Windows) or Finder (Mac) to ensure the file exists

General Tips

  • Update all relevant packages to their latest versions:
    update.packages(c("jmvcore", "jmv", "jmvconnect", "jmvReadWrite"))
    
  • Confirm the .omv file isn't corrupted by opening it directly in Jamovi—if it loads without issues, the problem is likely with the R connection, not the file itself

内容的提问来源于stack exchange,提问作者LGF

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.16 00:04:50