search for: code3

Displaying 13 results from an estimated 13 matches for "code3".

Did you mean: code
2011 Feb 24
4
Running code sequentially from separate scripts (but not functions)
...I am wondering if it's possible to run - in sequence - code that is stored in several R scripts. For example: Script in the file "code1.r" contains the code: a = 3; b = 5; c = a + b Script in the file "code2.r" contains the code: d = 10; e = d - c Script in the file "code3.r" contains the code: result=e/a I understand that I could write those 3 scripts as 3 functions and source them from another script. But maybe there is a way of having them run one by one as such? Thanks a lot! -- Dimitri Liakhovitski Ninah Consulting www.ninah.com
2014 Jul 24
1
rsync: getcwd(): bad address (14)
...r Windows session i go (with GPO) a script batch to copy a files/dirs on my rsync server (OpenMediaVault). When i manuel start the script it's ok but when he go to the closed session i've this error rsync: getcwd():Bad address(14) rsync error: errors selecting input/output files, dirs (code3) at util.c (1177) [Receive=3.1.1pre1] This error is present on the Windows 7 64bit computeurs but on winds 7 32bits it's ok. Have you got a idea ? Thank's -- Cordialement, Philippe MALADJIAN. -------------- next part -------------- A non-text attachment was scrubbed... Name: pmaladji...
2007 Feb 22
2
[LLVMdev] opt -verify
...is not permitted to require a FunctionPass, I am forced to make my pass a FunctionPass and do majority of its work in the doFinalization() method. When I run "opt -mypass -verify -o code2.bc code1.bc" I get no complaints. However, if I then try run "opt -simplifycfg -verify -o code3.bc code2.bc," I get the assertion failure below. If thought that the verify option should have made sure that bytecode written to code2.bc was correct. Am I incorrect? opt: Reader.cpp:1978: llvm::Value* llvm::BytecodeReader::ParseConstantPoolValue(unsigned int): Assertion `(!isa<Cons...
2011 Apr 25
1
Help with objects
...egory objects. Is there a good introductory description of how these are different from standard R objects and how they are different from each other? Also, how does one find out more about how objects are declared. For example, Data Mining with R<http://www.liaad.up.pt/~ltorgo/DataMiningWithR/code3.html>uses the quantmod package. I am used to Java's JavaDoc where one can see how classes are declared, what the instance variables and methods are, etc. I don't see anything similar for this package. How, for example, would one find out what the instance variables are in a quantmod obj...
2007 Feb 22
3
[LLVMdev] opt -verify
...orced to make my pass a FunctionPass and do majority >> of its work in the doFinalization() method. > > ok > >> When I run "opt -mypass -verify -o code2.bc code1.bc" I get no >> complaints. However, if I then try run "opt -simplifycfg -verify -o >> code3.bc code2.bc," I get the assertion failure below. If thought that >> the verify option should have made sure that bytecode written to >> code2.bc was correct. Am I incorrect? > > Yes. the passmanager runs the passes in roughly this order: > > 1. doinitialization for...
2007 Feb 22
0
[LLVMdev] opt -verify
...onPass and do majority >>>of its work in the doFinalization() method. >> >>ok >> >> >>>When I run "opt -mypass -verify -o code2.bc code1.bc" I get no >>>complaints. However, if I then try run "opt -simplifycfg -verify -o >>>code3.bc code2.bc," I get the assertion failure below. If thought that >>>the verify option should have made sure that bytecode written to >>>code2.bc was correct. Am I incorrect? >> >>Yes. the passmanager runs the passes in roughly this order: >> >>1. do...
2008 Oct 24
7
combining data from different datasets
Hi, I have two tables: > iso continent code code3 codenum country 1 EU AD AND 20 Andorra, Principality of 2 AS AE ARE 784 United Arab Emirates 3 AS AF AFG 4 Afghanistan, Islamic Republic of 4 NA AG ATG 28 Antigua and Ba...
2007 Feb 22
0
[LLVMdev] opt -verify
...ire a > FunctionPass, I am forced to make my pass a FunctionPass and do majority > of its work in the doFinalization() method. ok > When I run "opt -mypass -verify -o code2.bc code1.bc" I get no > complaints. However, if I then try run "opt -simplifycfg -verify -o > code3.bc code2.bc," I get the assertion failure below. If thought that > the verify option should have made sure that bytecode written to > code2.bc was correct. Am I incorrect? Yes. the passmanager runs the passes in roughly this order: 1. doinitialization for mypass and verify 2. runOnM...
2007 Feb 22
1
[LLVMdev] opt -verify
...work in the doFinalization() method. >>> >>>ok >>> >>> >>> >>>>When I run "opt -mypass -verify -o code2.bc code1.bc" I get no >>>>complaints. However, if I then try run "opt -simplifycfg -verify -o >>>>code3.bc code2.bc," I get the assertion failure below. If thought that >>>>the verify option should have made sure that bytecode written to >>>>code2.bc was correct. Am I incorrect? >>> >>>Yes. the passmanager runs the passes in roughly this order: >&g...
2001 Apr 02
0
Constructing a contingency table
Greetings. I'm having some trouble constructing a contingency table from raw data (actually read in via RPgSQL). Here's the deal: - What I've got: a data frame in the form: Groupcode code1 code2 code3 code4 code5 .. coden where groupcode is one of {P,C,B,S,U,X} and code{1..n} is TRUE or FALSE. code{1..n} are NOT mutually exclusive, so between 0 and n of them can be TRUE. - What I need: a contingency table in the form: Groupcode code1 code2 .. coden P C B S U...
2011 Jul 24
0
2 x 3 table
...y SNP data). I do not want the log likelihood. Is this the correct R code for the following table? Row totals are fixed at 100 each (case control situation). aa Aa AA Total 10 20 70 100 20 40 50 100 30 60 120 So the row totals are fixed. Is this the correct code3? Likelihood.ratio = dmulitnom(100, c(0.1, 0.2, 0.7))*dmultinom(100, c(0.2, 0.4, 0.5)) divided by dmulitnom(100, c(0.33, 0.33, 0.34))*dmultinom(100, c(0.33, 0.33, 0.34)) What about if the null came from the HWE proportions how will this work for the case control SNP situation? -- Thanks, Jim....
2019 Jan 31
2
[RFC] Late (OpenMP) GPU code "SPMD-zation"
...an example with this directive structure:<br>> <br>> #pragma omp target teams distribute<br>> for(...){<br>> <code1><br>> #pragma omp parallel for<br>> for(...) {<br>> <code2><br>> }<br>> <code3><br>> }<br>> <br>> which forces the use of the master-worker scheme (non-SPMD mode) without any<br>> other distractions.<br><br>The atomic stuff I used to determine correctness. I haven't yet looked<br>at performance. I will do so now and...
2019 Jan 22
7
[RFC] Late (OpenMP) GPU code "SPMD-zation"
Where we are ------------ Currently, when we generate OpenMP target offloading code for GPUs, we use sufficient syntactic criteria to decide between two execution modes: 1) SPMD -- All target threads (in an OpenMP team) run all the code. 2) "Guarded" -- The master thread (of an OpenMP team) runs the user code. If an OpenMP distribute region is encountered,