Displaying 20 results from an estimated 6000 matches similar to: "Trouble with the memory allocation"
2001 Dec 31
2
Extracting/setting elements from/in a matrix/array
Dear all,
I had to extracts/set elements from/in a matrix. Let say I have two
vectors dim1 and dim2 of indices in the respective two dimensions of a
matrix: I want to extract all the corresponding elements. I the case of a
nxn matrix, dim1 <- 1:n and dim2 <- 1:n would extract the diagonal.
I know one way would be to use the functions 'row' and 'col', but the
matrixes I
2003 Apr 09
1
'Apparently' trouble with name spaces and Sweave...
Ben Bolstad experienced something odd while running R CMD check over
a package of ours using r-devel (yesterday's fresh).
He tracked down the problem to a vignette calling 'library(MASS)'.
Please kindly ignore if this is a known (and temporary) issue.
Laurent
----- Forwarded message from Ben Bolstad <bolstad@stat.berkeley.edu> -----
Return-Path:
2001 Oct 22
1
No subject
Dear all,
I may have overlooked something but the following piece of code causes me
trouble:
> a_data.frame(1:4)
> a
X1.4
1 1
2 2
3 3
4 4
> apply(a,2,cat)
1 2 3 4Error in ans[[1]] : subscript out of bounds
> apply(a,1,cat)
1234NULL
Is this the fact my data.frame has only one dimension ?
(and do I forget somewhere (but where ?) to specify not to 'drop'
2001 Oct 27
1
trouble with data.matrix
Dear all,
The following causes me trouble:
> a <- data.frame(2:5,3:6,4:7)
> str(a)
`data.frame': 4 obs. of 3 variables:
$ X2.5: int 2 3 4 5
$ X3.6: int 3 4 5 6
$ X4.7: int 4 5 6 7
> str(data.matrix(a))
int [1:4, 1:3] 2 3 4 5 3 4 5 6 4 5 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:4] "1" "2" "3" "4"
..$ : chr
2001 Jul 19
1
Compiling R-1.3.0-patched on OSF1
Dear R-users,
I currently have trouble in trying to compile R-1.3.0-patched on Compaq
OSF1.
--------
>uname -a
OSF1 adenine.fysik.dtu.dk V4.0 1229 alpha
--------
The 'configure' step ended seemingly corretly:
-----------------------
R is now configured for alphaev6-dec-osf4.0f
Source directory: .
Installation directory: /home/adenine/sysman/laurent/share/
C
1999 Sep 13
2
increasing memory size
Help!
I've done this before but can't remember how to do it, and can't find any
reference to it in the docs I have access to now.
I need to increase --vsize (I think), as I'm getting a message when I
start my R session "vector heap too small to load data".
How does one exactly do this, and what is the default setting? I don't
know how much to increase it by.
I know
2003 Mar 11
1
R CMD check (again)
Hi,
R-devel causes me still trouble. It dies with
Error: couldn't find function "predict.loess"
Execution halted
for the package affy, but
bash-2.04$ grep predict.loess ~/R-devel/src/library/modreg/R/*.R
/misc/homes/laurent/R-devel/src/library/modreg/R/loess.R:predict.loess <- function(object, newdata = NULL, se = FALSE, ...)
bash-2.04$
..the function seems to be there...
2001 Aug 13
1
jpeglib.h in a strange place
Dear All,
Would anybody have any advice to give on that:
The Facts:
- I installed (compiled) R on SGI IRIX (6.5)
- I am not root
- I discovered the jpeg device I need now badly doesn't work
(postscript is not so happy with 19 millions spots)
- after investigation, it appeared the jpeglib.h was detected not recent
enough at configure time
- the jpeglib.h in /usr/include is version 6a
- the
2001 Nov 19
2
reading tiff files
Dear all,
I am looking for a way to read tiff data into R (this could be something
the pixmap package users could find intersting).
I could not find anything related but I suspect something to
exists...somewhere... is it really the case ?
Thanking in advancing for help/pointers,
Laurent
--
Laurent Gautier CBS, Building 208, DTU
PhD. Student D-2800 Lyngby,Denmark
tel: +45 45 25
2001 Jun 12
1
trouble to install the Rstream package
Dear R-users,
I successfully installed the package Rstreams under linux, but my first
attempt to do so on SGI IRIX 6.5 (64bits) lead to the following error
message.
--------------------
laurent at genome> R CMD INSTALL Rstreams
Installing source package `Rstreams' ...
creating cache ./config.cache
checking for ftruncate... yes
checking size of long double... 16
updating cache
2001 Aug 08
2
Library hdarray
Dear everybody!
I m seeking the package named hdarray for the analysis of microarrays
data.
It must not included in the base packages.
Thanks in advance.
Aboubakar Maitournam.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2003 Jul 15
2
Keeping track of occurrence of warning message
Hi there,
I am interested if there is anyway to keep track of the occurrence of
warning message.
I know that warnings will only be printed out at the end of the program
if warn=0. However I am also interested at which particular set of data
does the warnings occur too. This is because I am running 1000 data, so
if there are 2 or 3 data that give warnings, I would like to know which
are the ones
1999 Aug 30
1
interface w/ emacs (PR#261)
Full_Name: Laurent Gautier
Version: 0.65.0
OS: mips SGI-Irix 6.5
Submission from: (NULL) (195.110.4.98)
Using R through emacs with ess5.1.8, I cannot set R workspace (--vsize and
--nsize).
So far I was using R0.64.2 without such a problem. I am aware my bug report is a
bit light,
but just let me know if anything I could do with my R and emacs would be of any
help for\
specifying better what is
2003 Mar 17
2
search function
Could any one tell me there is a search
function for R-help Archives?
Thanks
2001 Nov 24
4
about the function order()
Dear all,
I have recently experienced something with the function order I cannot
explain:
The help(order) (which I admit having overlooked before) rises even more
my confusion...
The following lines made me think order() was returning the 'order' each
value in a vector would take when sorted.
> a <- c(4.1, 3.2, 6.1)
> order(a)
[1] 2 1 3
Doing
> plot(a,
2001 Oct 24
0
Re: Compiling R v 1.3.1 under Irix 6.5 on SGI Origin
Hello Laurent, Ray and Greg,
I tried the gmake settings.
Yet, I still got an Error code 1 message when I run the test.
running regression tests
don't know how to make ../library/base/R/base (bu42).
*** Error code 1 (bu21)
Thanks you if you have any idea.
Manuel
-----Message d'origine-----
De : Laurent Gautier [ mailto:laurent at genome.cbs.dtu.dk
<mailto:laurent at
1999 Nov 12
1
R-0.65.1 Startup
Dear R users,
I have noticed that my R startup is extremely slow. It takes almost 3
minutes from "double-click" to R prompt. I have been running R-0.64.1 till
recently and it took about 30 sec. I still have access to R-0.64.1. When I
started it up, it took about 25 sec. Can anyone tell me if this is a bug in
R or a problem with my machine?
Note: This is after bootup with R being the
2010 Jan 19
2
Server hanging despite efforts to correct memory limits
My group is working with datasets between 100 Mb and 1 GB in size, using
multiple log ins. From the documentation, it appears that vsize is limited
to 2^30-1, which tends to prove too restrictive for our use. When we drop
that restriction (set vsize = NA) we end up hanging the server, which
requires a restart. Is there any way to increase the memory limits on R
while keeping our jobs from
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
2000 Nov 09
3
maximum of nsize=20000k ??
Dear R-ers,
somehow it is not possible to increase nsize to more than
20000k. When I specify e.g.
> R --vsize=10M --nsize=21000K
the result is:
free total (Mb)
Ncells 99658 350000 6.7
Vcells 1219173 1310720 10.0
Maybe I have overlooked s.th....
Marcus
--
+-------------------------------------------------------
| Marcus Eger
| E-Mail: eger.m at gmx.de (NEW)
|