Displaying 20 results from an estimated 8000 matches similar to: "memory problem"
2005 Jun 14
3
Calling C from Fortran
I would like to call C routines from Fortran under linux as suggested in
section 5.6 of
the "Writing R extensions" documentation.
I'm familiar with Fortran but not with C.
I understand the example provided in Fortran:
subroutine testit()
double precision normrnd, x
call rndstart()
x = normrnd()
call dblepr("X was", 5, x, 1)
call rndend()
end
but I don't understand
2005 Mar 24
3
client-server setup for R
I am currently the only use-R at my company, but they are considering
buy a more powerful server and letting multiple people use it. They
asked me if R supports client-server setups. I know S+ has a server
version that does that. I didn't find anything about that on CRAN,
but hopefully someone can correct me.
I did see some stuff about R web servers
2002 Sep 18
1
memory allocation
Dear all;
I experienced a memory allocation error while running gnls:
> wBlplfe.wc <- update(wBlplfe.w, corr=corAR1())
Error: cannot allocate vector of size 37950 Kb
In addition: Warning message:
Reached total allocation of 256Mb: see help(memory.size)
Increased memory limit to 512, 640 M, the allocation error
persisted:
> memory.limit(512)
NULL
> wBlplfe.wc <-
2005 Jun 15
2
need help on computing double summation
Dear helpers in this forum,
This is a clarified version of my previous
questions in this forum. I really need your generous
help on this issue.
> Suppose I have the following data set:
>
> id x y
> 023 1 2
> 023 2 5
> 023 4 6
> 023 5 7
> 412 2 5
> 412 3 4
> 412 4 6
> 412 7 9
> 220 5 7
> 220 4 8
> 220 9 8
> ......
>
Now I want to compute the
2002 Apr 23
3
error loading huge .RData
Dear R-help,
I've run into a problem loading .RData: I was running a large computation,
which supposedly produce a large R object. At the end of the session, I did
a save.image() and then quit. The .RData has size 613,249,399 bytes. Now I
can't get R to load this .RData file. Whenever I tried, I get "Error:
vector memory exhausted (limit reached)". I tried adding
2005 May 02
14
eigenvalues of a circulant matrix
Hi,
It is my understanding that the eigenvectors of a circulant matrix are given as
follows:
1,omega,omega^2,....,omega^{p-1}
where the matrix has dimension given by p x p and omega is one of p complex
roots of unity. (See Bellman for an excellent discussion on this).
The matrix created by the attached row and obtained using the following
commands
indicates no imaginary parts for the
2005 Feb 22
1
Loading C functions into R
Hi everybody,
I have the source of a C program that includes some archives .c and some
libraries .h. I'm developing a program using R and I want it to load the C
program I told before. How can I do that? I was looking for some function in
R to do that and I found the .C() but I can't understand how it works.
Somebody could help me?
Thanx,
Talita Perciano Costa Leite
Graduanda em
2003 Mar 07
5
Moving average
Hi,
Does anyone know if R has the functionality to calculate a simple moving
average. I cant seem
to find it in the help menu.
thanks,
Wayne
Dr Wayne R. Jones
Statistician / Research Analyst
KSS Group plc
St James''s Buildings
79 Oxford Street
Manchester M1 6SS
Tel: +44(0)161 609 4084
Mob: +44(0)7810 523 713
KSS Ltd
A division of Knowledge Support Systems Group plc
Seventh
1999 Oct 21
2
problems with memory allocation
I hope that someone has had a similar trouble and will be able to
help us :
We , have installed the R package in a Digital Workstation with 500Mb
of
RAM memory, running under Unix operating system. The package works fine
but when we try to start the program with more than 120Mb, (vsize
- --120M) the
workstation refuses to allocate this memory. The message that we get
is:
Fatal error:
2002 Apr 16
6
Classification Analysis
Hi everyone,
Could somebody explain to me what is the package/function for
classification analysis. I am performing analysis of music files in the form
of MIDI files. I end up with about 750 dependent variables from the
analysis, I also have a number of independent/grouping variables that I set
manually. What I would like is to be able to predict which group a
particular MIDI files belongs to
2002 Apr 23
2
Bug in read.table() (PR#1477)
The following command,
temp <- read.table("c:/rfr/r/test.txt")
reads the text file "test.txt", which contains the following lines:
21437
21438
21419-2
21420-2
21421-2
21422-2
and produces the following result:
> temp
V1
1 21437+0i
2 21438+0i
3 0+0i
4 0+0i
5 0+0i
6 0+0i
>
These "numbers" are actually sample ID's, and I
2002 Jul 30
4
chisq.test, basic question
The cells are interpreted as counts, so by scaling you're analyzing a
different experiment (one with fewer observations). So the chi-squared value
will change (the terms (O-E)^2/E in the statistic scale linearly ignoring
rounding and "Yates' continuity correction").
The chisq.test on the original data is a test of association. Conventionally
you decide ahead of time on a
1999 May 15
2
vsize and nsize
I am running R version ??? under Redhat 5.2. It seems as though the
--nsize object has no effct on the size of the allocated Ncells as
determined using gc(). Yes, I have that much data....
That is if I envoke R with
R --vsize 100 --nsize 5000000
then type
gc()
I get
free total
Ncells 92202 200000
Vcells 12928414 13107200
Thanks
Tony Long
Ecology and Evolutionary Biology
Steinhaus
2005 May 05
2
Precision in R
Could anyone help me with the following issue.
Using the GSL library in R I define the following code:
#########
library(gsl);
S<-function(n)
{ r<-0:n;
ans<-sum(gsl_sf_choose(n,r)*(-1)^r*2^(2*r)*gamma_inc(6-2*r,2))
ans }
#########
>SS(10) yields 34.91868
>SS(40) yields 5.340422
>SS(60) yields 180.3162
Doing the same computations in maple I get
2005 Mar 30
2
about memory
here is my system memory:
ronggui at 0[ronggui]$ free
total used free shared buffers cached
Mem: 256728 79440 177288 0 2296 36136
-/+ buffers/cache: 41008 215720
Swap: 481908 60524 421384
and i want to cluster my data using hclust.my data has 3 variables and 10000 cases.but it fails and saying have not
2003 Feb 27
2
multidimensional function fitting
Take a look at package mgcv. Hope this helps. --Matt
-----Original Message-----
From: RenE J.V. Bertin [mailto:rjvbertin at despammed.com]
Sent: Thursday, February 27, 2003 1:39 PM
To: r-help at stat.math.ethz.ch
Subject: [R] multidimensional function fitting
Hello,
I have been looking around for how to perform a multidimensional, arbitrary
function fit (in any case non-linear; more below),
2004 Apr 14
4
binary numbers
Hi,
Is there a function in R that lets one represent an integer in binary
format for a given number of bits? So an example would be....
> binary.function(num=5, num.of.bits=8)
> "00000101"
Or, is this something I have to write myself?
Any help would be appreciated.
Cheers,
Sam.
2005 Jul 28
3
using integrate with optimize nested in the integration
Hi guys
im having a problem getting R to numerically integrate for some function,
say f(bhat)*optimize(G(bhat)), over bhat. Where id like to integrate this over some finite range, so that here as we integrate over bhat optimize would return a different optimum.
For instance consider this simple example for which I cannot get R to return the desired result:
f <- function(bhat) exp(bhat)
g
2004 Mar 04
2
adding trend to an arima model
Hi,
Does anyone know a method for adding a linear/polynominal trend to a
simulated arima model using the arima.sim function?
Any help will be greatly appreciated.
Cheers,
Sam.
2002 May 22
1
a more specific question about qda
Perhaps, I should complement my previous e-mail question:
I am trying to select variables through a quadratic discriminant analysis.
It seems to me that a robust criterion is the value of the discriminatory
power
(i.e. the ratio of the separation of the class means to within-class
variance)
How can I obtain this ratio from V & R's qda() output ?
Thanks
(I hope this question is relevant)
--