Controlling other softwares from R interfase (imageJ) - r

The problem
I am trying to develop a package in R to control ImageJ, I have seen several R packages that develop an R interface from R to another package, I haven found the slightest documentation on how to start developing that
Edit
Thanks to for the coment, I had seen the answer about RimageJ and bio7, but I would really like to learn to control other softwares from R.
Examples
RNetlogo
rPython
rJava

Related

R - how to avoid to screw up existing installed packages when installing a new one

I have a high level R question but given the incredible frustration I feel this morning, I thought perhaps to ask and learn from expert people here.
I have R 3.6.0 and spent some time in the past installing different packages (i.e. dplyr, ggplot2, lubricate, and other statistics related packages).
Today I had the bad idea to install the packages mentioned on this post https://appsilon.com/r-logistic-regression/#introduction and as soon as I run (from RStudio)
install.packages("caTools") # or perhaps 'caret'
That uninstalled existing packages like dplyr, ggplot and all of a sudden nothing works anymore. I get a ton of incompatibility messages, RStudio now tells me it cannot find rLang, and so on.
So my question is: what did I do wrong? In R (if my basic understanding is correct) we cannot build the equivalent of python virtual environments.
How can I avoid to bump into this problem again in the future?
I basically found myself delete completely R from my machine and re-installing everything from scratch.
Thanks for the help

how to load R packages in Power BI [duplicate]

I have plotted the graph using a code in R using library function which is part of certain package.
I want to use this code in powerbi to plot the graph. But I am not able to add the package (library function) in power bi?
For a Power BI Desktop scenario, it calls the R Installation specified in the Power BI Options. So you need to add the packages you want via that R Installation.
For an app.powerbi.com scenario, you are limited to the list of packages they support, ref:
https://powerbi.microsoft.com/en-us/documentation/powerbi-service-r-visuals/
Just to clarify, are you trying to install packages or add packages that you already have into R?
Unfortunately Power BI isn't an IDE for the R language, so you will need to install the packages that you want via your R IDE or command prompt.
If you are trying to use packages that are already installed on your machine, for example, the package plotrix, then you can use the R script editor in the Visualisations tab like this:
require(plotrix)
or
library(plotrix)
Please post an update to show if this has helped you. :)
Was just now gone through the same problem: everything was loading fine except the visual created with R which required me to use ggplot2 and it was giving an error saying
there is no package called ggplot2
In order to solve it, opened RStudio and in the console ran
install.packages("ggplot2")
Then, went back to PowerBI and clicked "Atualizar" (which means "Update" in portuguese)
and the visual showed up without any errors.

R codes to call from TERR

I am trying to write code in TERR to call r, Kindly suggest me the list of packages that I can use. I found Rinr, SpotfireUtils, Sdatasets are not available for download in r now, if anyone have the same kindly share it.
Your question couldn't be more vague. Here's some good places to start.
TIBCO Enterprise Runtime for R (TERR)
TIBCO Enterprise Runtime for R Technical Documentation which has everything from compadibility to how-to install certain packages.

How to use R packages in Power BI?

I have plotted the graph using a code in R using library function which is part of certain package.
I want to use this code in powerbi to plot the graph. But I am not able to add the package (library function) in power bi?
For a Power BI Desktop scenario, it calls the R Installation specified in the Power BI Options. So you need to add the packages you want via that R Installation.
For an app.powerbi.com scenario, you are limited to the list of packages they support, ref:
https://powerbi.microsoft.com/en-us/documentation/powerbi-service-r-visuals/
Just to clarify, are you trying to install packages or add packages that you already have into R?
Unfortunately Power BI isn't an IDE for the R language, so you will need to install the packages that you want via your R IDE or command prompt.
If you are trying to use packages that are already installed on your machine, for example, the package plotrix, then you can use the R script editor in the Visualisations tab like this:
require(plotrix)
or
library(plotrix)
Please post an update to show if this has helped you. :)
Was just now gone through the same problem: everything was loading fine except the visual created with R which required me to use ggplot2 and it was giving an error saying
there is no package called ggplot2
In order to solve it, opened RStudio and in the console ran
install.packages("ggplot2")
Then, went back to PowerBI and clicked "Atualizar" (which means "Update" in portuguese)
and the visual showed up without any errors.

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

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.

Resources