Displaying 20 results from an estimated 9000 matches similar to: "Naming dimnames in an array using the results of an expression"
2009 Jun 21
1
Incidence Function Model in R help
All:
Though I am fairly new to R, I am trying to work my way through J Oksanen's
"Incidence Function Model in R" and can't get past some error with my glm
arguments. I'm getting through
> attach(amphimedon_compressa)
>
plot(x.crd,y.crd,asp=1,xlab="Easting",ylab="Northing",pch=21,col=p+1,bg=5*p)
> d<-dist(cbind(x.crd,y.crd))
> alpha<-1
2012 May 16
2
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
Hi All,
I built the binaries from the 3.1 final tag
(http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_31/final/ etc) as below:
> ../llvm/configure --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvmsvn/build/bin
> make install
I notice that I can compile a program using clang as below:
> ashoknn at
2012 May 17
0
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
Resending, can somebody please help?
On 5/16/2012 2:47 PM, Ashok Nalkund wrote:
> Hi All,
> I built the binaries from the 3.1 final tag
> (http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_31/final/ etc) as below:
>
>> ../llvm/configure --enable-targets=host-only --prefix=/local/mnt/workspace/ashoknn/crd/neo/llvmsvn/build/bin
>> make install
>
> I notice that
2012 May 17
2
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
Are you intending to try to link? That error message isn't coming from clang, but from /usr/bin/ld. If you just want the bitcode for the one source file, you need to pass "-c" as well, just like if you want an object file.
-Jim
On May 16, 2012, at 5:39 PM, Ashok Nalkund <ashoknn at qualcomm.com> wrote:
> Resending, can somebody please help?
>
> On 5/16/2012 2:47 PM,
2012 May 17
0
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
MY BAD (in caps)...really sorry to have bothered. I was thinking of -S
-E options but forgot the -c option.
clang -c -emit-llvm test.c
lli test.o
both work fine :).
Thanks,
ashok
On 5/16/2012 5:45 PM, Jim Grosbach wrote:
> Are you intending to try to link? That error message isn't coming from clang, but from /usr/bin/ld. If you just want the bitcode for the one source file, you need to
2017 Dec 20
2
[PATCH] gm107/ir: use lane 0 for manual textureGrad handling
This is parallel to the pre-SM50 change which does this. Adjusts the
shuffles / quadops to make the values correct relative to lane 0, and
then splat the results to all lanes for the final move into the target
register.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
Entirely untested beyond compilation. Should check
bin/tex-miplevel-selection textureGrad Cube
2012 May 14
2
[LLVMdev] MCJIT
On May 14, 2012, at 11:12 AM, Ashok Nalkund <ashoknn at qualcomm.com> wrote:
> On 5/14/2012 10:40 AM, Ashok Nalkund wrote:
>>>
>>> Hm. OK, that's odd. It should change which constructor gets called in EngineBuilder::create() (which is in lib/ExecutionEngine/ExecutionEngine.cpp). Are you perhaps calling setUseMCJIT(true) after having already called create()? Can
2012 May 20
2
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
Hi,
LLVM/Clang version: 3.2svn (r156975). I have a bitcode file that I'm
trying to load/execute using lli as below but it reports an error about
unresolved symbol:
> LLVM ERROR: Program used external function '_ZNKSt3__16locale9use_facetERNS0_2idE' which could not be resolved!
> lli: /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/llvm/lib/Support/ThreadLocal.cpp:54:
2012 May 14
0
[LLVMdev] MCJIT
On 5/14/2012 10:40 AM, Ashok Nalkund wrote:
>>
>> Hm. OK, that's odd. It should change which constructor gets called in EngineBuilder::create() (which is in lib/ExecutionEngine/ExecutionEngine.cpp). Are you perhaps calling setUseMCJIT(true) after having already called create()? Can you step through EngineBuilder::create() and see what's happening there?
>>
>> -Jim
2007 Jul 24
4
values from a linear model
Dear R users,
how can I extrapolate values listed in the summary of an lm model but not
directly available between object values such as the the standard errors of
the calculated parameters?
for example I got a model:
mod <- lm(Crd ~ 1 + Week, data=data)
and its summary:
> summary(mod)
Call:
lm(formula = Crd ~ 1 + Week, data = data, model = TRUE, y = TRUE)
Residuals:
Min
2012 May 13
1
[LLVMdev] Unable to link in X86AsmParser.cpp into lli
Hi,
Using the trunk of svn. I'm trying to get inline-asm working on X86.
So I added call to:
> InitializeNativeTargetAsmParser()
during initialization. However, this causes a linking error:
> llvm[2]: Linking Debug+Asserts executable lli
> /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/build/tools/lli/Debug+Asserts/lli.o: In function
2009 Jul 15
1
Simulation code error
Dear List,
I have some problem with my simulation code. Here is output from R:
> sim.sp <- function(data,CM,n,N)
+ {
+ C <- matrix(rep(NA,N),ncol=1)
+ for(i in 1:N)
+ {
+ j <- n
+ xx <- which(colSums(CM[j,])==1)
+ V <- names(xx)
+ V <- paste(V, collapse="+")
+ V <- paste("SBA~", V)
+ rd <- round(nrow(data)*(2/3))
+ d <-
2012 May 21
0
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
Resending, any pointers? I demangled the symbol and it turns out to be:
std::__1::locale::use_facet(std::__1::locale::id&) const
tia,
ashok
On 5/19/2012 9:41 PM, Ashok Nalkund wrote:
> Hi,
> LLVM/Clang version: 3.2svn (r156975). I have a bitcode file that I'm
> trying to load/execute using lli as below but it reports an error about
> unresolved symbol:
>> LLVM
2012 May 14
2
[LLVMdev] MCJIT
On 5/14/2012 10:28 AM, Jim Grosbach wrote:
>
> On May 14, 2012, at 10:21 AM, Ashok Nalkund<ashoknn at qualcomm.com> wrote:
>
>> On 5/14/2012 9:51 AM, Jim Grosbach wrote:
>>>
>>>>>
>>>>> If you're hitting that code, you're running the old JIT (which does indeed not support inline assembly), not the MCJIT.
>>>>>
2009 Jul 15
1
Error in simulation R-code
Dear List,
I have got error message when I run the R-code. Can anyone has a suggestion?
v.code <- df.bm7[,c(10:31)]; v.code[1:3,]
names(v.code)
CM = v.code # variable binomial code
sim.sp <- function(data,CM,n,N)
{
C <- matrix(rep(NA,N),ncol=1)
for(i in 1:N)
{
j <- n
xx <- which(colSums(CM[j,])==1)
V <- names(xx)
V <- paste(V,
2001 Aug 21
2
OpenSSH 2.9p2 / SSH3 vulnerability?
I have a few questions:
1) Is OpenSSH 2.9p2 (or any other version of OpenSSH) vulnerable to the same problem as SSH3.0.0?
(described here:
http://www.kb.cert.org/vuls/id/737451 )
2) There is a "SECURID" patch in the contrib section since 2.5.2p2. I am using it, but applying this
patch to each new version is growing more difficult as time goes on. Would you consider merging this
2015 Aug 21
2
rpmbuild dwz error
CentOS,
I'm not sure where to ask this, please let me know if there is a more
appropriate place.
On CentOS 7, I'm building a large C++ package with rpmbuild. Arachne
(https://www.broadinstitute.org/crd/wiki/index.php/Arachne_Main_Page).
During the debuginfo extraction stage, I get the following error:
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz
2012 May 14
2
[LLVMdev] MCJIT
On 5/14/2012 9:18 AM, Jim Grosbach wrote:
>
> On May 14, 2012, at 9:07 AM, Ashok Nalkund<ashoknn at qualcomm.com> wrote:
>
>> I was able to get past the error by calling InitializeNativeTargetAsmParser() in my code. Now I have a failure in resolving external libraries, so looking into that (recompiled with --enable-ffi but I now get an error LLVMgold.so not found).
>>
2012 May 14
2
[LLVMdev] MCJIT
On 5/14/2012 9:51 AM, Jim Grosbach wrote:
>
>>>
>>> If you're hitting that code, you're running the old JIT (which does indeed not support inline assembly), not the MCJIT.
>>>
>>
>> Do I need to enable anything at configure, my configure looks like this:
>>> ../llvm/configure --enable-libffi --enable-targets=host-only
1998 Sep 09
2
diag() losing dimnames
Using diag() to extract the diagonal of a matrix loses all but the first dimname
(R 0.62.3). The problem seems to be in [ ]:
>
> x <- matrix(1:9,3,3)
> dimnames(x) <- list(c("a", "b", "c"), c("a", "b", "c"))
> x
a b c
a 1 4 7
b 2 5 8
c 3 6 9
> diag(x)
a NA NA
1 5 9
> x[c(1,5,9)]
a NA NA
1 5 9
>
Paul