Displaying 20 results from an estimated 10000 matches similar to: "call / do.call expression too big"
2014 Feb 13
3
[LLVMdev] cmake/ninja build failing
Well, I updated to cmake 2.8.12.2 but the result of changing that COMPILE_FLAGS to COMPILE_OPTIONS is that quotes are applied incorrectly: quotes are added surrounding the entire set of flags rather than around each individual item in the list. Obviously the build doesn't work (with the compiler looking for files named " -m64 ... ") but checking the relevant build command in
2005 Aug 24
1
[LLVMdev] CallInst constructor interface
Hi,
Inserting a call instruction is a bit of a pain. The only way I know
how to do it is to write a bunch of code like the following:
std::vector<const Type*> formalArgs;
formalArgs.push_back(arg1->getType());
formalArgs.push_back(arg2->getType());
...
formalArgs.push_back(argn->getType());
std::vector<Value*> args;
args.push_back(arg1);
2024 Apr 25
1
Big speedup in install.packages() by re-using connections
I'd like to raise this again now that 4.4 is out.
Below is a more complete patch which includes a function to properly
cleanup libcurl when R quits. Implementing this is a little tricky
because libcurl is a separate "module" in R, perhaps there is a better
way, but this works:
view: https://github.com/r-devel/r-svn/pull/166/files
patch:
2009 Oct 22
1
Help regarding removing Inf from dataframe, creating new dataframe with selected variables, count function
Following is my query:
1. Removing Inf from one column of dataframe.
2. out of 10 available dates, count how many times a security is present. (repeat for each security)
3. Out of dates, the security is present, I want to read latest status of market cap.
4. Change in market cap represent by 0/1 so even if market cap status changed once, take value 1.
5. create output file containing some already
2024 Apr 25
1
Big speedup in install.packages() by re-using connections
On Thu, 25 Apr 2024 14:45:04 +0200
Jeroen Ooms <jeroenooms at gmail.com> wrote:
> Thoughts?
How verboten would it be to create an empty external pointer object,
add it to the preserved list, and set an on-exit finalizer to clean up
the curl multi-handle? As far as I can tell, the internet module is not
supposed to be unloaded, so this would not introduce an opportunity to
jump to an
2011 Mar 14
1
recursive do.call
I would like to define a recursive equivalent to call or do.call, which takes
a vector of multiple function names and 'chains' them, by greedy matching of
arguments down the chain. For example, I would like to be able to do:
rec.do.call(c("glm","coef","print), list(formula=dist~speed, digits=3,
data=cars));
which would then be equivalent to:
2024 Sep 08
1
Big speedup in install.packages() by re-using connections
On Mon, Sep 2, 2024 at 10:05?AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>
>
> On 4/25/24 17:01, Ivan Krylov via R-devel wrote:
> > On Thu, 25 Apr 2024 14:45:04 +0200
> > Jeroen Ooms <jeroenooms at gmail.com> wrote:
> >
> >> Thoughts?
> > How verboten would it be to create an empty external pointer object,
> > add it to the
2017 Mar 06
2
Seeking advice regarding compilation of large libraries using RTools (Windows)
Yep - simpleITK is available at github.com/SimpleITK/SimpleITK. There's
also github.com/SimpleITK/SimpleITKRInstaller - a devtools based installer
for mac and linux.
CMake has a range of build environments. I experimented with MSYS2 and
mingw makefiles, but had trouble with incompatibilities in the path
required by CMake and those options - from memory the sh in RTools/bin
caused problems.
2024 Sep 02
1
Big speedup in install.packages() by re-using connections
On 4/25/24 17:01, Ivan Krylov via R-devel wrote:
> On Thu, 25 Apr 2024 14:45:04 +0200
> Jeroen Ooms <jeroenooms at gmail.com> wrote:
>
>> Thoughts?
> How verboten would it be to create an empty external pointer object,
> add it to the preserved list, and set an on-exit finalizer to clean up
> the curl multi-handle? As far as I can tell, the internet module is not
>
2024 Mar 02
1
Big speedup in install.packages() by re-using connections
Currently download.file() creates and terminates a new TLS connection
for each download. This creates a lot of overhead which is expensive
for both client and server (in particular the TLS handshake). Modern
internet clients (including browsers) re-use connections for many http
requests.
We can do this in R by creating a persistent libcurl "multi-handle".
The R libcurl implementation
2009 Sep 30
2
[LLVMdev] Can I modify C syntax by using Clang and LLVM?
I want to add command line (shell) like statement to C is it possible to
implement this syntax by clang and llvm? The syntax is like
func arg1 arg2 ... argn;
and define func like
void func( int arg1, int arg2, ..., int argn)
{ ...}
Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2019 Jun 09
2
como graficar una coordenada en un mapa
Hola a todos.
Soy nuevo en R, estoy aprendiendo con tutoriales y lo hago sin un fin
comercial y/o laboral.
Necesito ayuda para mostrar un mapa y sobre ese mapa poner un punto dado
por una coordenada.
con esto consigo mostrar el mapa.
library(raster)
arg<-getData('GADM', country='ARG', level=0)
plot(arg)
En ese mapa quiero mostrar un punto que está en el sistema de
2024 Sep 09
1
Big speedup in install.packages() by re-using connections
On 9/8/24 23:14, Jeroen Ooms wrote:
> On Mon, Sep 2, 2024 at 10:05?AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>>
>> On 4/25/24 17:01, Ivan Krylov via R-devel wrote:
>>> On Thu, 25 Apr 2024 14:45:04 +0200
>>> Jeroen Ooms <jeroenooms at gmail.com> wrote:
>>>
>>>> Thoughts?
>>> How verboten would it be to create an
2020 Sep 09
3
more Matrix weirdness
I think that this is because `[<-` dispatches on S4 methods only if the first argument is S4.
?"[<-" says:
"These operators are also implicit S4 generics, but as primitives,
S4 methods will be dispatched only on S4 objects ?x?."
Georgi Boshnakov
-----Original Message-----
Message: 19
Date: Tue, 8 Sep 2020 22:04:44 -0400
From: Ben Bolker <bbolker at
2015 Apr 15
4
RObjectTables freezes in R 3.2.0 RC on 32bit systems
We recently started noticing freezes that appear only on 32bit systems
(both linux and windows) with a relatively recent versions of R 3.2.0,
including the RC. It looks like the problem can be traced back to the use
of R_ObjectTables (see R_ext/Callbacks.h)
The problem is a bit difficult to reproduce because it does not appear on
x64 and because the official R interface to this functionality, the
2015 Jan 08
2
Testing R packages on Solaris Studio
I have setup a Solaris server to test packages before submitting to
CRAN, in order to catch problems that might not reveal themselves on
Fedora, Debian, OSX or Windows. The machine runs a Solaris 11.2 vm
with Solaris Studio 12.3.
I was able to compile current r-devel using the suggested environment
variables from "R Installation and Administration" and:
./configure
2016 Sep 03
2
How to insert instructions before each function calls?
I'm trying to insert some instructions before each function calls (before
arguments push):
lea %EAX, label ----- new instructions
mov [ESP+stacksize], %EAX ----- new instructions
push arg1
push arg2
...
push argn
call callee_name
I am a newbie to LLVM. I tried to use buildMI() to insert the instructions
in the lowercall() function. But I couldn't
2020 Sep 08
4
[External] Re: Operations with long altrep vectors cause segfaults on Windows
On Tue, Sep 8, 2020 at 11:44 PM Jeroen Ooms <jeroenooms at gmail.com> wrote:
>
> On Tue, Sep 8, 2020 at 5:20 PM Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
> >
> > On 9/8/20 4:48 PM, Hugh Parsonage wrote:
> > > Unfortunately I only get
> > >
> > > [Thread 21752.0x4aa8 exited with code 3221225477]
> > > [Thread 21752.0x4514
2009 May 29
4
can Dtrace be used for the error injection?
Hi,
is it somehow possible to use Dtrace for error injection in a kernel module?
Something like changing:
- function return value
- value of a register
If not, can it be implemented?
I can do that via kmdb, but I need Dtrace for the time synchronization
- chill() action.
I can not combine Dtrace & kmdb:
dtrace: failed to initialize dtrace: DTrace cannot be used when kernel
debugger
2009 Nov 03
1
multivariate numerical integration.
I am currently using the package 'adapt' for multivariate integration.
However this package seems to be removed from CRAN (It is still referred to
in the help file for integrate(stats) though).
I assume it has been deprecated for a reason? Is there an alternative for
multivariate numerical integration?
-----
Jeroen Ooms * Dept. of Methodology and Statistics * Utrecht University
Visit