Displaying 20 results from an estimated 800 matches similar to: "Help in installing and loading the BradleyTerry add on package in R"
2006 May 04
1
Finding ties in data (be)for(e) BradleyTerry
Dear all,
I have carried out a pairwise comparison study that I want to analyze
using the BradleyTerry package to establish a rank order of my
stimuli. However, BT does not handle ties between stimuli, so I need
to find those in my data before I can use that model.
The code below goes from the format of my result file(s) to a data
frame suitable for BT, but as you can see, there are some ties. I
2006 Dec 29
0
BradleyTerry "subscript out of bounds"
I don't see the problem with the following... the citations and
baseball data work fine, but my simulated data seems to give
BTm a headache. What am I missing?
---
library(BradleyTerry)
library(doBy)
ng <- 100
players <- factor( sort( c( "jeff", "mike", "paul", "rich" ) ) )
np <- length( players )
p1 <- factor( c( rep( "jeff", ng )
2010 Apr 17
3
[LLVMdev] understanding the opt tool
Hello Kalyan,
There is one more thing you should know: Clang has maximum optimization turned on by default. You need to specify -O0 to turn it off if you want to see what opt does without clang running all of the optimizations first.
--Sam
----- Original Message ----
> From: Duncan Sands <baldrick at free.fr>
> To: llvmdev at cs.uiuc.edu
> Sent: Sat, April 17, 2010 2:00:00 AM
2010 Apr 17
0
[LLVMdev] understanding the opt tool
Thanks duncan and samuel. I guess the optimization about striping dead
prototypes was not working because of "no dead prototypes" to strip. The
-std-compile-opts option works. I can see a change. And @samuel, I tried the
clang's -o0 optimization level compiling, but I could not find any
difference with or without that switch in the bitcode file generated. I used
this command:
clang
2010 Apr 18
0
[LLVMdev] .so file creation for new passes
Hi !
The Hello world pass sources are in llvm/lib/Transform/Hello/*
If you compile llvm, the Hello library will be compiled too. It's not
installed but it's in build_directory/Debug/lib/LLVMHello.so (or in
build_directory/Release/lib/LLVMHello.so)
Olivier.
On Sun, Apr 18, 2010 at 7:35 AM, kalyan ponnala <ponnala.kalyan at gmail.com>wrote:
> Hello,
>
> I was going
2010 Mar 16
0
[LLVMdev] Help with understanding LLVM
On Mar 15, 2010, at 8:15 PM, kalyan ponnala wrote:
> Hi,
>
> I am trying to understand LLVM. Can an expert tell me how to compare the kaleidoscope implementation with the LLVM's compiler implementation. I mean can anyone tell me about the lexer, parser, codegen related .cpp and .h files inside the LLVM solution project. I would like to understand the LLVM's compiler in the same
2010 Mar 16
1
[LLVMdev] Help with understanding LLVM
Hi,
I went through the front end part of the clang (a bit atleast) and I went
through some of the documentation on the llvm.org website and was trying to
know what happens after the front end is done with the code. Could you tell
me how does llvm comes into picture as soon as clang part of the interface
deals with the source code.
Thanks.
On Tue, Mar 16, 2010 at 12:55 AM, Bill Wendling
2006 Dec 15
6
Query regarding linking R with Matlab
Thank you sir for your prompt reply.
Currently i am stuck at point where I need to call an available Matlab program from an R 2.4.0 interface. How can I do this? I have downloaded the R.matlab file and also the manual in pdf. But still i am not able to get through the problem. I will be grateful to you if you can elaborate me on this.
Awaiting your reply,
regards,
Bhanu Kalyan K
2007 Feb 27
1
Problem with R interface termination
Dear Sir,
The R interface that i am currently using is R 2.4.1( in Win XP). I am not able to terminate the program by giving the q() command. Each time I pass this command,
> q()
Error in .Last() : could not find function "finalizeSession"
this error creeps in and it neither allows me to save my workspace nor come out of R. Therefore, whenever this happens, I am forced to end the
2010 Mar 16
2
[LLVMdev] Help with understanding LLVM
Hi,
I am trying to understand LLVM. Can an expert tell me how to compare the
kaleidoscope implementation with the LLVM's compiler implementation. I mean
can anyone tell me about the lexer, parser, codegen related .cpp and .h
files inside the LLVM solution project. I would like to understand the
LLVM's compiler in the same way that the kaleidoscope compiler is explained.
Thanks a lot.
2010 Apr 18
3
[LLVMdev] .so file creation for new passes
Hello,
I was going through the LLVM docs "writing an LLVM Pass". Can someone tell
me how to create the Hello.so file as it is said in the document. It talks
about compiling the Hello pass using gmake. I am a Windows user (windows 7,
cmake, visual studio 9 2008). I cant use cmake here as this hello pass has
links to the llvm's solution file, I mean It uses some of the header files
2010 Feb 19
1
[LLVMdev] Cbackend is C99?
Hi,
I would like to know if the command
llc -march=c hello.bc
generates a c99 file or not. Is the cbackend target meant to be c99 or
normal C.
--
Kalyan Ponnala
phone: 8163772059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100219/e67c7a73/attachment.html>
2010 Mar 29
1
[LLVMdev] llvm2cpp executable
Hi,
I am using visual studio 2008's generated solution file for clang/llvm. I
was looking at the online demo where it gives out llvm2cpp program along
with the llvm IR of the C code. I could not find any executable in the /bin
directory for llvm2cpp.
I was wondering if there is either source or executable of the llvm2cpp
program that is used by llvm demo available for either llvm-2.7
2010 Apr 16
2
[LLVMdev] understanding the opt tool
Hello,
I am trying to understand the opt tool. I wrote a program and created the
.bc file using clang. And I used this .bc file to generate another .bc file
using the opt tool. I dis-assembled this bitcode file and compared the
output with previous unoptimized bitcode file. It was the same. I am not
sure how to check the difference. Can anyone tell me if this is how we check
the optimized output
2006 Dec 30
2
Evaluating Entire Matlab code at a time
Hi.
On 12/30/06, Bhanu Kalyan.K <kalyansikha at yahoo.com> wrote:
> Dear Mr.Bengtsson,
>
> The steps you have suggested are working for single lines of matlab
> statements. But, as i mentioned earlier, If i want to see the output of an
> entire matlab code (say swissroll.m) then you suggested me to do
> res <- evaluate(matlab, "swissroll").
> When i did
2010 Apr 18
0
[LLVMdev] .so file creation for new passes
Thanks a lot for the reply guys. So, does that mean that I cant write my own
passes if I work on Windows side of the LLVM? Is there any other way to use
a new pass. How are windows users supposed to work?
Thanks again.
On Sun, Apr 18, 2010 at 7:16 AM, Anton Korobeynikov <anton at korobeynikov.info
> wrote:
> > If you compile llvm, the Hello library will be compiled too. It's
2007 Jan 16
1
Request regarding cluster package
Dear Mr. Bengtsson,
I see that there is a package exclusively for clustering data, named as "Cluster Package" in R library. It has some clustering algorithms implemented.
Can you tell me how to implement the CLARA and PAM functions from that package for my data?
Bhanu Kalyan K
B.Tech Final Year, CSE
Tel: +91-9885238228
Alternate E-Mail:
reach4kalyan@gmail.com
2010 Feb 14
2
[LLVMdev] -march=c option not working
Hello,
I am trying to build llvm/clang using cmake and visual studio 2008 on
windows vista. I want to convert the llvm bitcode file hello.bc into C code.
I saw in the documentation that
"llc -march=c hello.bc" would convert the bitcode and generate a c code
file. but it says
llc:error: invalid target "c"
could you tell me why is it not working. and what is the way to convert
2010 Mar 21
1
[LLVMdev] Help with Metadata
Hi,
Could someone tell me how does a part of the source code get translated into
metadata in the LLVM IR.
and what kind of code gets parsed into metadata.
Thanks
--
Kalyan Ponnala
phone: 8163772059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100320/cd883472/attachment.html>
2010 Apr 17
0
[LLVMdev] understanding the opt tool
Hi Kalyan,
> opt -strip-dead-prototypes -f <filename.bc> filename2.bc
you have to specify the list of passes to run. -strip-dead-prototypes
only removes unused declarations. If there are none, it will do nothing.
Try:
opt -std-compile-opts -f <filename.bc> filename2.bc
Ciao,
Duncan.