Quantcast
Channel: DECISION STATS » windows
Viewing all articles
Browse latest Browse all 7

Using a Linux only package in Windows #rstats

$
0
0

Here is some R code for using a R package that has only a tar.gz file available (used to load R packages in Linux) and no Zip file available (used to load R packages in Windows).

Step 1- Download the tar.gz file.

Step 2 Unzip it (twice) using 7zip

Step 3 Change the path variable below to your unzipped, downloaded location for the R sub folder within the package folder .

Step 4 Copy and Paste this in R

Step 5 Start using the R package in Windows (where 75% of the money and clients and businesses still are)

Caveat Emptor- No X Dependencies (ok!)

path="C:\\Users\\KUs\\Desktop\\segue\\R"
b=dir(path)
c=length(b)
for (i in 1:c){source(gsub(" ","",paste(path,"\\",b[i])))}
ls()

 

R2D2


Tagged: Linus Trovalds, linux, Quotes, rstats, segue, windows

Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images