Displaying 20 results from an estimated 9000 matches similar to: "Runnable R packages"
2019 Jan 31
2
Runnable R packages
Would you care to share how your package installs its own dependencies? I
assume this is done during the call to `main()`? (Last time I checked, R
CMD INSTALL would not install a package's dependencies...)
On Thu, Jan 31, 2019 at 4:38 PM Barry Rowlingson <
b.rowlingson at lancaster.ac.uk> wrote:
>
>
> On Thu, Jan 31, 2019 at 3:14 PM David Lindelof <lindelof at ieee.org>
2019 Jan 07
2
Runnable R packages
On Mon, 7 Jan 2019 at 22:09, Gergely Dar?czi <daroczig at rapporter.net> wrote:
>
> Dear David, sharing some related (subjective) thoughts below.
>
> You can provide your app as a Docker image, so that the end-user
> simply calls a "docker pull" and then "docker run" -- that can be done
> from a user-friendly script as well.
> Of course, this requires
2019 Feb 01
0
Runnable R packages
Ummm oops. Magic pixies? It assumed all of CRAN was installed?
Maybe I'll write something that could go in /usr/lib/R/bin/RUN that
checks and gets deps, installs the package, and runs package::main,
which I think is what the OP wants - you could do R CMD RUN
foo_1.0.0.tar.gz and away it goes...
B
On Thu, Jan 31, 2019 at 3:56 PM David Lindelof <lindelof at ieee.org> wrote:
>
>
2019 Feb 01
0
Runnable R packages
To download a package with all its dependencies and install it, use the
install.packages() functions instead of 'R CMD INSTALL'. E.g., in bash:
mkdir /tmp/libJunk
env R_LIBS_SITE=libJunk R --quiet -e 'if
(!requireNamespace("purrr",quietly=TRUE)) install.packages("purrr")'
For corporate "production use" you probably want to set up your own
repository
2019 Jan 07
0
Runnable R packages
Dear David, sharing some related (subjective) thoughts below.
On Mon, Jan 7, 2019 at 9:53 PM David Lindelof <lindelof at ieee.org> wrote:
>
> Dear all,
>
> I?m working as a data scientist in a major tech company. I have been using
> R for almost 20 years now and there?s one issue that?s been bugging me of
> late. I apologize in advance if this has been discussed before.
2019 Jan 31
0
Runnable R packages
On Thu, Jan 31, 2019 at 3:14 PM David Lindelof <lindelof at ieee.org> wrote:
>
> In summary, I'm convinced R would benefit from something similar to Java's
> `Main-Class` header or Python's `__main__()` function. A new R CMD command
> would take a package, install its dependencies, and run its "main"
> function.
I just created and built a very
2019 Feb 02
1
Runnable R packages
I see some value in Duncan?s proposal to implement this as an extra package
instead of a change to base R, if only to see if the idea has legs. I?m
minded to do so myself using your suggestion, but is there a particular
reason why you recommend using the remotes package instead of devtools? The
latter seems to have the same functions I would need, and I believe it is
more widely installed that
2019 Feb 08
2
Runnable R packages
Yesterday I wrote and submitted to CRAN a package `run`, which implements
the ideas discussed in this thread. Given a package tarball
foo_0.1.0.tar.gz, users will be able to run
Rscript -e "run::run('foo_0.1.0.tar.gz')"
which will pull all the dependencies of package `foo`, lookup a function
`main` in that package's namespace, and call it.
It's an early draft but
2019 Feb 02
5
Runnable R packages
I don't think anyone denies that you *could* make an EXE to do all
that. The discussion is on *how easy* it should be to create a single
file that contains an initial "main" function plus a set of bundled
code (potentially as a package) and which when run will install its
package code (which is contained in itself, its not in a repo),
install dependencies, and run the main()
2019 Jan 31
0
Runnable R packages
Belated thanks to all who replied to my initial query. In summary, three
approaches have been mentioned to run R code "in production": 1)
ShinyProxy, mentioned by Tobias, for deploying Shiny applications; 2)
Docker-like solutions, mentioned by Gergely and I?aki; and 3) Solutions
based on Rscript or littler, mentioned by Dirk.
I can't speak to 1) because I don't currently use
2019 Feb 08
0
Runnable R packages
Sounds interesting. Do you have it on GitHub or similar?
Rainer
> On 8 Feb 2019, at 09:09, David Lindelof <lindelof at ieee.org> wrote:
>
> Yesterday I wrote and submitted to CRAN a package `run`, which implements
> the ideas discussed in this thread. Given a package tarball
> foo_0.1.0.tar.gz, users will be able to run
>
> Rscript -e
2019 Apr 05
2
Orientación para hacer un sitio web con R
Hola a todos.
Juan, por si te sirve de referencia, ésta es una página hecha con docker,
docker-compose y shinyproxy: http://ifnapp.creaf.cat/
docker-compose me levanta varios containers:
1. servidor web (nginx + hugo) para la página de entrada
2. servidor postgresql, ya que la aplicación shiny necesita acceso a una
base de datos
3. shinyproxy, para levantar una instancia de la shiny app
2019 Apr 05
3
Orientación para hacer un sitio web con R
Hola,
Como te comentan, shiny es la mejor opción que tienes, solo añadir que no
necesitas Rstudio connect. Se puede hacer el volcado de datos con
conexiones ODBC perfectamente, hay varios paquetes de R que te sirven para
ello. Lo que si es cierto es que necesitarás dedicarle un tiempo a cómo
utilizarlos de manera razonable, probableente tendrás que pelear un poco
para configurarlos correctamente.
2019 Feb 18
2
Password change **apparently** failing in Windows 10 with 4.7.1
On Mon, 18 Feb 2019 14:08:46 +0100
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> Mandi! Nick Howitt via samba
> In chel di` si favelave...
>
> Could be that:
>
> > unix password sync = Yes
>
> Add a little delay, that ''confuse'' win10 box?
>
I doubt it, it is probably another artefact of the 'Windows doesn't
care
2019 Feb 02
0
Runnable R packages
Creating an .exe file isn't necessarily difficult.
The main problems are that you have to write and compile the C (or other)
files.
Otherwise, the complexity depends on the level of Inter Process
Communication that's required.
Simply starting R with some initial conditions, is easy.
Even if you want to prompt the user to install missing packages, it isn't
necessarily difficult.
It
2019 Feb 07
1
Runnable R packages
Doesn't Rtools provide everything needed to build R packages and R on
Windows - including gcc?
Am Sa., 2. Feb. 2019 um 22:29 Uhr schrieb Abs Spurdle <spurdle.a at gmail.com>:
> Creating an .exe file isn't necessarily difficult.
> The main problems are that you have to write and compile the C (or other)
> files.
> Otherwise, the complexity depends on the level of Inter
2013 Jan 31
4
CRAN task views: markdown? better .CSS?
CRAN task views are useful, but they seem difficult to write and
maintain because the XML format is rather
limited (no sectioning) and the <packagelist> must be maintained manually.
They are also difficult to read because the generated html and .css used
are extremely basic, giving an
overly dense page.
Are there any markdown-like tools for writing a CTV? Is it possible to
apply a
2013 Nov 17
4
quotation marks and scan
Dear R People:
I'm sure that this is a very simple problem, but I have been wresting with
it for some time.
I have the following file that has the following one line:
CRS("+init=epsg:28992")
Fair enough. I scan it into R and get the following:
> u
[1] "CRS(\"+init=epsg:28992\")"
> gsub(pattern='\"',replacement='"',x=u)
[1]
2018 Oct 22
2
Chapuza total?? Crear web con R
Buenas Victor,
Gracias por el mail. Suele pasar lod e descubrir el paquete una vez que has terminado el curro.. jejejeje
Las webs estan bien, pero estaba pensando mase n webs de formularios..
No obstante, lo tomo en cuenta. Muchas gracias
Jes?s
________________________________
De: V?ctor Granda Garc?a <victorgrandagarcia en gmail.com>
Enviado: lunes, 22 de octubre de 2018 22:17
Para:
2019 Apr 03
2
Orientación para hacer un sitio web con R
Por complementar lo de Carlos, ahora con docker el tema esta teniendo alternativas lowcost, pero dificiles de configurar si no eres un experto
Obtener Outlook para Android<https://aka.ms/ghei36>
________________________________
From: R-help-es <r-help-es-bounces en r-project.org> on behalf of Carlos Ortega <cof en qualityexcellence.es>
Sent: Wednesday, April 3, 2019 10:04:46 PM