Displaying 17 results from an estimated 17 matches for "lindelof".
2019 Jan 03
10
Runnable R packages
...or example:
R CMD RUN <package> <args>
I?m sure there are plenty of wrinkles in this idea that need to be ironed
out, but is this something that has ever been considered, or that is on R?s
roadmap?
Thanks for reading so far,
David Lindel?f, Ph.D.
+41 (0)79 415 66 41 or skype:david.lindelof
http://computersandbuildings.com
Follow me on Twitter:
http://twitter.com/dlindelof
[[alternative HTML version deleted]]
2019 Jan 31
2
Runnable R packages
...dencies? 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> 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...
2019 Feb 01
0
Runnable R packages
...RAN 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:
>
> 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...
2019 Feb 01
0
Runnable R packages
...ontaining
fixed versions of packages instead of using CRAN. Then edd repos="..." to
the install.packages()
call. Of course you can put this into a package and somehow deal with the
bootstrapping issue.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Jan 31, 2019 at 8:04 AM David Lindelof <lindelof at ieee.org> wrote:
> 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 a...
2007 May 27
1
Passing a missing argument
...ll I want to set a value to the endpoints argument only if the
`limits' variable has been set, and leave the defaults otherwise.
The only way I could do it is thus:
if (!missing(limits)) histogram(foo,bar,endpoints=limits)
else histogram(foo,bar)
Is there a cleaner way?
Kind regards,
David Lindelof
2007 Apr 22
0
LaTeX, Sweave, Lattice and Computer Modern fonts
...for having Sweave produce Lattice
graphics with Computer Modern fonts for inclusion in a LaTeX document?
Best regards,
--
--------------------------------------------------
David Lindel?f
Station 18
LESO-PB/EPFL
1015 Lausanne
tel +41-21-693.5556
mob +41-79-415.6641
fax +41-21-693.2722
e-mail david.lindelof at epfl.ch
url http://lesowww.epfl.ch/doctorants/lindelof/
weblog http://visnet.ch/~lindelof/smartbuildings/
--------------------------------------------------
Sigh. I like to think it's just the Linux people who want to be on
the "leading edge" so bad they walk right off the precip...
2006 Dec 12
1
Sweave, Xfig, pdflatex and \setkeys
...oes anyone has another workaround for including xfig graphics with
LaTeX text in Sweave?
Looking forward to your help,
--
--------------------------------------------------
David Lindel?f
Station 18
LESO-PB/EPFL
1015 Lausanne
tel +41-21-693.5556
mob +41-79-415.6641
fax +41-21-693.2722
e-mail david.lindelof at epfl.ch
url http://lesowww.epfl.ch/doctorants/lindelof/
weblog http://visnet.ch/~lindelof/smartbuildings/
--------------------------------------------------
In the force if Yoda's so strong, construct a sentence with words in
the proper order then why can't he?
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"
>...
2007 Apr 26
1
Multiple trellis plots without intervening space
Dear useRs,
I'm trying to create a 10x7 rectangular grid of individual plots, each
of which is a contour plot that shows a slice from a three-dimensional
matrix.
How can I specify that I do not want any margin at all between the
plots, nor tick marks or axis labels? I have tried setting every
layout.widths$XXX to zero without success.
And if someone knows of a better way to visualize a 3D
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
1
Runnable R packages
...el at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
David Lindel?f, Ph.D.
+41 (0)79 415 66 41 <//415 66 41> or skype:david.lindelof
http://computersandbuildings.com
Follow me on Twitter:
http://twitter.com/dlindelof
[[alternative HTML version deleted]]
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 "run::run('foo_0.1.0.tar.gz')...
2010 Feb 16
0
Analyzing event times with densityplot
...me to the site at the "same" time (say, within 5 seconds of each
others). How should I choose the bandwidth (and kernel for that
matter)?
Your help would be much, much appreciated.
--
::::::::::::::::::::::::::::::::::::::::::::
David Lindel?f, Ph.D.
+41 (0)79 415 66 41 or skype:david.lindelof
Better Software for Tomorrow's Cities:
http://computersandbuildings.com
Follow me on Twitter:
http://twitter.com/dlindelof
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 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