我用R Markdown编写的Plotly交互式绘图在knitR上运行得很好。当我尝试在R的Presenter中运行它时,幻灯片上出现了一条错误消息: error in loadNamespace(name):there no package叫做'webshot‘
以前的R Markdown代码可以在Presenter中正常运行,但不能在打印中运行。
谢谢你的建议。
我已经以以下方式在R中安装了CHAID包:
安装了Rtools31.exe
从源安装包:install.packages("CHAID", repos = "http://R-Forge.R-project.org", type = "source")
当我试图查看CHAID的帮助文档时,我运行:?CHAID(),将出现以下错误消息:
"Error in .helpForCall(topicExpr, parent.frame()) :
no methods for ‘chaid’ and no documentat
我已经在我的Ubuntu (18.04)系统中安装了R,当我试图安装一个软件包时,我会收到以下消息(例如,在尝试安装dplyr包时):
> install.packages('dplyr')
Installing package into ‘/home/giwrikas/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository https://cloud.r-project.org/src/contrib:
ca
我在Mac雪豹系统中通过终端运行R。
在尝试使用View(时,我会得到以下错误消息:
.External2中的错误(C_dataviewer,x,标题):无效设备:警告消息: 1: in View(a):locale不受Xlib支持:一些X操作将在C语言环境2中运行: In View(a):x不能设置地区修饰符3: In View(a):无法创建方框集
在尝试使用edit()时,出现此错误消息。
.External2中的错误(C_dataentry,datalist,模式):无效设备:警告消息: 1:在edit.data.frame(a)中:不受Xlib支持的区域设置:某些X操作将在
如何查找函数的帮助手册页面并在R中指定包?例如,计数出现在seqinr和plyr中。如果我想在plyr中查找计数,命令是什么?我尝试过一些明显(但错误)的猜测,比如"?plyr::count“
编辑:当我做?计数时,我收到以下消息:
Help on topic 'count' was found in the following packages:
Package Library
plyr /Library/Frameworks/R.framework/Versions/2.15/Resources
我正在阅读“深度学习与R (https://livebook.manning.com/book/deep-learning-with-r/chapter-5/112)”一书的第五章。 运行以下代码时,出现以下错误:Error in py_iter_next(it, completed) : ImportError: Could not import PIL.Image. The use of load_img requires PIL. 有关此错误消息的所有答案都建议使用pip install pillow。当我在我的终端中运行此命令时,会出现以下内容: Requirement alread
当我试图使用pip安装库时,有时会出现这样的错误消息。
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
当我试图使用V2构建多个映像时,会出现此错误。
我所做的:
pip install
我正在尝试摆脱以下错误消息。
patch-package 6.2.2
Applying patches...
Error: Patch file found for package mongodb-query-parser which is not present at node_modules/mongodb-query-parser
此消息在我尝试安装mongo-express时出现。在本地,这是没有问题的,因为在出现错误消息之后,npm install会继续运行。
但是当我尝试在gitlab-pipeline上运行它时,它退出了作业。
有什么变通方法吗?
我在Windows8上运行R3.2.2。在安装了R软件包之后,rattle和rpart.plot在RStudio中出现了一条错误消息,支持在一个单独的面板中。
Rterm.exe - System Error.
The program can't start because libatk-1.0-0.dll is missing from your computer.
Try reinstalling the program to fix this problem.
有没有人知道这意味着什么,以及如何解决这个问题?
我的R脚本在Windows7上的RStudio (0.98.1091版)中运行良好。然后我重启笔记本电脑,再次进入RStudio,现在每次我想执行代码时,它都会提供以下错误消息:
cl <- makeCluster(mc); # build the cluster
Error: could not find function "makeCluster"
> registerDoParallel(cl)
Error: could not find function "registerDoParallel"
> fileIdndexes <-
我已经做了一个闪亮的应用程序,它在windows上运行得很好,但当我尝试在我的ubuntu系统上运行同样的应用程序时,应用程序突然出现了,我得到了以下错误
Loading required package: TTR
Version 0.4-0 included new data defaults. See ?getSymbols.
Error in library(rstudio) : there is no package called ‘rstudio’
在此之后,我尝试安装'rstudio‘包,并收到以下消息:
Warning in install.packages :
pac
我有一份我刚织完的减价文件。该文件正在讨论我在一个数据分析课程的R项目中所做的工作。在我的报告中的编织之后,我收到了很多错误消息,但是这段代码在我在r项目中工作时都是工作过的。举个例子。错误出现在末尾。
清理和过滤步骤1: heartrate_data heartrate_data是一个非常大的数据集,所以我只过滤“heartrate_data”以包含user_6的数据
heartrate_data <- filter(heartrate_data, Id == "2022484408")
and then filter for date
heartrate_data
尝试通过Spyder 5.0.3运行pip时出现错误
我最近在我的机器上安装了来自的Spyder5.0.3
当我尝试在Spyder中的IPython上执行"pip --version“时,我得到了以下错误消息:
Note: you may need to restart the kernel to use updated packages.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
我如何修复这个问题,以便在IPyt
我正在尝试并行化一个外循环,同时按顺序运行内循环。当使用doSMP包时,下面的代码可以在旋转中工作,但是当使用foreach和doParallel包(在Windows机上都是R版本)时,它不能在base R中工作。错误消息是:could not find function "%do%"。有什么办法解决这个问题吗?
foreach(j = X, .combine = c) %dopar% {
Z=1
foreach(i = Y, .combine = c) %do% {
paste(j, i, Z, sep = "")
我只是下载了一个名为sqldf的R包,只是为了好玩,但到目前为止还不能正确运行它。当我尝试使用iris数据集执行一些查询时:
sqldf("select * from iris limit 5")
出现错误,声明为Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (Failed to connect to database: Error: Access denied for user 'myUserName'@'localhost' (using password: NO) ) E
当我在R中得到这个错误消息时,我试图运行一个多级回归模型。
Error in initializePtr() :
function 'Rcpp_precious_remove' not provided by package 'Rcpp'
在我运行回归模型之前,这种情况直到今天才开始发生。我尝试过重新安装r,但是错误仍然存在。我正在处理一个包含300000个观测和80个变量的大型数据集。