Long long time ago in a galaxy far far away, I've played with the LaF package
for reading large CSV files. But it's been a while and I don't remember its
performance and limitations. Give it a trial.
Horace
-Original Message-
From: r-help-boun...@r-project.org
I follow Alan Lenarcic's very helpful tutorial on building R package for
Windows (XP), which could be found in
www.stat.columbia.edu/~gelman/stuff_for_blog/AlanRPackageTutorial.pdfhttp://www.stat.columbia.edu/~gelman/stuff_for_blog/AlanRPackageTutorial.pdf.
The package involves a small dll
-project.org] On
Behalf Of Horace Tso
Sent: Thursday, December 23, 2010 10:31 AM
To: r-help
Subject: [R] problem installing R on ubuntu
Following the official instructions to install R on ubuntu 10.04, I issued this
command on the prompt,
sudo apt-get install r-base
Here is the error msg,
Reading
Following the official instructions to install R on ubuntu 10.04, I issued this
command on the prompt,
sudo apt-get install r-base
Here is the error msg,
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean
, December 23, 2010 10:57 AM
To: Horace Tso
Cc: r-help
Subject: Re: [R] problem installing R on ubuntu
On Thu, Dec 23, 2010 at 6:30 PM, Horace Tso horace@pgn.com wrote:
Following the official instructions to install R on ubuntu 10.04, I issued
this command on the prompt,
sudo apt-get install r-base
Folks, the rgl 0.91 binary for windows seems corrputed. WinZip complains the
downloaded zip file is not a valid archive. I had no luck with R-forge either.
Could someone point me to the latest production ready binary?
Thks.
H
[[alternative HTML version deleted]]
Folks,
The projection pursuit regression function in the base R seems to crash when
the optimization level is set to zero, i.e. the initial ridge terms are
accepted without refitting. I encountered this problem in an out-of-sample
prediction exercise using predict. But further investigation
Steve, I'm not sure if your task could be accomplished with a ready-made
function in party. But, if you could manage to convert your tree structure to a
dendrogram, then it's straightforward using dendrapply. In fact, there is an
example in dendrapply help page showing how leaves are colored.
How about
data[,colnames(data)%in%colnames]
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Jonathan Flowers
Sent: Friday, July 09, 2010 11:27 AM
To: r-help@r-project.org
Subject: [R] select columns from vector of column names
Li li,
I know many S-language old timers would tell you to use - over = for
assignment. Speaking from my own painful experience of debugging S/R codes, I
much much much prefer '='. In fact, I'd like to see the R language get ride of
'-' as the assignment operator.
Here is why.
x = -5:10
x
statements. Those extra
keystroke translate into quite a bit more wear on your fingers.
H
-Original Message-
From: Erik Iverson [mailto:er...@ccbr.umn.edu]
Sent: Friday, June 18, 2010 1:23 PM
To: Greg Snow
Cc: Horace Tso; li li; r-help
Subject: Re: [R] questions on some operators in R
Certainly not. I'm just too lazy.
-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: Friday, June 18, 2010 2:57 PM
To: Horace Tso
Cc: Erik Iverson; Greg Snow; r-help
Subject: Re: [R] questions on some operators in R
On Jun 18, 2010, at 5:15 PM, Horace Tso
Tso
Subject: RE: [R] questions on some operators in R
And the 2nd example?
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: Horace Tso [mailto:horace@pgn.com]
Sent: Friday, June 18, 2010 3:09
type conversion can be carried out on some columns of
a data frame without using a loop.
Thanks.
Horace Tso
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
Guys, many thanks. lapply works. Did not occur to me as I thought lapply
returns a list and the receiving entity is a data frame.
H
-Original Message-
From: William Dunlap [mailto:wdun...@tibco.com]
Sent: Tuesday, June 08, 2010 2:22 PM
To: Horace Tso; r-help@r-project.org
Subject
: -4.562e+05 == AIC = 912360.4 [1 deg.freedom]
Last question : why are some of z-values infinite?
Thanks in advance.
Horace Tso
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Thought I should copy the list with Matthieu's response.
H
-Original Message-
From: Matthieu Stigler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 8:29 PM
To: Horace Tso; [EMAIL PROTECTED]
Subject: Re: [rkward-devel] questions on RKWard
some answer only for the third
How about
x = matrix(sample(1:10, 100, replace=T), ncol=10)
table(as.vector(x))
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rostam shahname
Sent: Monday, August 11, 2008 1:42 PM
To: r-help@r-project.org
Subject: [R] number of an element in a matrix
My last email went out faster than I could think. Actually no need to coerce a
matrix to a vector.
x = matrix(sample(1:10, 100, replace=T), ncol=10)
table(x)
H
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Horace Tso
Sent: Monday, August 11, 2008 2
Take a look at the systemfit package. A constraint on a parameter, like the one
you described, could be implemented using R*beta0 = q, where R is R.restr and q
is q.restr in the function call. I haven't tried it but it's easy to test with
some data.
Horace
-Original Message-
From:
I'll add my $0.02 as I've just gone thru a (painful) transition to Linux. In my
case Ubuntu didn't quite work for reason I'm still not sure (must be hardware +
driver issue). I eventually put on opensuse 10.3 and installed R in an rpm
pkgage on the command line. Getting R in was not simple. I
Daniel, allow me to step off the party line here for a moment, in a problem
like this it's better to code your function in C and then call it from R. You
get vast amount of performance improvement instantly. (From what I see the
process of recoding in C should be quite straight forward.)
H.
Leo, do you mean GMM as in Generalized Method of Moment? If so i've posted a
similar question here before and the answer appears to be none at this time.
Horace
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leo Correia
Sent: Tuesday, May 27, 2008
On the 64-bit part, I tested 2.7.0 on a Dual Core Lenovo ThinkPad and was able
to allocate memory beyond 2G. Have not done much else otherwise but it seems to
work just fine.
H
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Monica Pisica
Sent:
Stas, this doesn't solve your problem but may shed some light on what might
have gone wrong. Just recently I installed R 2.7.0 under openSuse 10.3 in a
brand new 64-bit Lenovo ThinkPad. The first install failed because of a
dependency error just like yours. It complained it couldn't find BLAS
Hi folks,
Is there an implementation of generalized method of moments in R? I did do a
help.search but found no hit. Site search found this gmm estimator function in
the package sde but not sure what it is.
Having browsed the codes in Finmetrics, I naively thought it won't be too hard
to
Irina, you must have them in character format. You need to convert to Date type.
mydates = as.Date(mydates, %m/%d/%Y)
HTH.
Horace
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Irina Burmenko
Sent: Wednesday, November 28, 2007 11:44 AM
To: Horace Tso
Doug and the football fans out there,
I'm no football expert myself. But here is what my colleague said after reading
the posting.
I can't help you with the equation, but I can say that the polls are very poor
predictors of performance. The reason they do such a bad job is that pollsters
28 matches
Mail list logo