Displaying 20 results from an estimated 2000 matches similar to: "translate octave code to R"
2003 Jan 02
2
nonparametrics databank for analisys
I'm looking for data to use with nonparametrics exploration technics.
I'm a undergraduate student in statistics at the Unicamp (Brazil), and
i've to make a project (with orientation of a professor). I choose
nonparametrics statistics to make the project. But in this project i must
have to use a databank and present analisys.
So, if somebody give me indications where i can find
2002 Aug 09
2
time series and R
Hi,
Are there some texts about time series that teatches it with R?
And site 'bout time series "for dummies" , can anyone indicate them for me?
thanks a lot
Rafael Bertola
Undergraduate in Statistics at UNICAMP - Brasil
--------------------------------------------------
--------------------------------------------------
2012 Apr 09
0
[LLVMdev] Function and inheritance
Hello again,
So, after some changes, I inserted intentionally values with use in other modules, and I get the following error:
While deleting: i1 %
Use still stuck around after Def is destroyed: %c = phi i1 [ false, <badref> ]
[...]
Assertion failed: (use_empty() && "Uses remain when a value is destroyed!"), function ~Value, file
2015 Nov 28
2
endwhile jumping out of macro
Hi
I have a 3 level nested while-endwhile loop in a macro that when the
execution reaches endwhile, it is jumping out to the While at the caller
macro.
It shouldn't since the are instructions after the endwhile.
-- Executing [s at macro-call-from-outside:72] EndWhile("DAHDI/i1/1234567-4a7f", "") in new stack
== Channel 'DAHDI/i1/1234567-4a7f' jumping out of
2003 Jun 24
2
Haw I get best lambda in box-cox
Hi all,
Does anyone know of a function that return the best lambda in box-cox
transformation?
many thanks for any help.
--
Cristiane S. Rocha
Laboratorio Genoma Funcional - Bioinform?tica
Centro de Biologia Molecular e Engenharia Genetica
Universidade Estadual de Campinas
Campinas - SP - Brasil
Tel:(19)3788-1119
2013 Jun 25
0
[LLVMdev] get value
Oops, that's true: I forgot about that XD sorry =)
Glad I could help,
--
Cristianno Martins
PhD Student of Computer Science
University of Campinas
cmartins at ic.unicamp.br
<cristiannomartins at hotmail.com>
On Tue, Jun 25, 2013 at 4:38 AM, Alexandru Ionut Diaconescu <
cyrusthevirus001x at yahoo.com> wrote:
> Hi Cristianno,
>
> Thank you, it works :)
>
> with
2012 Apr 08
2
[LLVMdev] Function and inheritance
Hello guys,
So, I'm stucked in a problem involving a Function and a derived class. Well, I was refactoring part of my pass code, and created two classes in this process that are interesting here: class A and class B. Class B inherits from class A; on the other hand, class A has some pure virtual methods (already implemented in class B), and a Module, that holds only one auxiliary function (a
2003 Sep 19
3
Locate first index
Hi, all. I'd like to know if exists a manner to get the first index where
a condition is attained in a vector. For example,
There is a better solution than
first.index <- table(subject[corretor==27])[1]
(give me the subject for the first time that corretor is 27)?
Thanks,
========================================
Cezar Freitas (ICQ 109128967)
IMECC - UNICAMP
Campinas, SP - Brasil
2013 Feb 28
2
Samba 4 Replication Problem
Hi ,
I 've been trying to get my 2 Samba DCs to replicate between each other
but it fails
DC1: Freebsd-9.1-Release, Samba 4.02, hostname ldap1, objectGUID:
a2454bb4-9f94-4879-a5ff-c1a40537cb5e
DC2: Freebsd-9.1-Release, Samba 4.02, hostname ldap2, objectGUID:
0103c98e-0b54-4ca4-a4e5-2259fa6b0563
===the output showrepl command==========
[root at ldap1 ~]# samba-tool drs showrepl
2013 Jun 25
4
[LLVMdev] get value
Hi Cristianno,
Thank you, it works :)
with an extra cast:
Value *v ......
ConstantInt* RR = (ConstantInt *)v;
uint64_t VV = (RR->getValue()).getLimitedValue();
errs()<<"\nRR "<<VV<<"\n";
2005 Sep 05
1
Unexpected results with "While" and "EndWhile" applications
I seem to be having a conceptual problem with the "While" and
"EndWhile" applications. It seems that on the first cycle, even if
the result of the "While" is false that the enclosed applications
will get run. Is this expected? It seems to be counter-intuitive,
but I don't know what the intent of the While routines is. I could
of course put a
2012 Apr 04
2
[LLVMdev] BasicBlock predecessors list
Hi there,
I'm trying to get a list of predecessors of a BasicBlock. I'm using a code similar to that on here (http://llvm.org/docs/ProgrammersManual.html#iterate_preds), but it appears to be more nodes been iterating that it should. Now, when I print out the llvm IR, I get something like:
[…]
while.body: ; preds = %7, %while.cond
[…]
for a code that
2012 Mar 05
1
[LLVMdev] Problem using march=c
Hello again,
Thanks for the responses =)
Dmitry, I have two points to comment:
- First, I applied these two patches, and the .cbe.c file came out ok,
except for one little thing -- the global variable was created with
both modifiers: static and extern. Then, I just added a single guard
to prevent this to happen (in a case of a variable having local
linkage, the "extern" part was not
2013 May 31
2
[LLVMdev] Dead Code Elimination and undef values
Hello there,
I'm writing a transformation pass for LLVM, and I hoped to use dce to clean
up the resulting code after my pass. I just have some questions about
LLVM's dce implementation.
Well, my transformation is a function pass, and, after the changes are
made, some instructions are not needed anymore. In order to easily get rid
of those instructions, I'm setting all their uses to
2015 Jun 07
2
[LLVMdev] Loop Unfolding in LLVM
Hello,
I am looking for a loop unfolding procedure implemented in LLVM that helps
to transform a while-loop to n-layer If-statements. The transformation
should be on IR, although the example below is illustrated on the source
level.
original loop:
* WHILE (condition) DO
action
ENDWHILE*
Expected unfolded loop (2-layer):
* IF (condition) THEN*
* action*
* IF
2007 Nov 07
2
Save as postScrips latest R version
Hi,
I was using the 2.4.1 R version and I had no problem
saving my plots as postScript. Now that I have
installed the latest version 2.6.0 I can not save any
plot as postScript. When I try the following message
appears:
Erro: Invalid font type
Al?m disso: Warning messages:
1: font family not found in PostScript font database
2: font family not found in PostScript font database
What should I
2013 Jun 01
0
[LLVMdev] Dead Code Elimination and undef values
Hi Cristianno,
On 01/06/13 01:49, Cristianno Martins wrote:
> Hello there,
>
> I'm writing a transformation pass for LLVM, and I hoped to use dce to clean up
> the resulting code after my pass. I just have some questions about LLVM's dce
> implementation.
>
> Well, my transformation is a function pass, and, after the changes are made,
> some instructions are not
2012 Apr 04
0
[LLVMdev] BasicBlock predecessors list
Hi Cristianno,
> I'm trying to get a list of predecessors of a BasicBlock. I'm using a code
> similar to that on here
> <http://llvm.org/docs/ProgrammersManual.html#iterate_preds>, but it appears to
> be more nodes been iterating that it should. Now, when I print out the llvm IR,
> I get something like:
> […]
> while.body: ; preds = %7, %while.cond
> […]
>
2012 Mar 05
3
[LLVMdev] Problem using march=c
Hello everyone,
I've been trying to generate a C file using the llc tool, but I'm
having a problem. I'm using a single Hello World program in C, and
executing the following passes:
clang -emit-llvm -c -o hello.bc hello.c # getting the bit code of hello.c
llc -march=c hello.bc # generating the
hello.cbe.c file using the llvm C backend
So far, nothing weird
2009 Oct 09
1
Substituting the extracted coefficients into the formula, exctracted from the result of nls()
Dear all,
Here I come with another stupid question. Suppose I want to use nls()
to fit a series of data (here modelled by generated points), then plot
the points and the fitting curve. I figured out some way of doing it:
x <- runif(1:20, 0, 10)
y <- 0.1*x^2 - rep(3, length(x)) + rnorm(length(x), sd = 0.5)
yfit <- nls(y ~ a*x^2 + b*x + c,
start = list(a = 1, b = 1, c = 1),