5
I have several routines written in R, simple tools, which I would like to share with my colleagues. However, some of them do not have any knowledge in programming. So I want to facilitate the use of these tools.
For this I thought about creating an executable/installer for windows, containing these tools, but I have no idea how to do this or where to start.
Considering the routine Scalene Triangle shown below, which tests whether or not the triangle is scalene.
### Triangulo Escaleno
### Para um triangulo ser escaleno ele precisa ter os 3 lados diferentes
##Entrada de Dados
#Lados do Triangulo
a<-5
b<-3
c<-3
#Estrutura de Condição
if(a!=b & b!=c & c!=a){
cat("É um triangulo escaleno")
}else{
cat("Não é um triangulo escaleno")
}
How can I create or build an executable/installer for this routine?
See if it can help you here. http://www.r-bloggers.com/making-r-files-executable-under-windows/ Very self-explanatory documentation.
– Marconi
I’ll look. Thank you!
– Jean
Okay, if you don’t make it tomorrow I can try to help you.
– Marconi
@Marconi, I read it really nice. I think this is the way, but I would like something that facilitates even more the use, something that also considers that the user does not have the R installed in the machine.
– Jean
@Jean, this unfortunately does not exist. I currently believe that the best way is to create a web application using for example Shiny.
– Daniel Falbel
I agree with @Danielfalbel. Shiny is very easy to use, and you can publish for free on Shinyapps as long as the demand is small, or use a paid plan. You can also create a page to work as a hub for your apps and promote only one link.
– Molx
Dear friends, as already mentioned, there is currently no way to do this. Someone can compile the answer explaining that it is not possible and listing some "alternatives" like Shiny a . bat etc.
– Carlos Cinelli