Displaying 20 results from an estimated 900 matches similar to: "optimization with Sparse matrices"
2006 May 16
1
memory
To whom it may concern,
I seem to be encountering RAM problems using R. I am currently running R
2.2.0 in Windows XP version 2002. My computer has 4 GB of RAM. The
problem I am encountering is that R does not seem to allow me to obtain
more than 1.5GB of RAM as I construct various matrices.
I have already pre-allocated 3.5 GB of RAM as in the command line I entered
under
2011 Oct 19
1
ar() - AIC and BIC
Hi,
I'm slowly working through Tsay's "Analysis of Financial Time Series"
3rd ed. ?I'm trying to replicate Table 2.1 on p.47, which gives PACF,
AIC, and BIC for the monthly simple returns of the CRSP value-weighted
index.
The data:
http://faculty.chicagobooth.edu/ruey.tsay/teaching/fts3/m-ibm3dx2608.txt
> da <-
2010 Aug 10
4
[PATCH] Values of cpu_weight and cpu_cap are lost after xend restart
# HG changeset patch
# User Lutz.Dube
# Node ID ca2c8c262dbaa6b2521cec60af7cd688dabdf850
# Parent 8992134dcfd0b9e1e86f4111e68a8aa48bd33c3c
Values of cpu_weight and cpu_cap are lost after xend restart
For managed domains in state ''halted'' I always get default values
for cpu_cap / cpu_weight after xend restart.
This is because the names of parameters differ between a SXP file to
2012 Oct 10
7
multiple t-tests across similar variable names
Hi everyone-
I have a dataset with multiple "pre" and "post" variables I want to compare. The variables are named "apple_pre" or "pre_banana" with the corresponding post variables named "apple_post" or "post_banana". The variables are in no particular order.
apple_pre orange_pre orange_post pre_banana apple_post post_banana
person_1
2006 Mar 23
1
RMySQL's column limit
Dear R-users,
First, thank you to the developers for the very useful R-library RMySQL.
While using this library a recieved an error message:
RS-DBI driver: (could not run statement: Too many columns)
The statement that generated the error was:
dbWriteTable(dbcon, "simdataseries", template, overwrite = TRUE,
row.names = FALSE )
I am assuming this is a RMySQL rather than MySQL limit.
2009 Apr 13
3
tapply output as a dataframe
i use tapply and by often, but i always end up banging my head against
the wall with the output.
is there a simpler way to convert the output of the following tapply to
a dataframe or matrix than what i have here:
# setup data for tapply
dt = data.frame(bucket=rep(1:4,25),val=rnorm(100))
fn = function(x) {
ret =
c(unname(quantile(x,probs=seq(.25,.75,.25),na.rm=T)),mean(x,na.rm=T))
}
a =
2003 Sep 20
1
modelling open source software
The following paper may be of interest to some. The author is generous about
sharing a recently revised version.
<A HREF="http://papers.ssrn.com/sol3/papers.cfm?abstract_id=259648">http://papers.ssrn.com/sol3/papers.cfm?abstract_id=259648</A>
[[alternative HTML version deleted]]
2002 Sep 16
2
HELP!!! Problems with Hidden dot files
Hi all,
I am having a real bizarre problem with Samba 2.2.2 on Solaris 8. I have
set up the smb.conf to share all user's home folders, and want to ensure
that all dot files are visible. The problem I am having is that the dot
files all appear except for one specific one (which happens to be the exact
file that is needed!). I can see it when I telnet, but not using Samba.
The dot file is a
2008 Mar 10
1
Check errors using R2.6.2
I can successfully "check" a package with source under 2.5.1, including
compiling source files and running examples with no errors or warnings.
when I try with R2.6.2, I get make errors:
making bayesmc.d from bayesmc.c
make[3]:gcc-sjlj: Command not found
etc.
my gcc is version 3.4.2
I'm using Windows XP.
Any thoughts?
thanks!
peter r
................................
Peter
2007 Sep 16
1
Factorial, L-moments, and overflows
Hi everyone,
In the package POT, there is a function that computes the L-moments of a given sample (samlmu). However, to compute those L-moments, one needs to obtain the total number of combinations between two numbers, which, by the way, requires the use of a factorial. See, for example, Hosking (1990 , p. 113).
How does the function "samlmu" in the package POT avoids overflows?
I
2005 Apr 09
1
advice on crafting examples for packages
Folks-
I have developed a package which I am planning on posting to CRAN.
I include examples for each of the 40 or so functions in the package.
However, since the examples are non-trivial and the package is
using MCMC simulation methods, it takes about 20 minutes to run the complete
set of examples on a 2.8 Ghz windows PC. The R process reaches a high
water mark of about 100 MB of memory as
2006 Jan 04
1
Samba works only with ROOT & Samba Client can't access Windows XP Shares
I just started learning to use Samba. I just have the default shares it
starts with. When I try to access them I can only use the ROOT account to do
it. How can I use my normal account, that I have on the system, to access my
shares from another networked computer?
The other computer is running Windows XP and I setup shares on there as well.
When I browse for host I can see it but it wont
2011 Feb 03
2
tapply output as a dataframe
On Mon, Apr 13, 2009 at 12:41 PM, Dan Dube <ddube-at-advisen.com> wrote:
> i use tapply and by often, but i always end up banging my head against
> the wall with the output.
The proposed solution of Dan's problem posted on R-help was:
> do.call(rbind,a)
When I use this 'solution' I get 'ERROR: second argument must be a list'. So head on wall continues.
My
2005 May 25
0
: Aremos TSD files
Hi
I try to read Aremos files but with any succes, could you help me please.
Thanks
Eric Dubé
Éric Dubé
Économiste / Economist
Groupe économie et stratégie (dép. 657) / Economic & Strategy Team (Dept.
657)
Financière Banque Nationale / National Bank Financial
1155 Metcalfe 5e étage / 5th floor
Montréal H3B 4S9
(514) 879-2579
eric.dube@fbn.ca
2008 Jan 04
3
slow access to matrix dimnames
hello,
i have been trying to convert my data frames to matrices in the hopes of
speeding up some of my more complicated scripts.
to assist with this, i am trying to create a "matrix column operator"
like $:
"%$%" = function(data,field) {
as.numeric(data[,grep(field,unlist(dimnames(data)[2]))])
}
the idea here is that you can use a matrix like a dataframe:
2005 Apr 13
1
package submission and binary versions
Dear r-help-
>From reading the CRAN web page, it appears that you should not submit
precompiled binary versions of your package, but rather that these
are built for you by someone working with CRAN. I submitted my
package using R CMD build but without the binary flag on. I'd like
to have a binary version available for Windows users. Should I submit
a precompiled binary version as well?
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
We are pleased to announce the release of version 0.0 of bayesm on CRAN.
bayesm covers many important models used in marketing
and micro-econometrics applications.
The package includes:
Bayes Regression (univariate or multivariate dep var)
Multinomial Logit
Multinomial and Multivariate Probit
Multivariate Mixtures of Normals
Hierarchical Linear Models with a normal prior and covariates
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
We are pleased to announce the release of version 0.0 of bayesm on CRAN.
bayesm covers many important models used in marketing
and micro-econometrics applications.
The package includes:
Bayes Regression (univariate or multivariate dep var)
Multinomial Logit
Multinomial and Multivariate Probit
Multivariate Mixtures of Normals
Hierarchical Linear Models with a normal prior and covariates
2005 Apr 23
0
patch release of bayesm
Folks-
a patch release of bayesm, v0.0-1, is now available on CRAN. This release corrects some errors in the help pages as well as one error in the function rhierLinearModel involving an incorrect default prior setting.
peter
................................
Peter E. Rossi
Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics
Editor, Quantitative Marketing and Economics
Rm
2005 May 20
0
Version 1.0-1 of bayesm
Version 1.0-1 of bayesm is now available on CRAN.
This is our first "production" version which include s much improved documentation as well as five data sets used in our book, Bayesian Statistics and Marketing.
peter r
................................
Peter E. Rossi
Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics
Editor, Quantitative Marketing and Economics