[问题]biblioshiny无法出现画面

楼主: hhppp091043 (汪汪大头狗)   2021-08-09 15:40:16
[问题类型]:
程式咨询(我想用R 做某件事情,但是我不知道要怎么用R 写出来)
[软件熟悉度]:
新手(没写过程式,R 是我的第一次)
[问题叙述]:
各位前备好:
小女今日第1次使用R语言安装[bibliometrix]套件后,要执行[biblioshiny()]
网页是开启了,却一直显示
An error has occurred!
error sourcing C:\users\administrator\documents\R\win-library\4.1\biblioshiny/ni.R
[程式范例]
程式部份出现以下结果,跪求各位大师指导我哪里出了问题???
Listening on http://127.0.0.1:5889
Warning in parse(file, keep.source = FALSE, srcfile = src, encoding = enc) :
argument encoding="UTF-8" is ignored in MBCS locales
Error in parse(file, keep.source = FALSE, srcfile = src, encoding = enc) :
invalid multibyte character in parser at line 1923
Possible extra comma at:
238: verbatimTextOutput("sampleLog2", placeholder = FALSE),
^
Possible extra comma at:
254: verbatimTextOutput("pmSampleLog2", placeholder = FALSE),
^
Possible extra comma at:
2659: selected = "Yes"),
^
Warning: Error in sourceUTF8: Error sourcing C:\Users\Administrator\Documents\R\win-library\4.1\bibliometrix\biblioshiny/ui.R
[No stack trace available]
Warning in parse(file, keep.source = FALSE, srcfile = src, encoding = enc) :
argument encoding="UTF-8" is ignored in MBCS locales
Error in parse(file, keep.source = FALSE, srcfile = src, encoding = enc) :
invalid multibyte character in parser at line 1923
Possible extra comma at:
238: verbatimTextOutput("sampleLog2", placeholder = FALSE),
^
Possible extra comma at:
254: verbatimTextOutput("pmSampleLog2", placeholder = FALSE),
^
Possible extra comma at:
2659: selected = "Yes"),
^
Warning: Error in sourceUTF8: Error sourcing C:\Users\Administrator\Documents\R\win-library\4.1\bibliometrix\biblioshiny/ui.R
[No stack trace available]
作者: locka (locka)   2021-08-09 20:11:00
作业系统是mac吗?另外如果可以附上能重现错误的程式码会让大家更好帮助你^^只看错误讯息的话可能是某几行多打了逗号
楼主: hhppp091043 (汪汪大头狗)   2021-08-09 23:17:00
画面明天奉上 晚上用另一台电脑操作出现loading required package:shiny后完全没有其他反应了画面如下https://i.imgur.com/R7yJQDQ.jpg作业系统是windows 早上参考locka大大的说明将程式作业系统是windows 早上参考locka大大的说明将程式作业系统是windows 早上参考locka大大的说明将程式作业系统是windows 早上将程式修改了一下 再跑一次换成以下错误https://i.imgur.com/EuKHScu.jpg
作者: locka (locka)   2021-08-10 16:31:00
把ui.R里面1923行的千分比符号删掉应该就可以正常执行了https://imgur.com/fObPPm8成功执行画面如下https://imgur.com/d2oczSf

Links booklink

Contact Us: admin [ a t ] ucptt.com