Dear All,
I imitated the web age Description example to make my description.
I wrote:
Package: example
Version: 1.0
Date: 2005-07-08
Title: example library
Author: Ivy [EMAIL PROTECTED]
Maintainer: Ivy [EMAIL PROTECTED]
Description: simple function
License: GPL Version 2 or later.
Hi Luis,
please remove
/usr/local/lib/libxml* files
and in particular /usr/local/lib/libxml2.2.dylib
from your system
sudo rm /usr/local/lib/libxml2.2.dylib
stefano
On 04/lug/05, at 20:42, Luis Borda de Agua wrote:
I use mac os 10.3.9 and I've installed in my computer R 2.1.0 (I
Hi!
what point exactly in the command sequence does it fail? during make?
or make install?
You might try saving the output and the error from the build into a
file? Something along the lines of
./configure 21 filename
or even
./configure 21 filename | tee configure_output.txt
etc.
cheers!
Uwe Ligges wrote:
Clark Allan wrote:
i know that one should try and limit the amount of looping in R
programs. i have supplied some code below. i am interested in seeing how
the code cold be rewritten if we dont use the loops.
It is not always a good thing to remove loops (without having
Greetings,
I'm posting this OT query here because of out very international
membership!
In the French sentence
Les taux de tirage sont calculés de manière à ce que la
dispersion soit inférieure à 5 % dans chaque strate.
it would seem intended that the dispersion is to be calculated
in a
Thanks for this! This is even simpler than using
!is.null():
xmat - as.data.frame(matrix(NA, 2, 3))
try(xmat[i, 2:3] - dbGetQuery(...), silent = TRUE)
Best wishes,
Mikkel
--- Uwe Ligges [EMAIL PROTECTED]
wrote:
Mikkel Grum wrote:
I have a situation where I'm filling out a
dataframe
Hi,
yesterday, I switched to newest version of R-2.1.1 by using YAst to
install necessary SuSE-rpms from a separate local directory. So far ,
so good.
Afterwards I tried to find out if there are any updates for add-on
packages, and of cause there were some of them requiring a
refreshment.
Hello Ted,
I would interpret this sentence the same way as you do. for me, in
French, dispersion is a general term and there is no clue of which
dispersion measurement was used... perhaps elsewhere in your text?
Best,
Philippe
..°}))
) ) )
Javier, on the image and colors, did you try using the
breaks option? You will need 21 breaks to display 20
colors (see ?image).
Janek, the option asp = 1 should generally solve your
scaling problem (point 2 below). I don't remember
where I got that from, but it works unless you use
functions
rich at mi.fu-berlin.de writes:
This concerns the Clinical Study of Quinidine example on page 380
of the book Mixed-Effects Models in S and S-PLUS by Pinheiro and Bates
(2000).
I have tried to reproduce the example, but get an error:
..
system is computationally singular:
Dear R-Users,
is there any statement to fit a orthogonal regression
in R environment?
Many thanks in advance.
Best regards,
Vito
Diventare costruttori di soluzioni
Became solutions' constructors
The business of the statistician is to catalyze
the scientific learning process.
George E. P.
Hi Matthias,
I had the same problem a couple of weeks ago. It wasn't easy to come
around it but i made it.
Did you use the skeloton function in R?
If yes:
Did you fill out both the discripton-form and the help-pages?
Did you follow all the further steps recommended?
Did you point in the
Ivy_Li wrote:
Dear all,
I really appreciate your help. I think I have a little advancement. ^_^
When I enter the Dos environment, at first, into the D:\, I type the
following code:
cd Program Files\R\rw2011\
bin\R CMD install /example
example is in the d:\, which
Vehbi Sinan Tunalioglu wrote:
Uwe Ligges wrote:
Clark Allan wrote:
i know that one should try and limit the amount of looping in R
programs. i have supplied some code below. i am interested in seeing how
the code cold be rewritten if we dont use the loops.
It is not always a good thing to
Dear List:
I'm posting this to provide a possible solution and to document to what
appears to be an R limitation. The solution is more of a cheap hack that
works for now. To provide a little background, I am looping through a
dataframe and creating Sweave documents using data from each row in the
Olaf Mersmann wrote:
Hi list,
not sure if this is the wanted behavior, but running the following code:
I'd say it's a bug.
version
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major2
minor1.1
year 2005
month06
day
On 7/8/05, Dieter Menne [EMAIL PROTECTED] wrote:
rich at mi.fu-berlin.de writes:
This concerns the Clinical Study of Quinidine example on page 380
of the book Mixed-Effects Models in S and S-PLUS by Pinheiro and Bates
(2000).
I have tried to reproduce the example, but get an error:
Doran, Harold wrote:
Dear List:
I'm posting this to provide a possible solution and to document to what
appears to be an R limitation. The solution is more of a cheap hack that
works for now. To provide a little background, I am looping through a
dataframe and creating Sweave documents
Dear Uwe Ligges,
There was really a problem with an irregular name of a help topic (%cin% - the
% was the problem) as you said. With the new R Version and with the corrected
Rd file all works fine.
Thanks a lot for your help!
Matthias
TEMPL Matthias wrote:
Hello,
When building my
(Ted Harding) a écrit :
Greetings,
I'm posting this OT query here because of out very international
membership!
In the French sentence
Les taux de tirage sont calculés de manière à ce que la
dispersion soit inférieure à 5 % dans chaque strate.
it would seem intended that the
Renaud Lancelot [EMAIL PROTECTED] writes:
(Ted Harding) a écrit :
Greetings,
I'm posting this OT query here because of out very international
membership!
In the French sentence
Les taux de tirage sont calculés de manière à ce que la
dispersion soit inférieure à 5 % dans
This topic has come up a few times recently, so it must be 'in the wind'
these days. Depending on what approach you take and what area you are
coming
from, it goes under the names Orthogonal [Distance] Regression, Total
Least
Squares, Errors in Variables, Deming Regression. The middle two
In a number of different situations I'm trying to
remove factor levels that are represented by less than
a certain number of rows, e.g. if I had the dataset aa
below and wanted to remove the species that are
represented in less than 2 rows:
data(iris)
aa - iris[1:101,]
In this case, since I can
Dear helpers,
does anyone know a function to fit a model with:
- y mean that is regressed on a set of explanatory variables
- y variace behaving as a garch or as a garch in mean
Thank you so much for your help,
Carlo
__
R-help@stat.math.ethz.ch
-- Forwarded message --
From: Omar Lakkis [EMAIL PROTECTED]
Date: Jul 7, 2005 6:25 PM
Subject: q() == Segmentation fault
To: r-help@stat.math.ethz.ch
I created the simple library, attached. When I terminate an R session
where the library has been loaded with q() a segmentation
Mikkel Grum wrote:
In a number of different situations I'm trying to
remove factor levels that are represented by less than
a certain number of rows, e.g. if I had the dataset aa
below and wanted to remove the species that are
represented in less than 2 rows:
data(iris)
aa -
Dear listers,
I am trying to compute the exact conditional test given strata margins
of a 2 by 2 by K array using the mantelhaen.test function to get a
common odds ratio estimate.
The estimate for the test on the following data is 0, which in my
opinion dosen't make any sense.
x - array(c(53,
Mikkel Grum wrote:
In a number of different situations I'm trying to
remove factor levels that are represented by less than
a certain number of rows, e.g. if I had the dataset aa
below and wanted to remove the species that are
represented in less than 2 rows:
data(iris)
aa - iris[1:101,]
A work-around for this problem was posted on April 7 by Bill
Venables and Deepayan Sarkar using a panel function:
Anne
On Thu, 7 Apr 2005, Deepayan Sarkar wrote:
DS On Thursday 07 April 2005 17:51, Anne York wrote:
DS The following command produces red axis line in a
pairs
DS plot:
DS
BioC2005: Where Biology and Software Connect
August 16 and 17 in Seattle, WA, USA
The online registration form is now available.
http://www.bioconductor.org/meeting05/
(You will be redirected to our secure server:
https://cobra.fhcrc.org/BioC2005/)
About BioC2005:
This conference will
Hi all
Just converting from Stata to R and struggling a little to come to terms
with the new philosophy/command line.
E.g. I want to plot x against y if x 5
In Stata: graph x y, if( x 5 )
How do I do this in R? Have tried most of the obvious options without
success.
Can I have multiple
Please first read An Introduction to R (one of the pdf manuals that ships
with R) before posting these sorts of questions, as it is written
specifically to help you get started (I think fairly clearly).
Other (links to) learning resources may be found on the CRAN website. Please
take advantage of
Kerri-Ann Norton wrote:
I am trying to use knn to do a nearest neighbor classification. I tried
using my dataset and got an error message so I used a simple example to try
and understand what I was doing wrong and got the same message. Here is what
I typed into R:
try
[,1] [,2] [,3]
RenE J.V. Bertin wrote:
I find myself doing lots of tests like
subset( data, symptoms=='a' | symptoms=='e' | symptoms=='z' )
with symptoms one of the factors contained in the data frame.
and I wonder if there is not an existing operator or function which
implements this sort
RenE J.V. Bertin wrote:
I find myself doing lots of tests like
subset( data, symptoms=='a' | symptoms=='e' | symptoms=='z' )
with symptoms one of the factors contained in the data frame.
and I wonder if there is not an existing operator or function which
implements this sort of
Michael Hopkins wrote:
Hi all
Just converting from Stata to R and struggling a little to come to terms
with the new philosophy/command line.
E.g. I want to plot x against y if x 5
In Stata: graph x y, if( x 5 )
How do I do this in R? Have tried most of the obvious options without
success.
To be fair none of Introduction to R, ?plot nor the reference card
really cover this without substantial digging.
# test data
x - 1:10
y - x*x
plot(x[x 5], y[x 5])
# or
plot(y ~ x, subset = x 5)
# We can have combine conditions like this:
plot(y ~ x, subset = x 5 y 50)
# also if
Thanks to all of the respondents for helpful (except one) and super-fast
replies!
I think the two packages differ more than I thought in terms of philosophy,
but I have been seduced by the potential power and graphics facilities
available in R (not to mention cost and cross-platform
Dear all:
I still need some further help since I think the question itself might
be very interesting (i hope so:) :
the question is on chisq.test, my concern is which criteria should be
used here to evaluate the independence. The reason i use this old
subject of the email is, b/c I think the
But isn't this the old chestnut that any effect will be found
significant given enough data; and with too few data, not even a large one
can be distinguished from noise?
If so, it's a good question that has more to do with the philosophy of
science than statistics. Bayesians, of course, would
Dear list,
This is ok :
filter(1:5, 1, recursive)
Time Series:
Start = 1
End = 5
Frequency = 1
[1] 1 3 6 10 15
But this? :
filter(c(rep(NA,5),1:5), 1, recursive)
Time Series:
Start = 1
End = 10
Frequency = 1
[1] NA 0 NA 0 NA 0 2 5 9 14
version
_
On Fri, 8 Jul 2005, Florian Hahne wrote:
Dear listers,
I am trying to compute the exact conditional test given strata margins
of a 2 by 2 by K array using the mantelhaen.test function to get a
common odds ratio estimate.
The estimate for the test on the following data is 0, which in my
Hi,
The following article by William DuMouchel, which takes an empirical Bayes
approach, might be helpful to you:
Bayesian Data Mining in Large Frequency Tables, with an Application to the
FDA Spontaneous Reporting System, The American Statistician, Vol. 53, No. 3
(Aug., 1999), pp. 177-190.
Dear R-help,
I am trying to impute missing data for the first time using R. The norm
package seems to work for me, but the missing values that it returns seem
odd at times -- for example it returns negative values for a variable that
should only be positive. Does this matter in data analysis,
Dear R list,
I'm trying to calculate Mahalanobis distances for 'Species' of 'iris' data
as obtained below:
Squared Distance to Species From Species:
Setosa Versicolor Virginica
Setosa 0 89.86419 179.38471
Versicolor 89.86419 0 17.20107
Virginica
Hi:
I'm working with multinomial models with library nnet, and I'm trying to get
the explained deviance (pseudo R^2) of my models.
I am assuming that:
pseudo R^2= 1 - dev(model) / dev (null)
where dev(model) is the deviance for the fitted model and dev(null) is the
deviance for the null
Dear Jose,
normal mixture clustering (mclust) operates on points times variables data
and not on a distance matrix. Therefore
it doesn't make sense to compute Mahalanobis distances before using
mclust.
Furthermore, cluster analysis based on distance matrices (hclust or pam,
say) operates on a
Dear R-helpers,
Using the package Lattice, I performed a PCA.
For example
pca.summary - summary(pc.cr - princomp(USArrests, cor = TRUE))
The Output of pca.summary looks as follows:
Importance of components:
Comp.1Comp.2Comp.3 Comp.4
Standard deviation
K. Steinmann wrote:
Dear R-helpers,
Using the package Lattice, I performed a PCA.
For example
pca.summary - summary(pc.cr - princomp(USArrests, cor = TRUE))
The Output of pca.summary looks as follows:
Importance of components:
Comp.1Comp.2Comp.3
R-Users,
Hopefully someone can shed some light on these questions as I had
little luck searching the archives (although I probably missed something
in my search due to the search phrase). I estimated multinomial
probabilities for some count data (number successful offspring) ranging
from 0 to 8
On Fri, 8 Jul 2005, K. Steinmann wrote:
Dear R-helpers,
Using the package Lattice, I performed a PCA.
In my R installation, the function princomp() is contained in the stats
package, not lattice (sic!).
For example
pca.summary - summary(pc.cr - princomp(USArrests, cor = TRUE))
The Output
Is this possible?
For instance, I have a function that returns a vector length 3. In one
statement I'd like to assign each element of the vector to different
variables. Syntactically, I hoped this would work:
c(x,y,z) - myfun();
Thanks,
--
Jeffrey Horner Computer Systems Analyst
Yes and no. Your function doesn't work because c() is a function and R is
call-by-value, so c(x,y,z) is just a value, like 7.
You could use lists like this:
l - list(x=NULL,y=NULL,z=NULL)
l[c(x,y,z)] - 1:3
l
$x
[1] 1
$y
[1] 2
$z
[1] 3
That, together with attaching lists (help(attach)),
Ken Termiso wrote:
Hi all,
I've got a data frame with NA values scattered throughout. I would like to
find the rows which contain an NA. Trying to find the indices of the NAs
with grep() doesn't work (apparently you can't convert NA to NA character
value, even with as.character()) so I
Do we have any R package that can do analysis on finite mixture model with
logistic regression? Thanks
Faith
Feng Gao
Dept. of Statistics
Virginia Tech.
Email: [EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
Hi:
I have two time series y(t) and x(t). I want to
regress Y on X. Because Y is a time series and may
have autocorrelation such as AR(p), so it is not
efficient to use OLS directly. The model I am trying
to fit is like
Y(t)=beta0+beta1*X(t)+rho*Y(t-1)+e(t)
e(t) is iid normal random error.
Anders Schwartz Corr wrote:
Dear R-help,
I am trying to impute missing data for the first time using R. The norm
package seems to work for me, but the missing values that it returns seem
odd at times -- for example it returns negative values for a variable that
should only be positive. Does
I'm trying to do the following out of sample
regression with autoregressive terms and additional x
variables:
y(t+1)=const+B(L)*y(t)+C(1)*x_1(t)...+C(K)*x_K(t)
where:
B(L) = lag polynom. for AR terms
C(1..K) = are the coeffs. on K exogenous variables
that have only 1 lag
Question 1:
On 7/8/05, yyan liu [EMAIL PROTECTED] wrote:
Hi:
I have two time series y(t) and x(t). I want to
regress Y on X. Because Y is a time series and may
have autocorrelation such as AR(p), so it is not
efficient to use OLS directly. The model I am trying
to fit is like
Hi all,
I have two data frames to merge by a column containing the site names
(as characters). However, somehow, one of the site names of one data
frame have fixed length, say 8, so the names sometimes have spaces at
the end. For example, the site name is ST, but in one data frame, it
is ST
Here are some possibilities:
- head(iris) will show the first few rows of the data frame
- edit(iris) will put up a spreadsheet with the data frame in it that
you can scroll
- In JGR (a GUI front end for R) you can use the object browser (ctrl-B)
- If the object is a file rather than a data frame
Check out:
http://tolstoy.newcastle.edu.au/R/help/04/06/1430.html
http://tolstoy.newcastle.edu.au/R/help/04/06/1406.html
On 7/8/05, Jeffrey Horner [EMAIL PROTECTED] wrote:
Is this possible?
For instance, I have a function that returns a vector length 3. In one
statement I'd like to assign
trim in package gdata will trim spaces off the beginning and end.
On 7/8/05, Ling Jin [EMAIL PROTECTED] wrote:
Hi all,
I have two data frames to merge by a column containing the site names
(as characters). However, somehow, one of the site names of one data
frame have fixed length, say 8,
One other option during the import is to set 'strip.white = TRUE' in
read.csv(). See ?read.csv for more information. Bear in mind that this
will strip both leading and trailing white space in all columns, which
may have unintended consequences.
Yet another post-import option, would be to use
For those of you who have not heard: Prof. Breiman passed away on July 5th.
http://www.berkeley.edu/news/media/releases/2005/07/07_breiman.shtml
Andy
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
On 7/8/05, Bret Collier [EMAIL PROTECTED] wrote:
R-Users,
Hopefully someone can shed some light on these questions as I had
little luck searching the archives (although I probably missed something
in my search due to the search phrase). I estimated multinomial
probabilities for some count
On Fri, 2005-07-08 at 21:58 -0400, Gabor Grothendieck wrote:
On 7/8/05, Bret Collier [EMAIL PROTECTED] wrote:
R-Users,
Hopefully someone can shed some light on these questions as I had
little luck searching the archives (although I probably missed something
in my search due to the search
Offline, Marc pointed out to me that boxplot has an at= argument.
This suggests that we could substitute a boxplot command for the
rect command since a boxplot of c(0,a) looks like a bar from 0 to a if
we use medlty=0 (which omits the median line) and boxwex=1
(which eliminates the space between
What class is newx when you get the error message? Is it a vector
or a 1xK array? If the former, force it to be an array. (Hint:
array(1:4, dim=c(2,2))[1,] is a vector of length 2, while array(1:4,
dim=c(2,2))[1,,drop=FALSE] is a 1 x 2 matrix..(
If this does not solve
69 matches
Mail list logo