RQDA 批处理文件导入不起作用 [英] RQDA batch file import not working

查看:44
本文介绍了RQDA 批处理文件导入不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将多个文件导入 RQDA,如下所示:

I am trying to import multiple files into RQDA like this:

#install.packages("RQDA")
library(RQDA)
#import list of files into program
files<-list.files("C:\\Users\\blah\\Desktop\\SNA_R_Class_code\\Texts")
RQDA()
setwd("C:\\Users\\blah\\Desktop\\SNA_R_Class_code")
openProject("me_classify_class_texts.rqda") #this is a completely empty project I just created
write.FileList(files)

当我查看 RDQA GUI 时,它显示没有项目打开,我在 RStudio 控制台中收到以下消息:NA 存在于数据库中!

When I look at the RDQA GUI it shows no project open, I get the following message in RStudio console: NA exists in the database!

当我手动启动 RQDA 并打开一个项目时,运行上面代码的最后一行,我得到了相同的结果.

When I manually start RQDA and open a project the run the final line of the code above I get the same result.

不过,我可以通过 RQDA GUI 导入文件.我的命令有什么问题?

I can import files through the RQDA GUI fine however. What am I doing wrong with the command?

推荐答案

我需要为每个文件设置不同的文件标题,然后才能正确导入

I needed to set a different file title for every file before it would import correctly

这篇关于RQDA 批处理文件导入不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆