Displaying 20 results from an estimated 27 matches for "nrunning".
Did you mean:
running
2009 Mar 24
4
Error in FrF2 example on Mac OS
Dear all,
I just noticed that the 0.9 update for FrF2 did not work out for Mac OS due
to an error in an example that ran without error on all other platforms. I
do not find any reason for this. In the past, umlauts or tab characters have
sometimes been an issue, but I didn't find any of these. The function
definition is
FrF2(nruns = NULL, nfactors = NULL, factor.names = if
2005 Jul 07
2
r: LOOPING
hi all
i know that one should try and limit the amount of looping in R
programs. i have supplied some code below. i am interested in seeing how
the code cold be rewritten if we dont use the loops.
a brief overview of what is done in the code.
==============================================
==============================================
==============================================
1. the input
2010 May 20
1
Geneland error on unix: Error in MCMC(........ :, unused argument(s) (ploidy = 2, genotypes = geno)
I am receiving the above error ( full r session output below) the
script runs OK in windows. and "genotypes" and "ploidy" are both
correct arguments
any suggestions would be most welcome
Nevil Amos
MERG/ACB
Monash University School of Biological Sciences
> library(Geneland)
Loading required package: RandomFields
Loading required package: fields
Loading required
2003 May 05
1
commandArgs()
Apologies for asking about this, but I don't quite understand how
this works after looking through the FAQ and the Help archives.
Let's say I want to pass "1000" as an argument to R. I did the
following:
>R CMD BATCH --1000 infile outfile
When I do print( commandArgs() ), I see
[1] ".../R.bin" "--restore"
[3] "--save"
2007 Oct 07
6
issetugid() for other procs
Any way to check if another proc has run or been run by a proc that
is setuid or seteuid?
2010 Feb 11
1
Code find exact distribution for runs test?
I've been attempting to understand the one-sample run test for
randomness. I've found run.test{tseries} and run.test{lawstat}. Both
use a large sample approximation for distribution of the total number
of runs in a sample of n1 observations of one type and n2 observations
of another type.
I've been unable to find R code to generate the exact distribution and
would like to see how
2004 Jun 29
0
gambling problem
Hi all
i have an interesting project that i have been working on. i intended to
set this as a first year programming problem but then changed my mind
since i thought that it might be too difficult for them to program.
the problem is as follows:
You have been approached by a local casino in order to
investigate the performance of one of their slot machines.
The slot machine
2008 Aug 19
7
[LLVMdev] Please help with LLVM C++ integration
...:Int32Ty, 10);
CallInst *Add1CallRes = CallInst::Create(my_function, Ten,
"some_test_func", BB);
Add1CallRes->setTailCall(true);
ReturnInst::Create(Add1CallRes, BB);
std::cout << "We just constructed this LLVM module:\n\n" << *M;
std::cout << "\n\nRunning foo: " << std::flush;
std::vector<GenericValue> noargs;
GenericValue gv = EE->runFunction(FooF, noargs);
std::cout << "Result: " << gv.IntVal.toStringUnsigned(10) << "\n";
return 0;
}
2008/8/19, Gordon Henriksen <gordonhenriksen...
2004 Mar 15
11
creating a ps. file
Dear all
I wrote a routine. At the end of each cycle of the loop I would like to
save the result (plot) in a postcriptfile.
Of course if I just use dev.print in the following way:
dev.print(device=postcript, 'c:/Rfigures/plot_1.ps")
I overwrite my results with the second cycle of the loop. I suppose
there is a way to define the file name so that several plots are
2011 Jul 07
1
Select element out of several ncdf variables
Hi there
I'm working with ncdf data. I have different dataset for 4 runs, 4 seasons
and 3 timeslices (48 datasets in total). The datasets have the following
dimensions: 96 longitudes, 48 latitudes and 30 time steps. To read all of
them in, I wrote the following loop:
runs <- c("03","04","05","06")
years <- c(1851,1961,2061)
seasons <-
2012 Nov 06
1
Confidence intervals for Sen slope in zyp-package
Hi,
I have a question about the computation of confidence intervals in the zyp package, in particular using the functions zyp.sen and confint.zyp, or zyp.yuepilon.
(1) I'm a bit confused about the confidence intervals given by zyp.sen and confint.zyp. When I request a certain confidence interval in the function, the R output seems to deliver another confidence interval, e.g. when I set
2008 Aug 19
0
[LLVMdev] Please help with LLVM C++ integration
...unction, Ten,
> "some_test_func", BB);
> Add1CallRes->setTailCall(true);
>
> ReturnInst::Create(Add1CallRes, BB);
>
> std::cout << "We just constructed this LLVM module:\n\n" << *M;
> std::cout << "\n\nRunning foo: " << std::flush;
>
> std::vector<GenericValue> noargs;
> GenericValue gv = EE->runFunction(FooF, noargs);
>
> std::cout << "Result: " << gv.IntVal.toStringUnsigned(10) <<
> "\n";
> re...
2008 Aug 19
0
[LLVMdev] Please help with LLVM C++ integration
...unction, Ten,
> "some_test_func", BB);
> Add1CallRes->setTailCall(true);
>
> ReturnInst::Create(Add1CallRes, BB);
>
> std::cout << "We just constructed this LLVM module:\n\n" << *M;
> std::cout << "\n\nRunning foo: " << std::flush;
>
> std::vector<GenericValue> noargs;
> GenericValue gv = EE->runFunction(FooF, noargs);
>
> std::cout << "Result: " << gv.IntVal.toStringUnsigned(10) << "\n";
> return...
2015 Oct 27
3
Add a mapping to a C++ lambda
...gt;(), "lambdaRetVar");
builder.CreateRet(lambdaRes);
ExecutionEngine *EE = EngineBuilder(std::move(Owner)).create();
EE->addGlobalMapping(lambdaFN, &lambdaBody);
outs() << "We just constructed this LLVM module:\n\n" << *M;
outs() << "\n\nRunning main: ";
std::vector<GenericValue> noargs;
GenericValue gv = EE->runFunction(mainF, noargs);
outs() << "Result: " << gv.IntVal << "\n";
llvm_shutdown();
delete EE;
return 0;}
The output is:
We just constructed this LLVM module:
; M...
2008 Jul 04
0
A question about SWITCH field in the output of cpuinfo
Here is the example:
ID ADDR FLG NRUN BSPL PRI RNRN KRNRN SWITCH THREAD PROC
0 fffffffffbc259b0 1b 1 0 -1 no no t-0 ffffff0003e05c80
(idle)
| |
RUNNING <--+ +--> PRI THREAD PROC
READY
EXISTS
ENABLE
I was told that SWITCH stood for
2003 Sep 08
2
R video
Hi
Does anybody know of any R packages under Windows to produce video files
from a sequence of R graphs -- e.g. in .wmv or avi format?
Thanks
David
2006 Jul 14
0
EOF: object needs to be "field"?
...mat to binary, which is not a big deal. Then I read in the binary data, and it has 3 dimensions: x, y, and time. The following is my code
-------------------------------------------------------------------------------------------------------------------------
nx <- 349
ny <- 277
nt <- 312
nRunning <- 12
missing <- -900.
datain <- readBin("PWAT-mon.197901-200412.dat",what=numeric(),n=nx*ny*nt,size=4,endian="little")
datain[datain<missing] <- NA
data <- array(datain,c(nx,ny,nt))
library(clim.pact)
eof.c <- EOF(data,mon=1)
-------------------------------...
2007 Nov 08
3
[LLVMdev] Newbie JITter
...duleProvider(M);
ExecutionEngine* EE = ExecutionEngine::create(MP, false);
Function *MainFunction = M->getFunction("main");
if (!MainFunction) {
std::cerr << "'main' function not found in module.\n";
return -1;
}
std::cout << "\n\nRunning main: " << std::flush;
// Call the function with no arguments:
std::vector<GenericValue> noargs;
GenericValue gv = EE->runFunction(MainFunction, noargs);
// Import result of execution:
std::cout << "Result: " << gv.IntVal.toStringUnsigned(10...
2011 Nov 25
2
[LLVMdev] LLVM 2.9 - JIT problem on Windows
...t;entryBlock", fooFunc);
llvm::ReturnInst::Create(context, basicBlock);
llvm::ExecutionEngine *executionEngine =
llvm::EngineBuilder(module).create();
llvm::outs() << "We just constructed this LLVM module:\n\n" << *module;
llvm::outs() << "\n\nRunning foo...\n";
llvm::outs().flush();
std::vector<llvm::GenericValue> noargs;
executionEngine->runFunction(fooFunc, noargs);
executionEngine->freeMachineCodeForFunction(fooFunc);
delete executionEngine;
llvm::llvm_shutdown();
and I am still getting the same p...
2011 Nov 25
0
[LLVMdev] LLVM 2.9 - JIT problem on Windows
> > > Now, I may be wrong, but I was under the impression that a call to
> > > InitializeNativeTarget was recommended, if not compulsory, so. why
> > > commenting it out not only makes my LLVM code still work, but also
> > > prevent my application from generating the above error.?!
> >
> > My bet is that your code is writing through a stray pointer.