Displaying 20 results from an estimated 1000 matches similar to: "Installing RMySQL with MySQL-4.0.12 on Debian Linux"
2003 Apr 18
1
MCMCpack gelman.plot and gelman.diag
Hi,
A question. When I run gelman.diag and gelman.plot
with mcmc lists obtained from MCMCregress, the results are following.
> post.R <- MCMCregress(Size~Age+Status, data = data, burnin = 5000, mcmc = 100000,
+ thin = 10, verbose = FALSE, beta.start = NA, sigma2.start = NA,
+ b0 = 0, B0 = 0, nu = 0.001, delta = 0.001)
> post1.R <- MCMCregress(Size~Age+Status, data
2002 Apr 10
1
Layout of Fourier frequencies
I'm doing convolutions in the frequency domain and need to know the
layout of the Fourier modes returned by fft. (This is leading up to a
more involved question about moment generating functions, but I need to
know if I've got this part correct first.)
I think in 1D the pattern is:
0 1 2 3 -2 1 (even)
0 1 2 3 -3 2 1 (odd)
In 2D is it simply (for a square matrix):
0 1 2 -1 (horizontal)
2005 Oct 26
1
syntax for interactions in lme
Hello,
I am trying to make the switch from SAS, and I have a fairly elemental
problem with syntax using the nlme package for analyzing mixed models.
There was a previous question on this topic posted to this list, so I
apologize for redundancy, but I didn't understand the advice given to
that inquiry. The model I want to run has the following factors:
Host (fixed)
Sire (random)
Dam
2001 Jul 10
1
Object finalization
I see some code in R to attach finalizers to external pointer references
(Register[C]Finalizer). Anyone have an example of how to code the
finalizer? R_RegisterCFinalizer accepts a C function, but I can't see
how to get it to operate on the pointer, since the pointer is not passed
to the function when its called. RegisterFinalizer takes an R closure,
but how is it called from R (tried
2005 Oct 30
1
Help with Subtracting an effect from a Mixed Model
Hi Everyone,
I posted a similar question about a week ago, but haven't gotten any
replies -- I'm afraid that's because my previous question was too
vague. Let me try again with a more specific question, and I hope
someone can help. NOTE, I know I should be using the newer lme4
package, I just haven't had a chance to update my version of R yet, so
the question below relates
2001 Jul 31
1
"internal" keyword
I seem to remember something about an "internal" keyword for R doc
files. How do we use it?
Tim
--
Timothy H. Keitt
Department of Ecology and Evolution
State University of New York at Stony Brook
Stony Brook, New York 11794 USA
Phone: 631-632-1101, FAX: 631-632-7626
http://life.bio.sunysb.edu/ee/keitt/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2001 Aug 28
1
Suggested change to documentation
Its not clear from the documentation whether one should do
\keyword[key1, key2}
or
\keyword{key1}
\keyword{key2}
in .Rd files. I believe the latter is correct. (At least 'R CMD check'
complains when given the first version.) It would help to make this
explicit in the R extension writing docs.
Tim
--
Timothy H. Keitt
Department of Ecology and Evolution
State University of New
2001 Nov 01
1
migration to common runtime?
I'm curious if any of the core R developers have considered the
possibility of hosting R (v2?) on the parrot common runtime environment.
Perl6 will generate byte-code for parrot, as will some future version of
python. I can imagine both drawbacks and advantages. Some advantages
would be fast byte-code execution and freely mixing perl, python and R
modules. Anyone looked into this?
Tim
2002 Mar 19
1
should lapply preserve attributes?
I have an application where I need to preserve object attributes across
calls to 'lapply'. The current definition is:
lapply <- function (X, FUN, ...)
{
FUN <- match.fun(FUN)
if (!is.list(X))
X <- as.list(X)
rval <- .Internal(lapply(X, FUN))
names(rval) <- names(X)
return(rval)
}
Would it make sense to replace
names(rval) <- names(X)
2002 Apr 27
1
Question about .Call
Can a C function wrapped with .Call return void? Or must it return a
valid SEXP? Thnx.
Tim
--
Timothy H. Keitt
Department of Ecology and Evolution
State University of New York at Stony Brook
Stony Brook, New York 11794 USA
Phone: 631-632-1101, FAX: 631-632-7626
http://life.bio.sunysb.edu/ee/keitt/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing
2016 Jul 26
2
[LLVMdev] Interprocedural use-def chains
Thanks for your reply.
Yes, I was about to recurse over the use list of the argument in the called
function. I did not want to pursue that because with this solution, I am
going to implement the interprocedural part myself and was wondering if
that was not already done. I was not also 100% sure that this will work for
any type of arguments.
If, based on your response, this is my only solution
2016 Jul 26
2
[LLVMdev] Interprocedural use-def chains
Hello,
I have been using the USE class to access the use-def chains of different
values. However, what I have noticed is that the set of users of a
particular value is limited for the appearance of that variable in the
current function.
How can I get the interprocedural use of a particular value? For example,
if a variable *a* is used as an argument in a function call *foo*, the USE
analysis
2003 May 02
2
stepAIC/lme (1.6.2)
Based on the stepAIC help, I have assumed that it only was for lm, aov, and
glm models. I gather from the following correspondence that it also works
with lme models.
Thomas Lumley 07:40 a.m. 28/04/03 -0700 4 Re: [R] stepAIC/lme problem
(1.7.0 only)
Prof Brian Ripley 04:19 p.m. 28/04/03 +0100 6 Re: [R] stepAIC/lme problem
(1.7.0 only)
Prof Brian Ripley 06:09 p.m. 29/04/03 +0100 6 Re: [R]
2012 Nov 05
2
[LLVMdev] Unable to Run Inline Asm with MCJIT
Hi,
I am first year PhD student at Stony Brook University. For one of my projects I am trying to JIT compile and run a C program containing inline assembly using MCJIT but I am not able to.
I have cloned and build LLVM-3.1. Below are more details.
Arch : x86
OS : Linux ubuntu 2.6.35-22-generic
Sample program : test_inline_asm.c
-------------------
#include <stdio.h>
int main(){
int
2002 Mar 22
1
name spaces?
I'm revisiting the R/S DBI package and was wondering if there is any
plan to implement package name spaces in R/S. I've taken to the habit of
prepending a few characters to function names in packages to avoid
collisions, e.g., dbConnect(). An alternative would be DBI::connect()
(s/::/preferred/) which in some ways I find more pleasing. Not having
thought about it in detail, it seems pretty
2012 Nov 05
0
[LLVMdev] Unable to Run Inline Asm with MCJIT
Hi Amit,
You're not doing anything wrong. This is an error in 'lli' not properly initializing the native target libraries. Fixed in SVN trunk r167392.
-Jim
On Nov 4, 2012, at 4:09 PM, Amit Arya <aarya at cs.stonybrook.edu> wrote:
> Hi,
>
> I am first year PhD student at Stony Brook University. For one of my projects I am trying to JIT compile and run a C program
2012 Nov 05
1
[LLVMdev] Unable to Run Inline Asm with MCJIT
Hi Jim,
Thanks for the reply. I was able to figure out the problem in 'lli'. InitializeNativeTargetAsmParser() was missing in lli.
I should have replied back saying that the problem was resolved. Hope I didn't waste your time.
Regards,
Amit
________________________________
From: Jim Grosbach [grosbach at apple.com]
Sent: Monday, November 05, 2012 2:07 PM
To: Amit Arya
Cc: LLVM
2013 Oct 11
2
[LLVMdev] Building for a specific target, corei7
Hi,
I am using the LLVM JIT infrastructure (MCJIT). I wanted to see if there are any performance gains as the compiler can detect the target CPU at runtime. But, I didn't see any improvement (I compile with -no-mmx and -no-sse).
I then tried an experiment, where I compiled the program with clang-3.3, with and without specifying the target cpu as "corei7". I was shocked to see that
2012 Aug 25
2
[LLVMdev] How to Check whether BasicBlock resides in a conditional branch
2012/8/25 Iaroslav Markov <ymarkov at cs.stonybrook.edu>:
> Can't you do it by performing some analysis on CFG? You can traverse that structure with BFS. And after that for all the BB you have visited more than once, you try to find a parent that has a branch instruction as a terminator. Additionally you ensure that there are no BB with branches as terminators on your way. If such
2016 Jul 31
0
[Openmp-dev] How to get the function definition of a kmpc_micro call
Thanks Arpith for this pointer but it did not contain what I was looking
for.
However, I solved my issue by finding that the BitCastInst used when
outlining OpenMP parallel region offers a method for retrieving the
original value within the bitcast via stripPointerCasts().
So what I did to retrieve omp_outlined..45 is:
//bitcast is the third argument of __kmpc_fork_call
Value *vcall =