similar to: Runnable R packages

Displaying 20 results from an estimated 80000 matches similar to: "Runnable R packages"

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 02
0
Runnable R packages
On 02/02/2019 8:27 a.m., Barry Rowlingson wrote: > 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
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 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 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 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
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 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 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 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 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 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 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
2006 Apr 18
4
Chime Clarification: Buildable on only nv_35 or Runnable?
Would Studio 10, or Studio 11 be preferable to build? This message posted from opensolaris.org
2019 Jan 03
10
Runnable R packages
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. R has traditionally been used for running short scripts or data analysis notebooks, but there?s recently been a growing interest in developing full applications in the
2019 Mar 04
4
Should CRAN accept packages with non-R code that transcompiles into R code?
It may be possible to create an R-like programming language that transcompiles into R code (or otherwise constructs R objects and calls R functions). I'm not sure whether it would pass R check or not, I will probably try... But the bigger question is: Should CRAN accept packages written in such a way? I could email Kurt Hornik or Uwe Ligges, and ask them. However, I thought that I would ask
2019 Mar 04
0
Should CRAN accept packages with non-R code that transcompiles into R code?
Abs (?), I have thought about and have (somewhere "up near the top" of my todo list) prototyping a preprocessor for R, and I have relevant code that emits (transpiles, in a way) structured comments into S4 code in https://github.com/gmbecker/S4Coffee. All that said, until/unless the preprocessor is officially part of the R CMD build step, what putting code like that on CRAN would look
2019 Mar 04
0
Should CRAN accept packages with non-R code that transcompiles into R code?
Everything is possible. One can compile C++ into JavaScript. But why? > On Mar 4, 2019, at 6:28 PM, Abs Spurdle <spurdle.a at gmail.com> wrote: > > It may be possible to create an R-like programming language that > transcompiles into R code (or otherwise constructs R objects and calls > R functions). > > I'm not sure whether it would pass R check or not, I will
2019 Mar 05
1
Should CRAN accept packages with non-R code that transcompiles into R code?
On Tue, Mar 5, 2019 at 12:49 PM jan Vitek <vitekj at icloud.com> wrote: > Everything is possible. One can compile C++ into JavaScript. > > But why? > > I would like to support Java style syntax for class definitions. (Then it could transcompile into either S3 or S4). And possibly change some other things while I'm at it. Maybe, integers (rather than numerics) as