Skip to content

Commit

Permalink
Modify READMEs for R installation (#63)
Browse files Browse the repository at this point in the history
* Update repo from which RODBCext is found

* Add tar.gz for linux

* fix READMEs for RODBCext

* remove titling

* add extra space
  • Loading branch information
JonathanZhu11 authored Apr 7, 2020
1 parent d5f8f80 commit 4a082ea
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
9 changes: 8 additions & 1 deletion R/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,24 @@ pip install Python/dist/sqlmlutils-1.0.0.zip
```

R:

Windows:

From command prompt, run
```
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 -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.tar.gz
```

# Details
Expand Down

0 comments on commit 4a082ea

Please sign in to comment.