Below is a toy alt-rep string example, that generates N random strings:
https://gist.github.com/traversc/a48a504eb062554f2d6ff8043ca16f9c
example:
`x <- altrandomStrings(1e8)`
`head(x)`
[1] "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ...
`object.size(1e8)`
Object.size wil
You should really take this up with RStudio. Calling object.size on
every top level assignment as they appear to do is a bad idea, even
without ALTREP. object.size is only a cheap operation for simple
atomic vectors. For anything with recursive sturcture it needs to walk
the object, so the effort i
This is not about the failure on some platforms, which is an important
issue. However, what is below may provide a temporary workaround until
the source of the problem is uncovered.
FWIW, the problem seems fairly straightforward for most optimizers at my
disposal in the R-forge (developmental) ver
Prof Nash, Prof Galanos
Is it possible to use a generic code stub in front of packages that use
optimx to improve optimx use or curtail it according to the requirements?
Best Regards
Amit
+91 7899381263
Pleas
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
On 31/01/2019 9:32 a.m., David Lindelof wrote:
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 Gergel
On Thu, Jan 31, 2019 at 3:14 PM David Lindelof 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 j
Quoting:
"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."
This kind of increase the scope of your idea. New command i
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.rowling...@lancaster.ac.uk> wrote:
>
Hi Lujke,
Thanks for the response. But for some reason, this is a duplicate
post I had sent WEEKS ago, but for some reason is only showing up now?
I initially thought it was filtered out and detected as spam because
of the github link, so I re-wrote the email (several times in fact),
and you can
I'm not entirely sure what you are asking. However, optimx is really NOT
meant as a production tool. I intend it as a way to
1) try out a lot of optimizers quickly on a user's problem or problem
class to select a method or methods that suit well;
2) to provide (in the source code of optimr()) an ex
11 matches
Mail list logo