Building Revolution R Enterprise from the RevoEnt-10817.enterprise.tar.gz file? - r

How to build Revolution R Enterprise from the RevoEnt-10817.enterprise.tar.gz file
downloaded from Revolution Analytics website ?
My system is Windows 7. I have already installed R 2.15 and Rstudio.
Will it overwrite the original R installation ?
Can anybody guide me towards some step-by-step document/material ?

I could not quickly find a description on the RevoR website that describes how to install this source package. Like #agstudy suggested, you could post on their support forums and see if they can help you. It looks like you need to build R from source if you want to use the version of RevoR you downloaded, which requires you to install some additional tools. Probably those tools are the same as the ones you need to install for normal R, and can be found here.
But why do you need RevoR? Normal R is equally powerful, and you have already installed R and Rstudio, so you're good to go.

Related

Deploying shiny app to shinyapp.io with a package not on CRAN or Github

I am trying to deploy my shiny app but it is failing because RDCOMClient is not on CRAN or Github. Well to clarify a version of RDCOMClient is on Github at here but this version does not appear to work with my version of R. I downloaded the binary of the package from here and my app works fine locally.
Possible solutions I have seen or thought of are
Somehow take the binaries from the non-github address and put them on my own github then load the library from my own Github account to have my app deploy properly.
Rollback my version of R to be compatible with the RDCOMClient found at omegahat's github
Find a different library than RDCOMClient to work in its place.
Option #1 - I am unsure of how to put the binaries on Github since R looks for a specific folder/file structure when it pulls in packages from Github.
Option #2 - This seems pretty straight-forward but I worry that some of the other packages or code may not work with an earlier version. Also if someone could link to how to rollback your version of R it would be much appreciated.
Option #3 - I am using RDCOMClient to connect to Outlook and launch a draft email. If someone knows of another package that does something similar to this then this would be a viable solution.
I am of course open to other solutions to this problem and anything that could help would be much appreciated.

How to use different R versions to test packages with Travis-CI?

I use Travis to test R packages hosted on GitHub (e.g. this one). That works great except that I don't seem to have any control over the R version that is used to build and check the package. In particular I would like to check packages with both the current release and devel versions of R. Is there any way to do this?
Yea! Check out R-builder. Good luck.

Setting up RStudio Portable Default R version

I recently discovered a portable version of R and RStudio #
http://rportable.sourceforge.net/
Open source rocks!
At any-rate, I am jumping from pc to pc at my university, and I'd like to get Portable R-studio to recognize Portable R as the default R version. Most computers at the university already have several versions of r-installed, and RStudio uses one of those versions of R. When I go into the Global Options to change the default version, it does not "see" portable R on the USB drive.
I am basically hopping I can run R without constantly having to download packages, specifying the work directory, downloading Scripts, data from Google Drive, etc...
Any suggestions? I am open. Thanks for your help.
I did not need to touch the registry.
I first installed R portable and then R Studio portable, both from Sourceforge.
After launching R Studio for the first time, I was shown the option of choosing the installation of R to be used, as shown in
https://support.rstudio.com/hc/en-us/articles/200486138-Using-Different-Versions-of-R
I browsed to branch \PortableApps\R-Portable\App\R-Portable\bin, where executables are located. There I selected the 64-bit version.
If you want to change later the version used, you open R Studio and go to Tools -> Option -> General -> R Version.
This avoids modifying the registry, with the two advantages of Portable Apps:
Leaving no trace of the app in the system (or, at least, a much milder one).
Being really portable (or, at least, much more so).
On Windows, RStudio uses the system registry to find where installed versions of R are located. You'll need to edit the registry yourself to let it know about new versions. Fortunately you can do this in HKEY_CURRENT_USER so admin rights shouldn't be required. Here are the keys and values you'll want to write:
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Does-R-use-the-Registry_003f
More detail about how RStudio selects the R version to run here:
https://support.rstudio.com/hc/en-us/articles/200486138-Using-Different-Versions-of-R
The link to R Portable above is a bit misleading. In order to run a portable version of R AND RStudio, you also need the 27MB portable RStudio here. What's even more confusing is that it has the same name as the RPortable file.
It took me a bit of time to figure that one out. Perhaps you could edit your question to point to both for those who wish for an IDE?
And, IMHO, it's not truly portable, because when you move from one machine to another you need to specify the R version on your USB drive and also the work directory. Pity.
I manage to link RStudio (not portable version) to the aforementioned version of R Portable, directly through Global Options -> R Version -> Choose a specific version of R -> Browse,
and the trick was selecting the R-Portable\App\R-Portable folder. Choosing another one doesnt allow RStudio to find the instalation.
Im running RStudio 1.1.463.
Bye!

how to clone an RStudio environment on a different machine

i've been getting up to speed using R of late, and am wondering what the most efficient way is to clone an RStudio environment, especially the package installations, from one machine to another. i'd like to be able to switch from my desktop machine to my laptop, but i am adding packages very frequently to the desktop as i work and would like a simple way to make sure the same packages get installed on the laptop.
any help much appreciated
ps. not everything i'm installing is from CRAN...some are packages taken from github
If you have more than a couple of machine to maintain with the same R configuration, I think you should consider setting up your own local R repository.
And I will just redirect you to another SO question here:
Creating a local R package repository
You can also find the most useful information in the R manual.
Once this is done, you just have to update the local R repository and the packages will be updated on all machines, Windows or Unix
You can just copy and paste the folders in the R libraries between machines. As long as it is the same operating system on both machines there should not be any problem. If you want it to be automatically synchronised then place the R libraries into something like dropbox so that adding or updating a package will automatically appear on either machine with the next sync.

How to install and manage multiple versions of R

I am working on a machine that has older version of R. I don't have root access on the machine, and the sys admin is on a vacation.
So the question I have is, how can I install and manage (the packages, especially) the latest version of R? Obviously I need to download the R package and install it, but a few detailed instructions from the community will help.
R noob here. Help will be greatly appreciated. Thanks

Resources