search for: efficeintly

Displaying 3 results from an estimated 3 matches for "efficeintly".

Did you mean: effeciently
2017 Mar 20
1
Fwd: Possible memory problems with mallloc when called with .C()
Hello, I'm trying to calculate a certain distance estimator for my thesis. I have a program in C that works fine when I call it with .C() in R, but since I'm dealing with big matrices like 30000x20000 it was getting a stack overflow. Now I have the same program but more efficeintly coded using malloc, and it works perfectlry in C, compiles well with R CMD SHLIB but when I call it with .C() my pc basicly stops working independantly of the size of the matrices involved. The C code is the following (sorry it is a bit long): #include <stdio.h> #include <stdlib....
2010 Dec 10
0
R question: memory usage
Hi I have a large R progress that that is constently running into memory issues, I am trying to rewrite some of the code to make more efficeint However, one thing I have found is that the memory usage shown by gc() is very different from what i see from unix termilnal Garbage collection 2047 = 1398+243+406 (level 2) ... 12.4 Mbytes of cons cells used (3%) 998.6 Mbytes of vectors used (23%)
2010 Dec 11
0
is there a packge or code to generate markov chains in R
Hi, if i have data in the following time series format: time, amount, state 1 2222 A 1 333 B 2 45 A 2 77 B where states could be n and time periods t is there a package in R that would calculate the transition probabilities in a markov chain. for each t except t=0 to generate A B A B perhaps the best structure might