Re: [R] dyn.load problem under linux

2007-02-10 Thread Tom 'spot' Callaway
On Fri, 2007-02-09 at 21:31 +0100, Domenico Vistocco wrote: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory Error in library(POP.R) : .First.lib failed for 'POP.R'

Re: [R] dyn.load problem under linux

2007-02-10 Thread Prof Brian Ripley
This is a mismatch of compiler between the machine that the code was compiled on and that running the code. '/usr/lib/R/library/POP.R/libs/ezlic20.so': libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file libstdc++-libc6.2-2.so.3 is a g++ runtime. On my FC5 system it is

Re: [R] Near function?

2007-02-10 Thread Dieter Menne
Bart Joosen bartjoosen at hotmail.com writes: Hi, I have an integer which is extracted from a dataframe, which is sorted by another column of the dataframe. Now I would like to remove some elements of the integer, which are near to others by their value. For example: integer: c(1,20,2,21)

Re: [R] heatmap color specification

2007-02-10 Thread Jim Lemon
Xiaohui wrote: ... Then, I did a heatmap for 'test' matrix. But for now, I want to specify each of the cell in the heatmap according to the values of the corresponding matrix elements of test. Let's say: col-c(red,yellow,green) for test[1,1], the color on the map should be red. I

Re: [R] Near function?

2007-02-10 Thread jim holtman
One of the reasons it might not be working is that you are changing the index of the 'for' within the loop. The following is from the help page for 'for': The index seq in a for loop is evaluated at the start of the loop; changing it subsequently does not affect the loop. The variable var has

Re: [R] Help in using multcomp.

2007-02-10 Thread A Ezhil
Hi Chuck, Thank you very for this help. I am able to store the results. Now, I am facing the following problems: 1. I am trying to extract only the p-values from dunres - lapply(amod, function(x){summary(glht(x, linfct=mcp(f = contr)))}) but I am stuck. If I use dunres[[1]], it displays the

Re: [R] Help in using multcomp.

2007-02-10 Thread Chuck Cleland
A Ezhil wrote: Hi Chuck, Thank you very for this help. I am able to store the results. Now, I am facing the following problems: 1. I am trying to extract only the p-values from dunres - lapply(amod, function(x){summary(glht(x, linfct=mcp(f = contr)))}) but I am stuck. If I use

Re: [R] Help in using multcomp.

2007-02-10 Thread A Ezhil
Hi Chuck, Thank you very much for this is help. It is fantastic and the code works perfectly. Thanks again, Chuck. Kind regards, Ezhil --- Chuck Cleland [EMAIL PROTECTED] wrote: A Ezhil wrote: Hi Chuck, Thank you very for this help. I am able to store the results. Now, I am

Re: [R] XML and str

2007-02-10 Thread Duncan Temple Lang
Martin Maechler wrote: Ashley == Ashley Ford [EMAIL PROTECTED] on Wed, 07 Feb 2007 17:18:56 + writes: Ashley If I read in an .xml file eg with xeg - xmlTreeParse(system.file(exampleData, test.xml, package=XML)) Ashley It

Re: [R] XML and str

2007-02-10 Thread Martin Maechler
DTL == Duncan Temple Lang [EMAIL PROTECTED] on Sat, 10 Feb 2007 07:18:30 -0800 writes: DTL Martin Maechler wrote: Ashley == Ashley Ford [EMAIL PROTECTED] on Wed, 07 Feb 2007 17:18:56 + writes: Ashley If I read in an .xml file eg with xeg -

[R] JGR data editor question

2007-02-10 Thread Muenchen, Robert A (Bob)
Hi All, I'm learning JGR 1.4-15 with R 2.4.1 in Windows XP (all patches applied). JGR looks great but I'm having trouble getting the data editor to save my results. I don't see anything in R-help about it. Here are the steps I followed: 1. I chose ToolsObject Browser double-clicked on a data

Re: [R] How to add the variable name to a qqplot or densityplot in the diagonal of an splom?

2007-02-10 Thread Deepayan Sarkar
On 2/9/07, Michael Kubovy [EMAIL PROTECTED] wrote: splom() doesn't complain here, but writes no names in the diagonal boxes. What am I missing? I believe that I need to add something like grid.text(x, ...) to the diagonal panel, but I don't know how to get it cycle through the column labels.

Re: [R] JGR data editor question

2007-02-10 Thread Jim Porzak
Hi Bob, I can not reproduce your problem, with possible exception in your step 2: In data editor, you need to click off of the last cell you edited for the changes to take On 2/10/07, Muenchen, Robert A (Bob) [EMAIL PROTECTED] wrote: Hi All, I'm learning JGR 1.4-15 with R 2.4.1 in Windows XP

Re: [R] JGR data editor question

2007-02-10 Thread Muenchen, Robert A (Bob)
That's it! I tried an absurd number of variations, but never that! I had only changed one value and never left the cell. I assumed hitting Enter would do it. Thanks! -Bob = Bob Muenchen (pronounced Min'-chen), Manager Statistical Consulting

[R] This web site make writing R easier

2007-02-10 Thread semgogo sem
Hello, I sugguest you try a web site, www.mycodegarden.org. It offer many functionalities such as autocomplete, intellisense and syntax highlighting that will save you lots of time on writing R procedure. Open http://www.mycodegarden.org/index.php?title=PlayPageaction=edit, press intellisense

[R] practical memory limits

2007-02-10 Thread ivo welch
Dear R experts: I want to learn what the practically useful memory limits are for good work with R. (My specific problem is that I want work with daily stock returns. In ASCII, the data set is about 72 million returns, that would have to go into a sparse matrix (not all stocks exist for the

Re: [R] This web site make writing R easier

2007-02-10 Thread Mark W Kimpel
When I visited the site it seems to be a work in the pre-alpha testing phase. Nothing is functional. Mark semgogo sem wrote: Hello, I sugguest you try a web site, www.mycodegarden.org. It offer many functionalities such as autocomplete, intellisense and syntax highlighting that will save

[R] OT: question about transformation

2007-02-10 Thread Michael Kubovy
If x is a r.v. 1/log(x) ~ N (approximately) what does that tell me about the distribution of x (i.e., is it a standard distribution?) Can you point me to a list where I would have appropriately posted this? _ Professor Michael Kubovy University of Virginia

Re: [R] error using user-defined link function with mixed models (LMER)

2007-02-10 Thread Douglas Bates
On 2/10/07, Jessi Brown [EMAIL PROTECTED] wrote: Greetings, everyone. I've been trying to analyze bird nest survival data using generalized linear mixed models (because we documented several consecutive nesting attempts by the same individuals; i.e. repeated measures data) and have been unable

[R] SAS, SPSS Product Comparison Table

2007-02-10 Thread Muenchen, Robert A (Bob)
Hi All, My paper R for SAS and SPSS Users received a bit more of a reaction than I expected. I posted the link (http://oit.utk.edu/scc/RforSASSPSSusers.pdf) about 12 days ago on R-help and the equivalent SAS and SPSS lists. Since then people have downloaded it 5,503 times and I've gotten lots of

Re: [R] error using user-defined link function with mixed models (LMER)

2007-02-10 Thread Jessi Brown
Ok, I've tried checking out the structure of the binomial and logexposure families, the big difference appears to be the valideta parameter (it's NULL in the logexposure family). First, binomial: str(binomial()) List of 11 $ family: chr binomial $ link : chr logit $ linkfun

[R] Can we change environment within the browser?

2007-02-10 Thread Andrew Robinson
Dear R-helpers, when in the browser, is it possible to change the environment, so as to be able to easily access (print, manipulate) objects in the parent, or elsehwere? I know that it is possible to evaluate expressions in different environments, using eval(), but I would prefer to avoid that

Re: [R] SAS, SPSS Product Comparison Table

2007-02-10 Thread Charilaos Skiadas
On Feb 10, 2007, at 4:26 PM, Muenchen, Robert A (Bob) wrote: Surely R can't do for free what [fill in a SAS or SPSS product here] does? To try to address those, I've compiled a table that is organized by the product categories SAS and SPSS offer. Keep in mind that I still know far more

[R] Suppresing default text in pairs.lmList() in package = nlme

2007-02-10 Thread Michael Kubovy
I would like to suppress the text 'Scatter Plot Matrix' that appears under the plot. Could someone please suggest how? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:

[R] R in a production environment

2007-02-10 Thread Adrian Dragulescu
Recently there have been a lot of discussions on the list on the use of R in industry and comparisons with SAS SPSS. These are very important questions and it might be worth having them all grouped together for reference. I would like to add to these topics a related one. Can we share our

Re: [R] Near function?

2007-02-10 Thread Bart Joosen
All, thanks for your help. Dieter, thanks, it's a different way of tackling the problem. But I still need a for loop to scroll throug the list? For example: c(1,2,3,5,) and a threshold of 3, then c(1,5) should remain. If I make an integer with the difference between each element and the