Anthony Liu [EMAIL PROTECTED] writes:
Thanks.
I do have readline.so. I just did not paste that part. Look.
[EMAIL PROTECTED] myuserid]$ slocate readline.so
/home/scratch/myuserid/usr/local/lib/python2.4/lib-dynload/readline.so
At 07:11 AM 11/6/2006, Jon Minton wrote:
Do any of you know any simple programming editors for R scripts which offer
basic colour-coding and bracket-matching facilities?
Dregging through scripts to find a missing comma or parentheses is something
I'd rather do less of...
Jon Minton
Well
If
zhijie zhang wrote:
Dear Rusers,
I want to know which function in R can perform the following tasks:
1.surface-data grid(x,y,z) #which could be done in splus, the name was from
splus's options of graph
2. contourplot(x,y,z) #which could be done in splus
By the way, where can i find
Xiaodong Jin wrote:
How to make it correct?
[1]
Error in parse(file, n = -1, NULL, ?) : syntax error at
1: {\
#source('c:/Documents and Settings/xxx/My Documents/Archives/R/test.r')
#source(c:\\Documents and Settings\\xxx\\My
Documents\\Archives\\R\\test.r)
Can you
Im, Kelly wrote:
Hello all,
I have 300 clusters of fixed size 2 and I need to do resampling with
replacement to run some regression models. I've searched through the
archive and the only thing I found was that I could use 'boot()'
function. but it's not clear to
me how I can do this. Has
Xiaomei Ma wrote:
I have drawn a map in which the X and Y axes are latitude and
longitude. Now I need to draw one circle on the map - the center is a
point with specific latitude and longitude, but the challenge is that
the radius is in miles. Is there a way to do this? I'd very much
I think the Bioconductor package PROcess has functions for that.
--
Bjørn-Helge Mevik
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
Hello Experts,
how do I reformat a data frame in the way described below:
df1:
IDdesc resist thick temp
1 4711 100 5 20
2 4712 101 4 21
3 4711 993 19
4 4712 987 22
TO
df2:
iddesc Param Value
1 4711 resist 100
1 4711
Christoph Buser wrote:
Dear Christine
I think the problem in your second model is that you are
including CORUMTO both as a fixed effect and as a random
effect.
That by itself should not be a problem. Here is an example in which
age appears in both the fixed and random part of a model:
Hi
I'm trying to create tables of means, standard deviations and numbers
of observations (i) for
each laboratory (ii) for each batch number (iii) for each batch at
each laboratory for the attached data.
I created these functions:
summary.aggregate - function(y, label, ...)
{
temp.mean
A function that works for me, assuming the Earth is close
enough to a sphere (which may or may not be true in your
application), follows below.
Hope this helps, Arien
# computes the place where you end up, if you travel a
certain distance along a great circle,
# which is uniquely defined by a
Dear Uwe Ligges ,
I still can't finish it.
* aa* #my data
x1 x2 y
50.05 6 4.4180
10.50 3 2.6979
40.50 9 2.9000
70.95 6 2.6230
80.95 6 2.9078
90.95 6 2.6727
31.40 3 2.4203
21.40 9 2.5329
6 1.85 6 2.4867
* attach(aa)*
* persp(x1,x2,y*
error in
Hello,
I am running R Version 2.3.1 (2006-06-01) on Kubuntu Edgy Eft 6.10 (problems
appreared after upgrading from previous version, but I don't know which
version of R was included then).
I have very weird problems with X11 device: it seems that it cannot display
correctly. For instance,
zhijie zhang wrote:
Dear Uwe Ligges ,
I still can't finish it.
* aa* #my data
x1 x2 y
50.05 6 4.4180
10.50 3 2.6979
40.50 9 2.9000
70.95 6 2.6230
80.95 6 2.9078
90.95 6 2.6727
31.40 3 2.4203
21.40 9 2.5329
6 1.85 6 2.4867
*
Hello,
I am running R Version 2.3.1 (2006-06-01) on Kubuntu Edgy Eft 6.10
(problems appreared after upgrading from previous version, but I don't know
which version of R was included then).
I have very weird problems with X11 device: it seems that it cannot display
correctly. For instance,
Hi
The problem is I'm first connecting to the Access database with
odbcConnectAccess and then select with a sqlQuery the dataframe.
In your solution you are typing it. But mine databases consist of
approximately 6 records.
Maybe you have another solution? Thanks in advance.
Regards,
Priya
Hi all!
i search but i found no info, so i'm heere to ask you! How can i
plot a graph using the probit scale on y axes?
thanks,
nelson
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Dear all,
I would like to produce a map with information about the patenting
activity in German districts, by coloring districts with different
degrees of patenting activity in different colors. I work with the
packages maptools, maps and spdep. The map data is read from an external
.shp file (+
On 11/7/2006 12:11 AM, Xiaomei Ma wrote:
I have drawn a map in which the X and Y axes are latitude and
longitude. Now I need to draw one circle on the map - the center is a
point with specific latitude and longitude, but the challenge is that
the radius is in miles. Is there a way to do
Hi,
Is there a printed version of S-poetry which can purchased or would I have
to print out and bind it myself?
Regards,
Benjamin
--
Benjamin Otto
Universitaetsklinikum Eppendorf Hamburg
Institut fuer Klinische Chemie
Martinistrasse 52
20246 Hamburg
[[alternative HTML
On Tue, 7 Nov 2006, Frosch, Katharina wrote:
Dear all,
I would like to produce a map with information about the patenting
activity in German districts, by coloring districts with different
degrees of patenting activity in different colors. I work with the
packages maptools, maps and spdep.
Gregexpr - extract results with lapply
Hello,
I need to extract sequences of three upper case letters in a string. In
other words, in this string:
str -c(ABC, this WOUld be gOOD)
The result I'm looking for is ABC WOU OOD.
With gregexpr, I can get the position and length of the
As far as I know, you are on your own. And it seems
like I would know.
Patrick Burns
[EMAIL PROTECTED]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and A Guide for the Unwilling S User)
Benjamin Otto wrote:
Hi,
Is there a printed version of S-poetry which can purchased
Benjamin Dickgiesser wrote:
Hi
I'm trying to create tables of means, standard deviations and numbers
of observations (i) for
each laboratory (ii) for each batch number (iii) for each batch at
each laboratory for the attached data.
I created these functions:
summary.aggregate -
try the following
df2 - reshape(df1[-1], idvar = id, direction = long,
timevar = Param, times = c(resist, thick, temp),
varying = list(c(resist, thick, temp)))
df2 - df2[order(df2$id, df2$desc), ]
rownames(df2) - 1:nrow(df2)
df2
I hope it helps.
Best,
Dimitris
Dimitris
I can only think of rather complex ways to solve the labeling issue...
I would appreciate it if someone could point out if there are
better/cleaner/easier ways of achieving what I'm trying todo.
Does this help?
g - function(y) {
s - apply(y, 2,
function(z) {
On Tue, 7 Nov 2006, Nicolas Mazziotta wrote:
Hello,
I am running R Version 2.3.1 (2006-06-01) on Kubuntu Edgy Eft 6.10
(problems appreared after upgrading from previous version, but I don't know
which version of R was included then).
I have very weird problems with X11 device: it seems
I'd get an external program to do it (e.g. ImageMagick) rather than
reinventing. But if I had to reinvent, I'd do it by creating a function
to interpolate [0,1] x [0,1] values from within the original image, and
evaluate that function at the appropriate spots within the bigger one.
Choosing
Please post general R help questions to the R-help mailing list.
The likely problem here is that your file isn't in the current working
directory. To avoid this problem, I often use the file.choose()
function to obtain a full path to the file, rather than typing the name
out myself.
Duncan
When using format.df with dec, the formating does not work (see code
below).
Any help appreciated how I could do the formating (I want to export to
LaTeX),
Rainer
I am using the newest version of Hmisc from CRAN, R version:
version
_
platform i686-pc-linux-gnu
arch
Try this:
library(gsubfn)
s -c(ABC, this WOUld be gOOD)
strapply(s, [A-Z]{3}, perl = TRUE)
See:
http://code.google.com/p/gsubfn/
On 11/7/06, Lapointe, Pierre [EMAIL PROTECTED] wrote:
Gregexpr - extract results with lapply
Hello,
I need to extract sequences of three upper case letters in a
Hi,
I am new to R and am still trying to get a grip of it.
I have data in this format:
Run Lab Batch Y
1 1 1 1 608.781
2 2 1 2 569.670
3 3 1 1 689.556
4 4 1 2 747.541
5 5 1 1 618.134
6 6 1 2 612.182
7 7 1 1 680.203
8
Ah I think I've got it:
boxplot(Y ~ Batch, data=data, horizontal=T,xlab=Y, ylab=Batch)
On 11/7/06, Benjamin Dickgiesser [EMAIL PROTECTED] wrote:
Hi,
I am new to R and am still trying to get a grip of it.
I have data in this format:
Run Lab Batch Y
1 1 1 1 608.781
2 2
Hi,
I am looking for genetic optimization package that allow to define my own
chromosome solution and crossover/mutation opoerations. I checked genoud and
genopt, not with much effort of 'cause, with no luck.
Any one can shed some light on this? thanks.
Benjamin Dickgiesser wrote:
Hi,
I am new to R and am still trying to get a grip of it.
I have data in this format:
Run Lab Batch Y
1 1 1 1 608.781
2 2 1 2 569.670
3 3 1 1 689.556
4 4 1 2 747.541
5 5 1 1 618.134
6 6 1 2
Thank you for your quick response. Basically, I am trying to test a
psychological model in which a person's level of passive, negative
communication with others in their environment (CORUMTO) on one week
predicts their level of depression on the following week (BDIAFTER)
controlling for their
On Mon, 2006-11-06 at 15:57 -0300, Eduardo Henrique Altieri wrote:
Since the databases that I handle with are very large, I need answers
to some questions:
1) Can I work with R data frames like databases in SAS, that is,
storing data frames in files instead of in memory?
2) Can I use SQL
Hi : I'm a R novice but I consider myself reasonably versed in time
series related material and
I have never heard of an equivalence between Garch(1,1) for volatility
and an ARMA(1,1) in the squared returns
and I'm almost sure there isn't.
There are various problems with what you wrote.
1) r(t)
Christine--
You have two and only two individuals per dyad; when you try to fit random
slopes at level-2 (within couples), you are attempting to estimate an
intercept,
slope, and covariance for each individual. Basically, you don't have enough
data to do it. If you restrict yourself to a
Thank you, that was exactly what I was looking for.
On 11/7/06, hadley wickham [EMAIL PROTECTED] wrote:
I can only think of rather complex ways to solve the labeling issue...
I would appreciate it if someone could point out if there are
better/cleaner/easier ways of achieving what
Hello everyone,
I've been fiddling around with the snow and Rmpi packages on my new Intel
Mac, and have run into a few problems. When I make a cluster on my machine,
both slaves start up just fine, and everything works as expected. When I try
to make a cluster including another networked machine
With the reshape package, I'd do it like this:
df - data.frame(LAB = rep(1:8, each=60), BATCH = rep(c(1,2), 240), Y
=rnorm(480))
dfm - melt(df, measured=Y)
Should be
dfm - melt(df, measure.var=Y)
(thanks to Chuck for pointing that out)
cast(dfm, LAB ~ ., c(mean, sd, length))
cast(dfm,
Dear all, I have read in a table using read.table(). The data frame looks like
this:
my_table
V1 V2
1 3 320
2 2 230
3 3 300
4 2 220
5 3 320
6 2 210
7 freq size
8 00
9 2 220
102 210
112 220
121 110
132 240
141 110
I
Rainer M Krug RKrug at sun.ac.za writes:
When using format.df with dec, the formating does not work (see code
below).
format.df(x, dec=2)
a b m 1 m 2
1 1.120 3 5 7
2 2.230 4 6 8
This is the same bug introduced in the latest version
I'm doing a cox regression with frailty:
model - coxph(Surv(Start,Stop,Terminated)~ X + frailty(id),table)
I understand that model$frail returns the group level frailty
terms. Does this mean this is the average of the frailty
values for the respective groups? Also, if I'm fitting it to
a gamma
Hello R Freaks,
is there a way to omit the counts in the first column of a data.frame.
Thanks a lot for your help
Thorsten
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Thanks Petr for taking a stab at it.
I have yet to figure out a way to do it, but if I do I'll post it.
Cheers
David
-Message d'origine-
De : Petr Pikal [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 3 novembre 2006 09:05
À : GOUACHE David; r-help@stat.math.ethz.ch
Objet : Re: [R] avoiding
Thorsten Muehge wrote:
Hello R Freaks,
I think it's been a few years since we were last referred to as freaks
(http://finzi.psych.upenn.edu/R/Rhelp02a/archive/4433.html).
is there a way to omit the counts in the first column of a data.frame.
I'm not sure what you mean, but does this help?
hi, experts
i do additive models analysis by mgcv. i want to extract every
smoothing componets from the gam object. how can i do ?
Thanks!
--
Sincerely yours,
Liu, jcheng
Department of Biomedical Engineering,
School of Medicine, Tsinghua University,
Beijing, 100084, China.
Dear Roger: Thank you for your help and the hint with the R-sig-geo list
(next time I'll post directly to it)!
I went again through all points you mentioned:
- polygons and rows of data are in the same order
- the number of polygons and data rows is identical
- I experimented with different
Hi
it would be nice if someone could tell me if I used the tests
correctly in the following code. I am trying to create a 2-tailed
i) F test for equality of variances
ii) t-test for equality of means
iii) Wilcoxon test for equality of means
data.ceramic - read.table(ceramic.dat,header=TRUE)
On Tuesday 07 November 2006 15:56, Randall C Johnson [Contr.] wrote:
Hello everyone,
I've been fiddling around with the snow and Rmpi packages on my new Intel
Mac, and have run into a few problems. When I make a cluster on my machine,
both slaves start up just fine, and everything works as
Sir I am very new user of R language. I have a problem. I have imported
data on R console and then i used save workspace option to save data. Is
it right way to save data. Then to read data in extremes toolkit using saved
workspace I got the following messages
Package extRemes: For a tutorial
Others have given some fairly basic solutions, but if you want the lines
to change color along their length instead of each segment being a
constant color, then there are a couple of other options.
One is to create the plot using a solid color, then use image
manipulation software like
The most likely culprit is firewall settings. Something like tcpdump
may help to confirm that. Working with a stand-alone example from
Rmpi may also help.
Best,
luke
On Tue, 7 Nov 2006, Randall C Johnson [Contr.] wrote:
Hello everyone,
I've been fiddling around with the snow and Rmpi
I am trying to do a Nonparametric Nemenyi test for multiple comparison in a two
way layout data because I need to know the exact distribution. I don´t know if
this test is in the R software. I just found a Nemenyi test for a one way
design. But in Hollander book the Nemenyi test is in page 253
Hi,
Our in-house AS400 based application produce a timer file as follows:
TranName,Date Time, TimeA,A+B, TimeB
MAC00029,20061027 112500.030,703,703,0
MAC00029,20061027 112500.342,703,719,16
MAC00056,20061027 112500.920,484,500,16
MAC00029,20061027 112501.186,812,812,0
MAC00029,20061027
Hello,
I have a (rather simple) data manipulation question.. I have a list with
many datasets within, each dataset has observations in a format which
looks like
id x1 x2 x3 x4 x5 x6 y1 y2 y3 y4 y5 y6
how can I stack them so that it'll be
id x1 x2 x3 x4 x5 x6
id y1 y2 y3 y4 y5 y6
for each
On 11/7/06 11:28 AM, Ramon Diaz-Uriarte [EMAIL PROTECTED] wrote:
On Tuesday 07 November 2006 15:56, Randall C Johnson [Contr.] wrote:
Hello everyone,
I've been fiddling around with the snow and Rmpi packages on my new Intel
Mac, and have run into a few problems. When I make a cluster on my
Joe == Joe Byers [EMAIL PROTECTED]
on Sun, 05 Nov 2006 08:23:46 -0600 writes:
Joe Gabor, Thank you very much. That is a wonderful
Joe article and will help very much. Might I ask which
Joe date schema do you prefer?
The only scheme that is part of standard R is the POSIX
Mark,
I totally agree that it doesn't make sense to compare arma with garch.
but to some extent, garch can be considered arma for conditional
variance. similarly, arch can be considered ma for conditional
variance.
the above is just my understanding, which might not be correct.
thanks.
On
Hi,
Having a matrix F(189,6575) I want to do this:
z1-subset(F[,1], F[,1] = 5 F[,1] = 10)
.
.
.
z189-subset(F[,189], F[,189] = 5 F[,189] = 10)
I would prefer to have an empty matrix, say 'z' in order to fill its
columns with the output of subsetting F. But each of the subsets can
differ in
Use a list to store the partial matrices:
z - vector(list, 189)
for(i in 1:189)
z[[i]] - subset(...)
-Christos
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of antonio rodriguez
Sent: Tuesday, November 07, 2006 2:01 PM
To: R-Help
Subject: [R]
Martin,
Thank you for your comments.
Joe
Martin Maechler wrote:
Joe == Joe Byers [EMAIL PROTECTED]
on Sun, 05 Nov 2006 08:23:46 -0600 writes:
Joe Gabor, Thank you very much. That is a wonderful
Joe article and will help very much. Might I ask which
Joe
*Can I extend Taka's question?*
**
*Many of my programs in (mainly simulations in R which are cpu bound) on a
year old PC ( Intel(R) Pentium(R) M processor 1.73GHz or Dell GX380
with 2.8Gh Pentium) are taking hours and perhaps days to complete on a
one year old
PC. I am looking at an upgrade but
Christos Hatzis escribió:
Use a list to store the partial matrices:
z - vector(list, 189)
for(i in 1:189)
z[[i]] - subset(...)
Hi Christos,
I've tried it but it died unexpectedly with a (Killed) message and the
linux console prompt again. I think I have enough memory (512) and a
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce
November - December courses:
(1) R/Splus Fundamentals and Programming Techniques
http://www.xlsolutions-corp.com/Rfund.htm
*** San Francisco / December 14-15, 2006
Hi,
I have a problem with installing packages without being a superuser(root) in
Linux(Suse 10.0 64bit). I've read the entire FAQ and R-admin but I couldn't
find a solution to my problem. I'm the admin of the computer but I want other
users to install whatever packages they want. Do you think
On Tue, 7 Nov 2006, Frosch, Katharina wrote:
Dear Roger: Thank you for your help and the hint with the R-sig-geo list
(next time I'll post directly to it)!
I went again through all points you mentioned:
- polygons and rows of data are in the same order
- the number of polygons and data
antonio rodriguez escribió:
Christos Hatzis escribió:
Use a list to store the partial matrices:
z - vector(list, 189)
for(i in 1:189)
z[[i]] - subset(...)
Hi Christos,
I've tried it but it died unexpectedly with a (Killed) message and the
linux console prompt again. I think I
options(CRAN='http://cran.r-project.org')
install.packages(RMySQL, type=source)
Warning: unable to access index for repository
http://www.ibiblio.org/pub/languages/R/CRAN/src/contrib
Warning: unable to access index for repository
http://www.stats.ox.ac.uk/pub/RWin/src/contrib
Warning
How about try:
R CMD INSTALL -l R_pkg_lib R_pkg
ahmet rasit wrote:
Hi,
I have a problem with installing packages without being a superuser(root) in
Linux(Suse 10.0 64bit). I've read the entire FAQ and R-admin but I couldn't
find a solution to my problem. I'm the admin of the computer but I
Greetings,
I have two matrices, read in from raster data stored in GRASS. Each matrix
represents the output of a aggregation process on categorical data (Nomial /
Ordinal) - derived from imagery.
I have compared these two data by the following methods:
* pretending the data is continuous
nelson - nelson1977 at gmail.com writes:
Hi all!
i search but i found no info, so i'm heere to ask you! How can i
plot a graph using the probit scale on y axes?
Not that I know, however you can transform y values via pnorm() i.e.
plot(x=x, y=pnorm(q=y, ...))
Gregor
Does any one know of comparisons of the Pentium 9x0, Pentium(r)
Extreme/Core 2 Duo, AMD(r) Athlon(r) 64 , AMD(r) Athlon(r) 64
FX/Dual Core AM2 and similar chips when used for this kind of work.
I think your best option, by far, is to answer the question on your
own. Put R and your programs on
Hi uRsers,
when inverting a 2 by 2 matrix using solve, I encountered a error message:
solve.default(sigma, tol = 1e-07) :
system is computationally singular: reciprocal condition number
= 1.7671e-017
and then I test the determinant of this matrix: 6.341393e-06.
In my program, I have a
A GARCH model can be regarded as an application of the ARMA idea to the
squared innovation series. See, e.g. Ruey S. Tsay, Analysis of Financial
Time Series, Wiley, 2nd edition, page 114.
Hannu
On 11/7/06, Wensui Liu [EMAIL PROTECTED] wrote:
Mark,
I totally agree that it doesn't make sense
but not the return squared squared which is what was written previously.
.
From: Hannu Kahra [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 3:54 PM
To: Wensui Liu
Cc: Leeds, Mark (IED); r-help@stat.math.ethz.ch; Megh Dal
Subject: Re: [R] Comparison
Except in the case of zero means, that is point (7) in your previous mail.
On 11/7/06, Leeds, Mark (IED) [EMAIL PROTECTED] wrote:
but not the return squared squared which is what was written previously.
.
--
*From:* Hannu Kahra [mailto:[EMAIL PROTECTED]
R-gurus,
I'm looking for (a) clustering method(s) (package(s)) that allow users to
add constraints. I would like to be able to use a currently existing
package and to include constraints that can be passed as functions of the
data. If that's not possible, can someone recommend a package that
Hi uRsers,
when inverting a 2 by 2 matrix using solve, I encountered a error message:
solve.default(sigma, tol = 1e-07) :
system is computationally singular: reciprocal condition number
= 1.7671e-017
and then I test the determinant of this matrix: 6.341393e-06.
In my program, I have a
Hello,
I am trying to read in elements out of a very large binary file ... the
total file is 4 gigs. I want to select rows out of the file, and the
current procedure I run works but is prohibitively slow (takes more than
a day to run and still won't complete). Is there any faster way to
Hi uRsers,
when inverting a 2 by 2 matrix using solve, I encountered a error message:
solve.default(sigma, tol = 1e-07) :
system is computationally singular: reciprocal condition number
= 1.7671e-017
and then I test the determinant of this matrix: 6.341393e-06.
In my program, I have a
In addition to the reshape solution posted one could use melt from
the reshape package:
melt(df1, id = 1:2)
On 11/7/06, Thorsten Muehge [EMAIL PROTECTED] wrote:
Hello Experts,
how do I reformat a data frame in the way described below:
df1:
IDdesc resist thick temp
1 4711
For heaven's sake, please stop sending repeat emails and send your R code
that can reproduce the error.
Ravi.
---
Ravi Varadhan, Ph.D.
Assistant Professor, The Center on Aging and Health
Division of Geriatric
I'd like to compare tests based on the mixed model representation of additive
models, testing among others
y=f(x1)+f(x2) vs y=f(x1)+f(x2)+f(x1,x2)
(testing for additivity)
In mixed model representation, where X represents the unpenalized part of the
spline functions and Z the wiggly parts,
You want to reshape from wide into long format: see help(reshape).
For your example this should look something like
df2 - reshape(df1, varying=list(c(resist,thick,temp)), direction=long,
v.names=c(Value), timevar=Param,
idvar=ID,
Hi all!
I do hope question from newcomers are wellcome here! Thanks in advance.
Trying to catch up and to acquired the needed background to easily
read R documents it is being a bit hard to me to get into the
required concepts to deal with data.
I am trying to get data from a MySQL database
Hi all.
I need some help computing multidimensional pvalues of a multivariate data
set.
chisq.test(x[,1],x[,2])$p.value
i need a command or loop that creates me a vector or a matrix (each variabe
with each variable) would be even better for the p.values of the variables
of a data set.
On Nov 7, 2006, at 6:25 PM, Ricardo Rodríguez - Your EPEC ICT Team
wrote:
library(RMySQL)
con - dbConnect(dbDriver
(MySQL),host='localhost',username='root',dbname='ibdona')
rs - dbGetQuery (con,select n,year from ibdona.library_location)
dbDisconnect(con)
Graph - barplot(rs)
And here
On 11/7/2006 4:54 PM, Matt Anthony wrote:
Hello,
I am trying to read in elements out of a very large binary file ... the
total file is 4 gigs. I want to select rows out of the file, and the
current procedure I run works but is prohibitively slow (takes more than
a day to run and still
Dear list members,
I have to combine dataframes together. However they contain different
numbers of variables. It is possible that all the variables in the
dataframe with fewer variables are contained in the dataframe with
more variables, though it is not always the case.
There are key
On 11/7/06, Denis Chabot [EMAIL PROTECTED] wrote:
Dear list members,
I have to combine dataframes together. However they contain different
numbers of variables. It is possible that all the variables in the
dataframe with fewer variables are contained in the dataframe with
more variables,
Denis,
On Nov 7, 2006, at 8:30 PM, Denis Chabot wrote:
Dear list members,
I have to combine dataframes together. However they contain different
numbers of variables. It is possible that all the variables in the
dataframe with fewer variables are contained in the dataframe with
more
y
[1] 1 11 42 64 108 173 214
t
[1] 1 2 3 4 5 6 7
nls(1/y ~ c*exp(-a*b*t)+1/b, start=list(a=0.001,b=250,c=5), trace=TRUE)
29.93322 :0.001 250.000 5.000
Error in numericDeriv(form[[3]], names(ind), env) :
Missing value or an infinity produced when evaluating the
hadley wickham said the following on 11/7/2006 8:46 PM:
On 11/7/06, Denis Chabot [EMAIL PROTECTED] wrote:
Dear list members,
I have to combine dataframes together. However they contain different
numbers of variables. It is possible that all the variables in the
dataframe with fewer
Hi all.
i am desperating. i need a matrix of p.values from an chi square test. i
had it already work but than my computer collapsed when taking the whole
data set 800x260 into account. i am sure it looked like this but it doesn't
work now. can anybody help me? thanks in advance.
Or, try this:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/77358.html
It's interesting to compare your implementation:
rbind.all - function(...) {
x - list(...)
cn - unique(unlist(lapply(x, colnames)))
for(i in seq(along = x)) {
if(any(m - !cn %in% colnames(x[[i]]))) {
how to realize the following SQL command in R?
select distinct A, B, count(C)
from TABLE
group by A, B
;
quit;
Best Regards
-
Sponsored Link
Get a free Motorola Razr! Today Only! Choose Cingular, Sprint, Verizon, Alltel,
or T-Mobile.
Thanks you very much Hadley, Stephen, and Sundar, your suggestions
all solve my problem, even if the narrower dataframe contains
variables that are new to the wider dataframe.
I'm sure glad I took the time to write instead of pursuing with my
ugly and time-consuming solution.
Denis
Dear
1 - 100 of 104 matches
Mail list logo