如何创建R包并将其发布在 CRAN / GitHub 上--转载
转载--https://www.analyticsvidhya.com/blog/2017/03/create-packages-r-cran-github/什么是 R 包?我开始创建 R 包的原因是?创建包的好处和挑战必要条件开始创建你的第一个包发布包向CRAN 做贡献后的体验附加提示Additi...
rpy2(版本2.3.10)——从R包中导入数据到python中。
So I am trying to import some data from an R package into python in order to test some other python-rpy2 functions that I have written. In particular,...
R包——ggplot2(二)
关于ggplot包(二)关于ggplot包(二)标尺(Scale)从前面可以看到,画图其实就是在做映射,不管是映射到不同的几何对象上,还是映射各种图形属性。在对图形属性进行映射之后,使用标尺可以控制这些属性的显示方式,如坐标刻度,如颜色属性。> ggplot(small)+geom_point...
在Amazon Linux EC2实例上安装R软件包
I am learning to use RSelenium in an EC2 instance, and I found this handy guide on doing so - https://rpubs.com/grahamplace/rselenium-ec2 - however th...
在R中工作时分离所有的包
While working to solve another problem I got this problem: 在努力解决另一个问题时,我遇到了这个问题: I can remove all R objects by: 我可以通过: rm(list = ls(all = TRUE)) Is th...
在R中我可以用工作区保存加载的包吗?
R normally only saves objects in .GlobalEnv: R通常只保存.GlobalEnv中的对象: $ R> library(rjson)> fromJSONfunction (...) ...> q(save='yes')$ R> from...
R+NLP︱text2vec包——BOW词袋模型做监督式情感标注案例(二,情感标注)
要学的东西太多,无笔记不能学~~ 欢迎关注公众号,一起分享学习笔记,记录每一颗“贝壳”~———————————————————————————在之前的开篇提到了text2vec,笔者将其定义为R语言文本分析"No.1",她是一个文本分析的生态系统。笔者在学习之后发现开发者简直牛!基于分享精神,将自学...
在Mac OS X的R包Cairo中设置系统字体
Because of the issue raised in Using Unicode inside R's expression() command, I am switching to R on Mac OS X to create some plots. Using CairoPDF(), ...
如何在创建R包时包含jar文件?
I created a skeleton R package: 我创建了一个骨架R包: lib jarFileHere.jar R r_code_file.R The r_code_file.R tries to references a class file in jarFileHere.jar:...
无法在r中安装XML包
I'm trying to install "XML" package in r, but an error occurs. Please tell me what's wrong. 我正在尝试在r中安装“XML”包,但是会发生错误。请告诉我出了什么问题。 OS: OS X 10.11.6 R ve...
从github构建R包:如何禁用构建小插图?
I try to build fork of R package from github (this fork has a fresh bugfix). Unfortunatelly, the compilation fails on TeX being missed on my system wh...
R CMD安装——构建包——>“缺少简介”
Problem: C:\>Rcmd.exe INSTALL --build --library=C:/Users/local_aphalo/Documents/R/win-library/3.0 photobiology 问题:C:\ > Rcmd。exe安装—构建—library=C:...
尝试安装带有install_github的小片断时不能构建包[R]
By default when one is using install_github function from devtools package in R the vignettes of the installed package are not build. I've seen this q...
在构建包时,小插图是否在新的R会话中构建?
I have read Hadley guide to vignettes and I can't find any information about this. How are the vignettes build? My problem is that it seems that they ...
r3.4.2库中的错误(ggplot2):没有名为“ggplot2”的包
I'm new to R and I'm just trying to get through some tutorials. 我是R的新手,我只是想通过一些教程。 When I try installing ggplot2, I get this error. 当我尝试安装ggplot2时,我得到...
R包`bfast`错误:缺少需要TRUE / FALSE的值
I am using the R package bfast to detect any change point in a time series, and come across the following error. Is there any suggestion? Thanks a lot...
R skmeans包——这个错误来自哪里:“缺少TRUE/FALSE所需的值”
I tried to cluster my data in accordance with the manual provided by the skmeans packages's manual page 我试图根据skmeans package的手册页提供的手册来对我的数据进行分组 I star...
如何从windows上的源tarball安装一个R包?
The forecast package for R has been updated to version 2.12, but there are currently only windows binarys for 2.11 available on CRAN. R的预测包已经更新到2.12版本...
使用SSIS包将多个Excel文件导入SQL Server 2008 R2 ?
I have to insert data into two tables from two different excel sheets using SSIS packges. 我必须使用SSIS packges从两个不同的excel表中插入数据到两个表中。 So, please some one...
L2R 三:常用工具包介绍之 XGBoost与LightGBM
L2R最常用的包就是XGBoost 和LightGBM,xgboost因为其性能及快速处理能力,在机器学习比赛中成为常用的开源工具包, 2016年微软开源了旗下的lightgbm(插句题外话:微软的人真是够谦虚的,开源的包都是light前缀,公司更是micro),对标xgboost,在结果相差不大的...