R: for installing package 'RODBC'】的更多相关文章

Today, i try to install a package in R named 'DOBDC', while i meet a message: > install.packages('RODBC') package ‘RODBC’ is available as a source package but not as a binary 警告信息:package ‘RODBC’ is not available (for R version 3.1.2) Then, i opened…
The time i have tried to install the package named 'PODBC'  and it worked. But now i meet a problem with package named 'pmg' again. > install.packages('pmg',dep=T) package ‘pmg’ is available as a source package but not as a binary I choose 'package &am…
In the last years a lot of data has been released publicly in different formats, but sometimes the data we're interested in are still inside the HTML of a web page: let's see how to get those data. One of the existing packages for doing this job is t…
It has been possible for some years to launch a web map from within R. A number of packages for doing this are available, including: RgoogleMaps, an interface to the Google Maps api leafletR, an early package for creating Leaflet maps with R rCharts,…
最近准备做一个股票的数据库,用R语言来获取数据,然后存在SQL Sever 2016 express 里面,虽然前面接触过一些操作,但是还是很不熟悉,现在数据已经能获取到了,是时候好好学习一下怎么用R来操作数据库. RODBC基础(翻译自RODBC文档) 连接数据库 ###载入包 library(RODBC) ###新建一个连接 ch <- odbcConnect("some dsn") ###关闭连接 colse(ch) ###或者 odbcClose(ch)###如果有密码/…
http://www.sthda.com/english/wiki/create-and-format-word-documents-using-r-software-and-reporters-package Install and load the ReporteRs R package Create a simple Word document Add texts : title and paragraphs of texts Format the text of a Word docum…
目录 1. 更新R(不推荐) 2. 更改或指定镜像源 3.源码安装 安装R包时这个错误是经常见到的.我认为有几个方法可解决,记录之. 1. 更新R(不推荐) 简单粗暴的方法就是更新R,但这波及的范围太大了,不到万不得已不建议. 2. 更改或指定镜像源 出现这个问题很有可能是你现在用的镜像中未纳入这个包,一是可以多换个源试试.如: install.packages('package-name',repos='http://cran.us.r-project.org') 或,在Rstudio中可以:…
[怪毛匠子整理] 1.下载 wget http://mirror.bjtu.edu.cn/cran/src/base/R-3/R-3.0.1.tar.gz 2.解压: tar -zxvf R-3.0.1.tar.gz cd R-3.0.1 3.安装 yum install readline-devel yum install libXt-devel ./configure 如果使用rJava需要加上 --enable-R-shlib ./configure  --enable-R-shlib -…
测试环境:win10+RStudio 三个步骤:(1)创建ODBC数据源:(2)install.packages('RODBC') :(3)编写连接测试脚本 (1)创建ODBC数据源 控制面板->系统和安全->管理工具->ODBC数据源(64位)->系统DSN,点击添加按钮, 接着选择安装数据源驱动程序 SQL Server,点击完成 填写名称和服务器,名称用于R连接需要用到的database,比如这里填入myData, sqlserver的服务器名可以在登陆sqlserver的可…
https://www.r-project.org/ http://cos.name/2013/08/r-rjava-java/ http://blog.csdn.net/hwssg/article/details/39177959 目录 rJava介绍 rJava安装 rJava实现R调用Java rJava(JRI)实现Java调用R (win7) rJava(JRI)实现Java调用R (Ubuntu) 1. rJava介绍 rJava是一个R语言和Java语言的通信接口,通过底层JNI实…