search for: shuguang

Displaying 20 results from an estimated 21 matches for "shuguang".

2008 Nov 04
1
How to generate a new factor variable by two other factor variables
...d factorB, factorA factorB 0 0 0 0 1 0 0 1 1 1 Is there a simple way to generate a new 4-levels factor variable as factorC factorA factorB 0 0 0 0 0 0 1 1 0 2 0 1 3 1 1 -- Shuguang Sun Fudan University, China
2012 Sep 21
1
BRugs has a bug to use "OpenBUGS_PATH"
...ndows > findOpenBUGS.R " file. It contains the function definition of findOpenBUGS. In line 38 "version.inst <- NA" should be "version.full <- NA". Otherwise, version.full can not be found if I set the environment variable "OpenBUGS_PATH". Thank you all. Shuguang Sun
2009 Jul 14
0
[LLVMdev] Writing pass for llc
On Sun, Jul 12, 2009 at 2:09 PM, shu<shuguang.feng at gmail.com> wrote: > Is there a beginner's tutorial/documentation on how to write passes > for the llc tool?  I've managed to write some simple analysis passes > for the opt tool but can't figure out how to do the same for llc. > What is the proper way to integrate...
2011 Apr 23
2
Could I use R function lm or nlm in C code?
...ctly? I thinks these functions are not included in the R's include directory. Do I need to get full R's source first? If I have get all R's source, is it enough that I only include the source file for function lm or nlm? system: Windows XP R 2.13.0 Rtools 2.13 Thanks for your advice. Shuguang Sun Fudan University
2009 Jul 12
3
[LLVMdev] Writing pass for llc
Is there a beginner's tutorial/documentation on how to write passes for the llc tool? I've managed to write some simple analysis passes for the opt tool but can't figure out how to do the same for llc. What is the proper way to integrate a new MachineFunction pass with llc? Is there a way to register passes and selectively enable them on the command line (as with opt) or do I need to
2011 May 23
1
how could I use function in-visible to user in my code?
Dear R user, How could I use function in-visible to user in my code? For example 'survfitKM' or 'survfit.formula' in package survival. These functions are in-visible to user. Thanks, Shuguang
2001 Aug 02
1
Missing value in Rpart
...for example, if the question is, how satsified are you with such and such, and the response goes on a 1-5 scale, is the missing treated as another 'value' on the scale, as a categorical response independent of the 1-5 scale, or as not part of the response at all, e.g., missing? Thank you, Shuguang Chen -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at...
2009 Sep 10
1
[LLVMdev] Loading ProfileInfo in Backend. (Was: [PATCH] & Question: Preserving ProfileInfo for backend.)
Hi, Shuguang Feng wrote: > Thanks for such a rapid response! > >> Don't know about Passes in the backend, but this could be a problem of >> an FunctionPassManager trying to use a ModulePass. > > I manually applied the patch you provided for llc (I'm using the 2.5 > release o...
2009 Jul 15
2
[LLVMdev] Writing pass for llc
Devang Patel wrote: > On Sun, Jul 12, 2009 at 2:09 PM, shu<shuguang.feng at gmail.com> wrote: > >> Is there a beginner's tutorial/documentation on how to write passes >> for the llc tool? I've managed to write some simple analysis passes >> for the opt tool but can't figure out how to do the same for llc. >> What is the...
2009 Sep 09
0
[LLVMdev] [PATCH] & Question: Preserving ProfileInfo for backend.
Hi, Shuguang Feng wrote: > Does the current LLVM backend support reading in profile information > (without preserving across transformations)? An earlier poster Yes, it does. > http://groups.google.com/group/llvm-dev/browse_thread/thread/4bd65dbe84394bb7 > > noted that accessing execution count...
2009 Sep 09
2
[LLVMdev] [PATCH] & Question: Preserving ProfileInfo for backend.
Hi, Does the current LLVM backend support reading in profile information (without preserving across transformations)? An earlier poster http://groups.google.com/group/llvm-dev/browse_thread/thread/4bd65dbe84394bb7 noted that accessing execution counts in a MachineFunction pass (using the BasicBlock* corresponding to the respective MachineBasicBlock) returned 0 for all blocks. Running llc with
2009 Sep 09
2
[LLVMdev] [PATCH] & Question: Preserving ProfileInfo for backend.
Thanks for such a rapid response! > Don't know about Passes in the backend, but this could be a problem of > an FunctionPassManager trying to use a ModulePass. I manually applied the patch you provided for llc (I'm using the 2.5 release of LLVM not ToT) and it fixed my compilation error. When your patch replaced the FunctionPassManager used by llc with a PassManager the error went
2009 Jul 19
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
...between the tutorial Makefile and the makefile used for lib/Transformation/Hello), by commenting out the following line: #LLVMLIBS = LLVMCore.a LLVMSystem.a LLVMSupport.a I guess the tutorial needs some update, as with release 2.5 things might have changed a bit. Thanks for the reply Chuck Shuguang Feng wrote: > Hey Chuck, > > I'm afraid I can't reproduce your error but...a problem you may run > into later is that opt will complain with > > opt: llvm/lib/VMCore/Pass.cpp:149: > void<unnamed>::PassRegistrar::RegisterPass(const llvm::PassInfo&): > Assert...
2009 Sep 10
0
[LLVMdev] Loading ProfileInfo in Backend. (Was: [PATCH] & Question: Preserving ProfileInfo for backend.)
> What does "llc -debug-pass=Structure" say? Is the ProfileLoaderPass > really the last pass to touch the ProfileInfo before you are using it? Below is the sequence of passes that I see. Although the NoProfileInfo pass is being run, it should be subsequently overridden by ProfileInfoLoaderPass (LoaderPass) correct? Target Data Layout Create Garbage Collector Module Metadata
2009 Sep 10
2
[LLVMdev] Loading ProfileInfo in Backend. (Was: [PATCH] & Question: Preserving ProfileInfo for backend.)
Shuguang Feng wrote: >> What does "llc -debug-pass=Structure" say? Is the ProfileLoaderPass >> really the last pass to touch the ProfileInfo before you are using it? > > Below is the sequence of passes that I see. Although the > NoProfileInfo pass is being run, it should be...
2009 Jul 19
0
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
Hey Chuck, I'm afraid I can't reproduce your error but...a problem you may run into later is that opt will complain with opt: llvm/lib/VMCore/Pass.cpp:149: void<unnamed>::PassRegistrar::RegisterPass(const llvm::PassInfo&): Assertion `Inserted && "Pass registered multiple times!"' failed. Aborted I "fixed" this by replacing the LLVMLIBS line in
2009 Jul 17
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
While learning to write LLVM passes and following the precise instructions under http://llvm.org/docs/WritingAnLLVMPass.html, <http://llvm.org/docs/WritingAnLLVMPass.html> I got this error when loading the hello pass to run the test program: opt -load ./Release/lib/Hello.so -hello < test/test.bc > /dev/null Error opening './Release/lib/Hello.so': ./Release/lib/Hello.so:
2009 Jul 20
0
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
> Question: is there a good/quick/reliable way to figure out whether a > certain gcc compiler will mis-compile? http://llvm.org/docs/GettingStarted.html#brokengcc lists documented problems with different versions of gcc. I use gcc-4.3.2 with ubuntu 8.10 and haven't had any problems > 2. I ran into exactly the problem you pointed out. (Thank you) > The Makefile needs some update
2006 Dec 29
0
What's meaning of the lambda in nlrq output
I used the nlrq function in the package "quantreg". There is a lambda in the output when I set trace=TRUE. With different start point, the results are converged, but the last lambda is different. I want to know the meaning "lambda=1" and "lambda=0". Many Thanks! Examples of output 1. Where the last lambda=1: 108.6581 : 0.3 8.0 iter 0 value 108.658087 final
2005 Nov 22
1
what does the it when there is a zero events in the Logistic Regression with glm?
Dear all, I have a question about the glm. When the events of an observation is 0, the logit function on it is Inf. I wonder how the glm solve it. An example: Treat Events Trials A 0 50 B 7 50 C 10 50 D 15 50 E 17 50 Program: treat <- factor(c("A", "B", "C", "D", "E")) events <- c(0, 7, 10, 15,