Modify READMEs for R installation (#63)

* Update repo from which RODBCext is found

* Add tar.gz for linux

* fix READMEs for RODBCext

* remove titling

* add extra space
This commit is contained in:
Jonathan Zhu 2020-04-07 11:34:37 -07:00 коммит произвёл GitHub
Родитель d5f8f80d69
Коммит 4a082eafdf
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 25 добавлений и 3 удалений

Просмотреть файл

@ -4,9 +4,10 @@ sqlmlutils is an R package to help execute R code on a SQL database (SQL Server
# Installation
### Windows
From command prompt, run
```
R.exe -e "install.packages('RODBCext', repos='https://cran.microsoft.com')"
R.exe -e "install.packages('RODBCext', repos='https://mran.microsoft.com/snapshot/2019-02-01/')"
R.exe CMD INSTALL dist/sqlmlutils_0.7.1.zip
```
OR
@ -15,6 +16,12 @@ To build a new package file and install, run
.\buildandinstall.cmd
```
### Linux
```
R.exe -e "install.packages('RODBCext', repos='https://mran.microsoft.com/snapshot/2019-02-01/')"
R.exe CMD INSTALL dist/sqlmlutils_0.7.1.tar.gz
```
# Getting started
Shown below are the important functions sqlmlutils provides:

Просмотреть файл

@ -23,9 +23,24 @@ pip install Python/dist/sqlmlutils-1.0.0.zip
```
R:
Windows:
From command prompt, run
```
R -e "install.packages('RODBCext', repos='https://cran.microsoft.com')"
R CMD INSTALL R/dist/sqlmlutils_0.7.1.zip
R.exe -e "install.packages('RODBCext', repos='https://mran.microsoft.com/snapshot/2019-02-01/')"
R.exe CMD INSTALL dist/sqlmlutils_0.7.1.zip
```
OR
To build a new package file and install, run
```
.\buildandinstall.cmd
```
Linux
```
R.exe -e "install.packages('RODBCext', repos='https://mran.microsoft.com/snapshot/2019-02-01/')"
R.exe CMD INSTALL dist/sqlmlutils_0.7.1.tar.gz
```
# Details