RevolutionAnalytics / RHadoop

RHadoop
https://github.com/RevolutionAnalytics/RHadoop/wiki
763 stars 278 forks source link

install.packages repository location #231

Open naresh050414 opened 8 years ago

naresh050414 commented 8 years ago

We are in the process of creating a local R package repository in our organization, Since we are running R on Windows , I downloaded all the necessary package binaries and we dont want to use "source" type packages at all. We are planning to have our own R package local repository (binary packages) on a share point based web portal. But, because of share point limitations , i cant have a directiry named "bin" any where in my site. Basically any folder structure after bin/ is not readable in share point site.

Now i see "install.packages" r function will try to read packages from below location in the specified "repos", "bin/windows/contrib/3.2".

Basically , I am unable to create "bin" directory in SharePoint web portal where I am planning to maintain my local package repository. Since i cant have bin in my folder structure, i was wondering if there are any other alternatives for me?

some thing like "windows/contrib/32." etc..? (no bin folder in path). that install.packages can read?

As i mentioned earlier: We don't want to use "source" type packages. We still want the ability to be able to install packages using R/RStudio GUI "install packages" options, meaning we just dont want to install everything in one shot using install.packages with local repository. Installing packages from package archive files is not an option. "contriburl, available" sub options from install.packages is not an option as we want users to be ability to be able to install individual packages from our local repository when ever they want using R/RStudio GUI options. We don't want any of the GUI install options broken.

I guess , basically what I want is this available.packages to detect below packages location even after removing that 'bin' directory "https://cran.rstudio.com/bin/windows/contrib/3.2"

something like "https://cran.rstudio.com/windows/contrib/3.2"

Really appreciate your help!