Re: [R] Loading problem with XML_1.9

2007-07-08 Thread Duncan Temple Lang
Well, as you mention at the end of the mail, several people have given you suggestions about how to solve the problem using different approaches. You might search on the Web for how to install a 64 bit version of libxml2? Using xmlTreeParse(, useInternalNodes = TRUE) is an approach to reducing

Re: [R] random sampling with some limitive conditions?

2007-07-08 Thread Zhang Jian
The method can get one new data. But I think that it is not random. I used the new random data to compute the index which I want to get. The same value was achieved with the data sites. I try it again and again. The result is the same. So I think I need to find one new random sampling method.

[R] Antwort: Re: pgup/pgdown in R Graphics Window under Linux ['Watchdog': checked]

2007-07-08 Thread Paul Matthias Diderichsen
Dear Prof. Ripley, Prof Brian Ripley [EMAIL PROTECTED] schrieb am 05.07.2007 21:46:20: Dear S-users. This is the help forum for R users Indeed. (How embarrasing not to be able to spell a one-letter word correctly...) How do I change pages on an X11 graphics device under linux? It is

[R] Antwort: Re: pgup/pgdown in R Graphics Window under Linux ['Watchdog': checked]

2007-07-08 Thread Paul Matthias Diderichsen
Hi Deepayan, Deepayan Sarkar [EMAIL PROTECTED] schrieb am 06.07.2007 02:05:02: On 7/5/07, Paul Matthias Diderichsen [EMAIL PROTECTED] wrote: library(lattice) xyplot(speed~dist|speed, data=cars, layout=c(3,3)) If this is your use case, you might be interested in

Re: [R] one question about the loop

2007-07-08 Thread cgenolin
jim holtman [EMAIL PROTECTED] a écrit : Is this what you want? t(combn(5,2)) Well, it seems nice, but from which library does it come ? I try help.search(combn), but that did not give me any valuable information... Christophe

[R] longitudinal data

2007-07-08 Thread sigalit mangut-leiba
Hello all, I want to analyze data that looks like this: Id var1 var2 var3.. 1 0 1 0 1 0 1 1 2 2 2 2 Not all id's have the same no. of observations. At the first stage I want to count how many people in the survey, how many have 1 in var1, etc. How

Re: [R] one question about the loop

2007-07-08 Thread Roger Leenders
combinat http://cran.r-project.org/src/contrib/Descriptions/combinat.html [EMAIL PROTECTED] schreef: jim holtman [EMAIL PROTECTED] a écrit : Is this what you want? t(combn(5,2)) Well, it seems nice, but from which library does it come ? I try help.search(combn), but

Re: [R] calculating p-values of columns in a dataframe

2007-07-08 Thread Uwe Ligges
Thomas Pujol wrote: I have a dataframe (mydf) that contains differences of means. I wish to test whether these differences are significantly different from zero. Below, I calculate the t-statistic for each column. What is a good method to calculate/look-up the p-value for each column?

[R] Problems with e1071 and SparseM

2007-07-08 Thread Christian Holler
Hello all, I am trying to use the svm method provided by e1071 (Version: 1.5-16) together with a matrix provided by the SparseM package (Version: 0.73) but it fails with this message: model - svm(lm, lv, scale = TRUE, type = 'C-classification', kernel = 'linear') Error in t.default(x) :

[R] how to revert to an older limma version?

2007-07-08 Thread Maya Bercovich
Dear Sirs, How can I revert to an older limma version? Typing install.packages(limma) in R gives a list of mirrors. How can I install the version I want after I obtain and untar the file (e.g, limma_2.9.1.tar.gz)? I am running R 2.5.0 on a Linux machine (CentOS 5). When using limma it will not

Re: [R] how to revert to an older limma version?

2007-07-08 Thread Martin Morgan
Maya Bercovich [EMAIL PROTECTED] writes: Dear Sirs, Please post to the Bioconductor list (see http://bioconductor.org for instructions) How can I revert to an older limma version? Typing install.packages(limma) in R gives a list of mirrors. How can I install the version I want after I

Re: [R] how to revert to an older limma version?

2007-07-08 Thread Prof Brian Ripley
That sounds as if you are running in a UTF-8 locale and your colleague is not. We do ask for the results of sessionInfo(), which would have helped. I suggest you try an English 8-bit locale and see what happens. On Sun, 8 Jul 2007, Maya Bercovich wrote: Dear Sirs, How can I revert to an

Re: [R] one question about the loop

2007-07-08 Thread jim holtman
It is part of the standard 'util' library that comes with R ?combn help.search('combination') On 7/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: jim holtman [EMAIL PROTECTED] a Ã(c)crit : Is this what you want? t(combn(5,2)) Well, it seems nice, but from which library does it

Re: [R] longitudinal data

2007-07-08 Thread jim holtman
The question is, how is the missing data accounted for? Is this a CSV file where the missing data is left blank? If it is just separated by white space, how do you know that var1 is missing is var2 is there? If it is the case that just the initial values are there, then you can use fill=TRUE on

Re: [R] random sampling with some limitive conditions?

2007-07-08 Thread Zhang Jian
Any methods or advices about the random sampling method? I have no idea. Thanks a lot. On 7/8/07, Zhang Jian [EMAIL PROTECTED] wrote: The method can get one new data. But I think that it is not random. I used the new random data to compute the index which I want to get. The same value was

[R] xmlOutputBuffer vs xmlOutputDOM

2007-07-08 Thread Arjun Ravi Narayan
Hi, I am trying to use the XML package to write some data (pretty large amounts of data) into XML files. I experimented with a few variations, using xmlOutputBuffer and xmlOutputDOM. xmlOutputDOM provides neat formatted, indented output, but takes very long. xmlOutputBuffer is incompatible (in

[R] Extracting S code from a C program

2007-07-08 Thread francogrex
There is a C program called GPS: 'gamma poisson shrinker' at ftp://ftp.research.att.com/dist/gps/ The algorithms in GPS are based on S-Plus programs written by William DuMouchel with support from Columbia University and ATT Labs. My question is: is there a relatively easy way to extract some of

[R] random sampling with some limitive conditions?

2007-07-08 Thread Alan Zaslavsky
If I understand your problem, this might be a solution. Assign independent random numbers for row and column and use the corresponding ordering to assign the row and column indices. Thus row and column assignments are independent and the row and column totals are fixed. If cc and rr are

Re: [R] Extracting S code from a C program

2007-07-08 Thread Duncan Murdoch
On 08/07/2007 12:07 PM, francogrex wrote: There is a C program called GPS: 'gamma poisson shrinker' at ftp://ftp.research.att.com/dist/gps/ The algorithms in GPS are based on S-Plus programs written by William DuMouchel with support from Columbia University and ATT Labs. My question is: is

[R] generating a data frame with a subset from another data frame

2007-07-08 Thread James R. Milks
R gurus, I have a data set that looks something like this: SiteSpecies DBH #Vines G PLOC45.94 G ACNE23.31 G ACNE12.00 G FRAM35.95 G AEGL11.22 N PLOC77.312 N JUNI78.67 N ACNE18.9

Re: [R] random sampling with some limitive conditions?

2007-07-08 Thread Zhang Jian
It is not right. My data is the presence-absence data. And I want to get thousands of presence-absence random data which length of rows and columns is the same with the former data. Meantime, the new data needs to have the fixed sums for each row and column with the former data. For example: The

[R] Efficient matrix slices

2007-07-08 Thread Gabriel Valiente
Indexing matrices by subsets of rows and columns is quite convenient, but it seems to take time linear in the size of the matrix (even for a small slice of the matrix): dim(y) [1] 732 1332 length(which(a[1,]==1)) [1] 4 length(which(b[1,]==1)) [1] 12

[R] random effect variance per treatment group in lmer

2007-07-08 Thread Afshartous, David
All, How does one specify a model in lmer such that say the random effect for the intercept has a different variance per treatment group? Thus, in the model equation, we'd have say b_ij represent the random effect for patient j in treatment group i, with variance depending on i, i.e,

Re: [R] generating a data frame with a subset from another data frame

2007-07-08 Thread jim holtman
?%in% I think what you want is: study.1-subset(study,study$Species %in% c(ACNE,PLOC,FRAM,ULAM,ACSA2)) On 7/8/07, James R. Milks [EMAIL PROTECTED] wrote: R gurus, I have a data set that looks something like this: SiteSpecies DBH #Vines G PLOC45.94 G ACNE

[R] Windows Binary for ncdf package

2007-07-08 Thread amna khan
Dear Sir There is no window binary version of package ncdf in the latest release of R 2.5.1. i dont have any information about the old versions. Please guid in thie regard Thank you -- AMINA SHAHZADI Department of Statistics GC University Lahore, Pakistan. Email: [EMAIL PROTECTED] [EMAIL

Re: [R] xmlOutputBuffer vs xmlOutputDOM

2007-07-08 Thread Duncan Temple Lang
Hi Arjun Have you tried using xmlTree() which uses an opaque C representation of the document and I expect will serialize the contents relatively rapidly. The interface for creating the tree is intended to be the same, and is at least similar to, as xmlOutputDOM. The intent is that the

Re: [R] Windows Binary for ncdf package

2007-07-08 Thread Uwe Ligges
amna khan wrote: Dear Sir There is no window binary version of package ncdf in the latest release of R 2.5.1. i dont have any information about the old versions. Please guid in thie regard Thank you See the ReadMe in the CRAN repository. It tells you that ncdf does not build out of the

[R] [R-pkgs] Scagnostics - scatterplot diagnostics

2007-07-08 Thread hadley wickham
The scagnostics package implements the graph theoretic scagnostics described by Leland Wilkinson, Anushka Anand and Robert Grossman (http://www.ncdm.uic.edu/publications/files/proc-094.pdf), building on an old idea of Tukey's to define indices of interestingness to help guide the search for

Re: [R] Windows Binary for ncdf package

2007-07-08 Thread Stefan Grosse
Original Message Subject: [R] Windows Binary for ncdf package From: amna khan [EMAIL PROTECTED] To: R-help@stat.math.ethz.ch, R-help@stat.math.ethz.ch Date: 08.07.2007 19:52 Dear Sir There is no window binary version of package ncdf in the latest release of R 2.5.1. i dont

Re: [R] Loading problem with XML_1.9

2007-07-08 Thread Luo Weijun
Thanks, Dr. Lang, I used xmlEventParse() + branches concept as you suggested, it really works, and the memory issue is gone. Now I can query large XML files from within R. but here is another problem: it is too slows (a simple query has not finished for 1.5h), even though the number of relevant

[R] Writing Excel (.xls) files on non-Windows OSs using Perl

2007-07-08 Thread Marc Schwartz
Hi all, There have been quite a few threads in the recent months pertaining to the ability to directly write native Excel (.xls) files from R. For example, exporting R matrices and/or data frames to an Excel file, with perhaps the ability to create multiple tabs (worksheets) within a single file,

[R] need some help on Inverse Gaussian distribution

2007-07-08 Thread Mozumder Sharif
Dear Sir I am a lecture Department of Mathematics University of Dhaka,Bangladesh. http://www.univdhaka.edu/department/facultyMembers.php?bodyid=MATst=25perPage=25. I saw you are in the author of R-functions for inverse Gaussian distributions.By tried them in my R ,but its not working. I

Re: [R] Several quick questions

2007-07-08 Thread Don MacQueen
At 8:45 AM -0400 7/7/07, Sébastien wrote: Dear R users, Here is a couple a quick questions, for which I was unable to not find any answer in the list archives and in the help: 1- Is there any R equivalents of the VB functions Cint, CStr, etc... (for non VB users, these functions transform the

[R] patch to enhance sound module for 96 kHz/24 bit sample sizes

2007-07-08 Thread Michael Tiemann
Greetings Matthias, Thanks again for your sound module. I did not ever manage to find the time to play with phase equations, but I found I needed the module for a new project involving bats. I needed to do some work @ 96 kHz/24 bit sample size, and found the limitations of the sound package

[R] ca.jo

2007-07-08 Thread YIHSU CHEN
Dear R users; I'm using ca.jo for a VECM model. Is there a way that I can get sd/p-value to see whether coefficients estimated are statistical significant? Thank you Yours, Yihsu [[alternative HTML version deleted]] __

Re: [R] Several quick questions

2007-07-08 Thread deepayan . sarkar
On 7/7/07, Sébastien [EMAIL PROTECTED] wrote: Dear R users, Here is a couple a quick questions, for which I was unable to not find any answer in the list archives and in the help: [...] 2- When a log scale is called in a graph, the label takes a format like 10^n. That's true for lattice,

Re: [R] transform excel data into graph

2007-07-08 Thread aaront
There are numerous ways of importing data from excel. One is to save as a .csv and use the read.csv function. Or, you can copy to the clipboard and use the read.delim(clipboard,header=T) function. Are you looking at a bar graph where the lessons have the names nested below them on the x axis,

[R] EM algorithm for Missing Data.

2007-07-08 Thread Marcus Vinicius
Dear all, I need to use the EM algorithm where data are missing. Example: x- c(60.87, NA, 61.53, 72.20, 68.96, NA, 68.35, 68.11, NA, 71.38) May anyone help me? Thanks. Marcus Vinicius [[alternative HTML version deleted]] __

Re: [R] EM algorithm for Missing Data.

2007-07-08 Thread Simon Blomberg
Sure! Read this: MAXIMUM LIKELIHOOD FROM INCOMPLETE DATA VIA EM ALGORITHM Author(s): DEMPSTER AP, LAIRD NM, RUBIN DB Source: JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES B-METHODOLOGICAL 39 (1): 1-38 1977 then read the posting guide. Simon. On Sun, 2007-07-08 at 23:20 -0300, Marcus

[R] Help in installing rggobi in ubuntu linux

2007-07-08 Thread Kenneth Cabrera
Hi R users. I am experimenting with ubuntu 7.04 Feisty. I install the ggobi package with apt-get. I got almost all the packages, but when I try to obtain rggobi, I got this message: -

[R] adding latex, html docs. to new packag

2007-07-08 Thread Edna Bell
Hi again! How do I create the Latex and HTML files for documentation for a new package, please? Is there something in the R CMD stuff that would do it, or do I need to produce by hand, pleaes? thanks, eb __ R-help@stat.math.ethz.ch mailing list