Displaying 20 results from an estimated 1100 matches similar to: "Huge matrix: allocation works but assignment fails"
2012 Aug 29
1
spatial correlation in lme and huge correlation matrix (memory limit)
Hi,
I'm trying to introduce a (spatial) exponential correlation
structure (with range=200 and nugget.effet of 0.3) in a lme model of
this form: lme(ARBUS~YEAR, random=~1|IDSOUS).
The structure of the data is "IDSOUS" "XMIN" "YMAX" "YEAR" "ARBUS"
with 2 years of data and 5600 points for each year.
I do:
2011 Aug 02
2
Memory limit in Aggregate()
Dear all,
I am trying to aggregate a table (divided in two lists here), but get a
memory error.
Here is the code I'm running :
sessionInfo()
print(paste("memory.limit() ", memory.limit()))
print(paste("memory.size() ", memory.size()))
print(paste("memory.size(TRUE) ", memory.size(TRUE)))
print(paste("size listX ", object.size(listX)))
2009 May 19
0
File too big for filehash?
Dear R users,
I try to use a very large file (~3 Gib) with the filehash package. The
length of the dataset is around 4,000,000 obs. I get this message from R
while trying to "load" the dataset (named "cc084.csv"):
> dumpDF(read.csv("cc084.csv", header=T), dbName="db01")
Erreur : impossible d'allouer un vecteur de taille 15.6 Mo (French)
Error:
2007 Jul 04
0
Kmeans performance difference
Hi All,
A question from a newbie using R 2-5-0 on windows XP. Why is it that
kmeans clustering with apparently the exact same parameters behaves so
differently between the two following examples :
> cl1 <- kmeans(subset(pointsUXO15555, select = c(2:4)), 10)
Takes about 2 seconds to deliver a result
> cl1 <- clust(subset(pointsUXO15555, select = c(2:4)), k=10,
2012 Mar 01
0
Memory problem in R
Hi all, I am running an -MNP- multinomial probit model package using R. It gives me the following objection instead of giving me the results:
Erreur : impossible d'allouer un vecteur de taille 137.9 Mo (in english: cannot allocate a 137.9 Mb vector memory).
I have already increased the memory size upto 2047Mb. This problem has been discussed in 2008 (archives) but no profitable answers were
2012 Aug 07
4
help to program my function
HI
>i have a problem please help me to solve it:
http://r.789695.n4.nabble.com/file/n4639434/aj.pdf aj.pdf
>i want to calculate the vecteur a[j] where j: 1...8
>this is the code in R:
>aj.fun <- function(j, i, X, z, E, beta0, beta1){
+ n <- length(X)
+ iX <- order(X)
+ iz <- order(z)
+ e1 <- -(beta)*z[ iz[1:(i - 1)] ]
+ numer <- E[j] - sum( X[ iX[1:(i - 1)] ]
2001 Nov 05
1
Problem to transfer Splus functions
Hello
I would like to transfer some Splus functions in R.
But I have a problem first about this assignation in Splus :
xnom <- deparse(substitute(x))
I am a bad programmer : I don't understand the R help
How to modify these functions ?
Thank you very much for your help
Here are the four functions and a data test
2009 Jun 15
2
Bin Category Labels on Axis
Hi,
I'd really appreciate if someone could give me some help or advice about
this - I've tried everything I know and am clueless about how to proceed!
I've written a script to import ASCII data of raster maps, bin them into
categories, calculate the mean values within these bins and plot the two in
a simple graph. I'm running into problems with my x axis, as R cannot add
the bin
2010 Jan 22
2
Optimizing C code
Hi the list,
I need to write some efficient distances function, so I read the code
for the Euclidean distance.
I do not understand the purpose of the line 11 : if x[i] and y[i] are
not NA (line 9), can dev be NA ?
Christophe
#define both_FINITE(a,b) (R_FINITE(a) && R_FINITE(b))
#define both_non_NA(a,b) (!ISNAN(a) && !ISNAN(b))
1. static double R_euclidean2(double *x, double
2005 Jan 24
1
hist() and database
Hello,
I'm a new R user and I'm having a little trouble getting started. I'm
hoping
someone can help me out. I read numbers (integer) from a SQL database.
Some calculations as mean()are possible but hist() give an error. Here
are the commands:
library(RMySQL)
Loading required package: DBI
> con <- dbConnect(dbDriver("MySQL"), dbname = "test")
>
2005 May 16
1
graphic
Hi,
poids taille fumeur sexe sport etat
85 184 oui homme 1 malade
65 175 oui homme 1 malade
74 180 oui homme 2 gueri
79 175 oui homme 2 malade
71 165 non homme 3 gueri
80 185 non homme 3 gueri
75 180 non homme 4 malade
69 155 non homme 4 malade
74 168 oui
2006 Feb 21
1
I need your help
Hi,
Dear R users
I have problem with the following code. The matrix result must be a matrix
(3x3). But I have obtained a matrix(3x1) and I don't know why.
So, I need your help
Best regards
#####################################################################
taille <- function (delta, t, prob = 0.2)
{
niv.conf <- c(0.90, 0.95, 0.99)
if(niv.conf <- 0.90) {
t <- 1.645
}
2007 Apr 12
9
taille de caractère
en fait je vous renvoi ce message car maintenant la taille de la police change au bout de 500 lignes environ, alors que j''avais reussi à garder la taille jusqu''à environ 5000 lignes.
Je ne comprend pas. Est-ce que c''est instable?
le bout de code que vous m''avez envoyer ne marche pas.
merci
Sebastien
_______________________________________________
wxruby-users
2009 Dec 12
4
grid et boxsizer
Bonjour.
Une fois mon application ouverte, je voudrais savoir, si cela est
possible, comment dimensionner automatiquement la totalité des colonnes
du grid à la taille de mon boxsizer, quand je change la taille de mon
application? (puique mon grid est inséré dans mon boxsizer).
merci
2011 May 05
7
Draw a nomogram after glm
Hi all R users
I did a logistic regression with my binary variable Y (0/1) and 2
explanatory variables.
Now I try to draw my nomogram with predictive value. I visited the help of R
but I have problem to understand well the example. When I use glm fonction,
I have a problem, thus I use lrm. My code is:
modele<-lrm(Y~L+P,data=donnee)
fun<- function(x) plogis(x-modele$coef[1]+modele$coef[2])
2008 Nov 20
5
File size limit in 2Gb
Hi all,
I mounted by smbmount a partition on a winNT machine without problem... but
when i tried to copy a file whitch have size more than 2 Gb i have the
following error : Overflow size allowed for a file (translated from
french ;-) :D?bordement de la taille permise pour un fichier )
PS. the file system of the harde drive is NTFS
PS. The command of smbmount : /usr/sbin/smbmount
2012 Jan 19
4
[LLVMdev] What happened to "malloc" in LLVM 3.0 IR?
Hello folks,
I have a compiler written with LLVM 2.6 by a student that produces .ll files, It behaved fine at the time.
Trying to take the work over using version 3.0, I run into the problem that "malloc" in the IR is no longer valid:
semac1 menu > llvm-as Carre.ll
llvm-as: Carre.ll:68:14: error: expected instruction opcode
%_malloc = malloc i8, i32 %2 ;
2009 Oct 14
1
problem when resizing graphics devices
Dear R users,
When I try to resize a graphics device in R, I often get this warning
message (mostly when I already have several other graphics devices open)
: "Not enough memory to modify the size. Alpha blending is desactivated"
(translation from the french message: "Mémoire insuffisante pour
modifier la taille. L'"alpha blending" est désactivé"). Following
2010 May 04
1
aregImpute (Hmisc package) : error in matxv(X, xcof)...
Dear r-help list,
I'm trying to use multiple imputation for my MSc thesis.
Having good exemples using the Hmisc package, I tried the aregImpute function. But with my own dataset, I have the following error :
Erreur dans matxv(X, xcof) : columns in a (51) must be <= length of b (50)
De plus : Warning message:
In f$xcoef[, 1] * f$xcenter :
la taille d'un objet plus long n'est pas
2004 Jul 22
2
Programmation pour MLE
Bonjour,
Je veux cherché l’estimateur de vraisemblance maximal (MLE)d’une fonction à 3 paramètre inconue étant donné une échantillon de taille 50 (les observations des valeurs de x) alors comment je peux procédé
La fonction de densité est définie par :
f(x)= 1/3(g(a1)+g(a2)+g(a3))
avec g(ai)=(exp(ai)*ai^x)/x! pour i=1,2,3.
Je vous remercie beaucoup.
A. Elhabti