[R] RSPerl: getting test.pl to run

2004-06-14 Thread Nicholas Lewin-Koh
Hi, I am trying to install and get RSPerl running so that we can use it locally in some of our scripts. I have followed the directions in the documentation and fixed some of the problems I found in the archives like the bootstrap problem. I am using R 1.9.0 and RSPerl 0.5-7 Here is the problem:

Re: [R] multiv{pca} question

2004-06-14 Thread Prof Brian Ripley
Why are you using the OPRHANED multiv library for a facility covered by princomp() and prcomp() in base R? The list might be able to help you with the latter, but no one is supporting multiv (hence its status). On Sun, 13 Jun 2004, Scott Robbins Loarie wrote: I am having trouble using the

[R] Remove space for title in plot

2004-06-14 Thread Wolfgang Viechtbauer
Dear R Users, When plotting, R by default leaves some white space at the top of the graph for the title. How can I get rid or reduce the size of the amount of space decicated for the title? Thanks! -- Wolfgang Viechtbauer __ [EMAIL PROTECTED] mailing

Re: [R] Remove space for title in plot

2004-06-14 Thread Prof Brian Ripley
Use par(mar=) (or mai=). This is described in detail in `An Introduction to R'. Something like par(mar=c(5,4,2,2)+0.1) ^ reduced from 4 On Mon, 14 Jun 2004, Wolfgang Viechtbauer wrote: When plotting, R by default leaves some white space at the top of the graph for the

RE: [R] ordered probit or logit / recursive regression

2004-06-14 Thread Marwan Khawaja
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ajay Shah Sent: Sunday, June 13, 2004 2:25 AM To: Prof Brian Ripley Cc: VUILLEUMIER Mathieu; [EMAIL PROTECTED] Subject: Re: [R] ordered probit or logit / recursive regression I was trying to be funny

RE: [R] lme newbie question

2004-06-14 Thread Lorenz . Gygax
Hi Christoph, Am I right in this lme implementation, when I want to investigate the influence of the age.group, and the two conditions on the rt: my.lme - lme(rt ~ age.group + angles * hands, data = my.data, random = ~ 1 |subject) then I think I would have to compare the model

[R] complete newbie Q

2004-06-14 Thread jeroen clarysse
Hi all I'm a programmer at the psychology dept, and last week, I was asked to write an application to analyze some result data from CO2 measurement experiments. I don't want to reinvent the wheel, so before I start custom coding in C, I'd though to look around a bit and bumped into R on

[R] trouble with prcomp()

2004-06-14 Thread Scott Robbins Loarie
Thanks very much for showing me these functions, In prcomp(), the documentation says that Value: x is the data multiplied by the 'rotation' matix. Using sample data: data(iris) iris-as.matrix(iris[,1:4]) pcprim-prcomp(iris, scale=TRUE) Why does iris%*%pcprim$rotation (the data multiplied by

Re: [R] terminology for frames and environments

2004-06-14 Thread Peter Dalgaard
Gabor Grothendieck [EMAIL PROTECTED] writes: In ?exists it says: inherits: should the enclosing frames of the environment be searched? I believe what it is saying is that if inherits is TRUE and it fails to find the variable it will look in the parent environment and the parent of the

Re: [R] trouble with prcomp()

2004-06-14 Thread Dimitris Rizopoulos
It is not equal because you have asked from `prcomp' to standardize your data matrix, try the following, pcprim$x==scale(iris)%*%pcprim$rotation Note also that the argument in `prcomp' is scale. and not scale I hope this helps. Best, Dimitris Dimitris Rizopoulos Doctoral Student

[R] Re: trouble with prcomp()

2004-06-14 Thread Prof Brian Ripley
Centring and scaling. The code is very easy to real, and contains x - as.matrix(x) x - scale(x, center = center, scale = scale.) Note that the help page does say The calculation is done by a singular value decomposition of the (centered and scaled) data matrix On Mon,

Re: [R] complete newbie Q

2004-06-14 Thread jeroen clarysse
thanks for your extensive info, Petr ! I guess you are right that i should not try to put to much time in R when a simple C application is faster. but there are 2 reasons why I would still try it : - i'm not a statistics or data-analysis expert. I do not know sufficient math to work our fitting

RE: [R] ordering points as vertex of a polygon

2004-06-14 Thread Ted Harding
On 14-Jun-04 Luca Scrucca wrote: Dear R-users, Suppose I have the following x-y coordinates which give the boundaries of a polygon: x - c(5,4,5,9,6,6,4,7,10,7,10,4,10) y - c(6,3,2,6,3,7,5,4,4,7, 5,4, 6) I would like to plot the following graph: plot(x,y) ord -

Re: [R] terminology for frames and environments

2004-06-14 Thread John Maindonald
From: Peter Dalgaard [EMAIL PROTECTED] Date: 14 June 2004 5:42:29 PM Gabor Grothendieck [EMAIL PROTECTED] writes: ... Could someone please clarify what standard terminology is? Not sure there is one... We have been approaching consensus on a couple of occasions, but

[R] Piecharts in a graph

2004-06-14 Thread M. Shiham Adam
Dear R-Community. I am trying show pie charts on a graph. To be precise, I have series of catch calues by species by geographic (5 deg by 5 deg) regions. I want to draw circles (actually pie charts showing the proportion of the catch in each area) so that I have a graph of catch by species by

RE: [R] CVnn2 + nnet question

2004-06-14 Thread Manoj - Hachibushu Capital
Thanks for the prompt reply. I don't think I am using any non default arguments but still...here is the exact syntax for two different case (skip = T and default) and the corresponding error message that I receive. Default Case (skip = F) Syntax : nn.test -

RE: [R] CVnn2 + nnet question

2004-06-14 Thread Prof Brian Ripley
I have no idea what you are actually doing. When I run the code in the book the output begins fold 1 size = 6 decay = 0.001 inner fold 1 2 3 4 5 and those are the default values. You *have* altered something, and it is not reasonable to expect R-help readers to debug your code (especially

Re: [R] terminology for frames and environments

2004-06-14 Thread Peter Dalgaard
John Maindonald [EMAIL PROTECTED] writes: I have found it helpful, in trying to explain (to myself and others) what happens, to say that there is both a lexical stack and a call stack. Is that a legitimate use of terminology? Slightly inaccurate I'd say. Both are actually trees, since

Re: [R] Piecharts in a graph

2004-06-14 Thread Uwe Ligges
M. Shiham Adam wrote: Dear R-Community. I am trying show pie charts on a graph. To be precise, I have series of catch calues by species by geographic (5 deg by 5 deg) regions. I want to draw circles (actually pie charts showing the proportion of the catch in each area) so that I have a graph of

Re: [R] adjusting color palette

2004-06-14 Thread Barry Rowlingson
Laura Quinn wrote: Is there a way to increase the sensitivity of the color palette in order to more clearly represent certain sections of data? For example I am wanting to clearly differentiate between height data for a rolling landscape but because of the extremes of the dataset (sea and mountain

Re: [R] Modifying Code in .rda based packages (e.g. lme4)

2004-06-14 Thread joerg van den hoff
Prof Brian Ripley wrote: No standard R package is supplied as a .rda, including not lme4. You must be looking at a binary installation, and you would do best to reinstall from the sources. You could use R --vanilla load(/all.rda) fix(GLMM) save(ls(all=T), file=/all.rda, compress = TRUE)

Re: [R] terminology for frames and environments

2004-06-14 Thread Peter Dalgaard
Gabor Grothendieck [EMAIL PROTECTED] writes: : We have been approaching consensus on a couple of occasions, but : (obviously) not been too good at enforcing it. I think the consensus : is that a frame is a set of variable bindings (implemented as a : hashed list), an environment is a

Re: [R] Quirks with system.time and simulations

2004-06-14 Thread Thomas Lumley
On Mon, 14 Jun 2004, Patrick Connolly wrote: It seems as though the first simulation makes it easier for subsequent simulations of the same type AND also for simulations of a somewhat different type also. The degree to which it helps varies according to just what is being run (no surprise

Re: [R] adjusting color palette

2004-06-14 Thread Don MacQueen
See also ?pallete with which you can make your pallete be anything you want. The examples given there will point you to several pre-defined palletes. Perhaps one of them will do a better job for you than whatever you're trying now. rainbow(n, s = 1, v = 1, start = 0, end = max(1,n -

Re: [R] terminology for frames and environments

2004-06-14 Thread Thomas Lumley
On Mon, 14 Jun 2004, John Maindonald wrote: I have found it helpful, in trying to explain (to myself and others) what happens, to say that there is both a lexical stack and a call stack. Is that a legitimate use of terminology? I think this is helpful, despite being inaccurate. If you

[R] Matrix_0.8-8 and norm() function

2004-06-14 Thread Costas Vorlow
Hello and apologies if this is a stupid question (just rejoined the list): Has anything changed with the norm() function with the latest update of the Matrix library? My old code seems not to be working properly even for very simple tests of the norm function. I get too many No direct or

Re: [R] adjusting color palette

2004-06-14 Thread Thomas Lumley
On Mon, 14 Jun 2004, Laura Quinn wrote: Is there a way to increase the sensitivity of the color palette in order to more clearly represent certain sections of data? For example I am wanting to clearly differentiate between height data for a rolling landscape but because of the extremes of the

Re: [R] .Traceback

2004-06-14 Thread Peter Dalgaard
Wolski [EMAIL PROTECTED] writes: Hi! Is there a way to write the information stored in the .Traceback variable to a file? When I try it with dump() .Traceback - list(dump(.Traceback, file = \Mytraceback.R\)) Or there are other ways to write this information on the disk if an error

Re: [R] .Traceback

2004-06-14 Thread Duncan Murdoch
On Mon, 14 Jun 2004 16:38:48 +0200, Wolski [EMAIL PROTECTED] wrote : Hi! Is there a way to write the information stored in the .Traceback variable to a file? When I try it with dump() .Traceback - list(dump(.Traceback, file = \Mytraceback.R\)) Or there are other ways to write this information

Re: [R] .Traceback

2004-06-14 Thread Wolski
Thanks a lot! of course the assignment myvar-.Traceback is all what I need. Eryk *** REPLY SEPARATOR *** On 14.06.2004 at 10:53 Duncan Murdoch wrote: On Mon, 14 Jun 2004 16:38:48 +0200, Wolski [EMAIL PROTECTED] wrote : Hi! Is there a way to write the information stored

[R] Clustalw again

2004-06-14 Thread [EMAIL PROTECTED]
Hi, I try to have again some tips about clustalw function (in dna package). I try to use this function on a windos platform, but my pc doesn`t have enough memory(512 Mb) for allocation, analizing a file with more or less 37250 sequences , so i try on a linux platform and every time i have a

Re: [R] A Few MCLUST Questions

2004-06-14 Thread Christian Hennig
Hi Ken, 1) me starting with a partition converges toward the same result as em starting with the parameters associated with the partition. So there is no point in doing both and see which one is better. 2) hc is an agglomerative hierarchical method. This means, it starts with n clusters and

[R] extracting p-value of aov F-statistic

2004-06-14 Thread Sven Hartenstein
Hi, I would like to extract the p-value of the F-statistic of a aov-object's summary. Getting the p-value is so easy with t-tests (t.test(g1, y = g2, var.equal = FALSE)$p.value), but I couldn't find anything like that for ANOVAs. Any help appreciated, Sven

[R] error with barplot command?

2004-06-14 Thread
when i use barplot ,it seems there is sth wrong with it. my command are: beer = scan() 1: 3 4 1 1 3 4 3 3 1 3 2 1 2 1 2 3 2 3 1 1 1 1 4 3 1 26: Read 25 items barplot(table(beer)) but it does NOT produce what i want. version _ platform i386-pc-mingw32 arch i386

Re: [R] Clustalw again

2004-06-14 Thread Wolski
Hi Daniela! I understand it right? You want to compute an multiple alignment of 37000 sequences at once? There are no multiple alignment programs in the world that can compute a multiple alignment of 37000 sequences to my knowledge. Sincerely Eryk. Ps. What you can try is to cluster the

Re: [R] extracting p-value of aov F-statistic

2004-06-14 Thread Marc R. Feldesman
At 10:11 AM 6/14/2004, Sven Hartenstein wrote: Hi, I would like to extract the p-value of the F-statistic of a aov-object's summary. Getting the p-value is so easy with t-tests (t.test(g1, y = g2, var.equal = FALSE)$p.value), but I couldn't find anything like that for ANOVAs. Any help

[R] Clear Console

2004-06-14 Thread Enrique Bengoechea
Hi, Could someone please point to me which function clears the R console under Windows? (exactly what the R Gui Windows menu Edit Clear Console does). Seems simple but I haven't been succesful with the help system (help.search for console, clear console, screen...) nor on the list archives.

Re: [R] error with barplot command?

2004-06-14 Thread Duncan Murdoch
On Tue, 15 Jun 2004 01:40:49 +0800, »ÆÈÙ¹ó [EMAIL PROTECTED] wrote : when i use barplot ,it seems there is sth wrong with it. my command are: beer = scan() 1: 3 4 1 1 3 4 3 3 1 3 2 1 2 1 2 3 2 3 1 1 1 1 4 3 1 26: Read 25 items barplot(table(beer)) but it does NOT produce what i want. Please

[R] error running sammon

2004-06-14 Thread Greg Blevins
Hello, I am inputing a 17 x 17 symetric matrix to sammon. The matrix is a co-occurance matrix with no missing data. If this is at all relevant, running hclust on this matrix works. samx - sammon(q23axproduct) I receive the following error: Error in sammon(q23axproduct) : initial

[R] interrupt in Linux

2004-06-14 Thread Bickel, David
Does anyone know how to interrupt R in RedHat? Neither control-c nor Esc is working. What I don't want to do is close the window or kill the entire R process. Thanks, David This communication is for use by the intended recipient and ...{{dropped}}

[R] Coercing a dataframe column to datetime

2004-06-14 Thread richard . kittler
I am trying to coerce a data frame column from character to datetime using strptime but keep getting an error because the length of the coerced object is always 9. What am I doing wrong here: . ds - cbind(1:2, c(02/27/92

Re: [R] interrupt in Linux

2004-06-14 Thread Armin Roehrl
Does anyone know how to interrupt R in RedHat? Neither control-c nor Esc is working. What I don't want to do is close the window or kill the entire R process. Thanks, David Try Ctrl-Z and then to relunch it with %R from the shell-prompt. Ciao, -A.

[R] mkChar can be interrupted

2004-06-14 Thread Vadim Ogranovich
Hi, As was discussed earlier in another thread and as documented in R-exts .Call() should not be interruptible by Ctrl-C. However the following code, which spends most of its time inside mkChar, turned out to be interruptible on RH-7.3 R-1.8.1 gcc-2.96: #include Rinternals.h #include R.h

Re: [R] Coercing a dataframe column to datetime

2004-06-14 Thread Prof Brian Ripley
You have forgotten as.POSIXct is needed too. On Mon, 14 Jun 2004 [EMAIL PROTECTED] wrote: I am trying to coerce a data frame column from character to datetime using strptime but keep getting an error because the length of the coerced object is always 9. What am I doing wrong here:

Re: [R] error running sammon

2004-06-14 Thread Prof Brian Ripley
Which package is the sammon() you are using in? (There such functions in TWO packages.) On Mon, 14 Jun 2004, Greg Blevins wrote: Hello, I am inputing a 17 x 17 symetric matrix to sammon. The matrix is a co-occurance matrix with no missing data. If this is at all relevant, running

[R] Readline on R-1.9.1a

2004-06-14 Thread Kevin Bartz
Hello! I'm trying to install R-1.9.1a with readline on Suse Linux. As recommended in other posts, I've installed readline and readline-devel: [EMAIL PROTECTED]:~/R-1.9.1 rpm -qa | grep readline readline-devel-32bit-9.0-0 readline-32bit-9.0-0 readline-4.3-207 readline-devel-4.3-207 Then

Re: [R] extracting p-value of aov F-statistic

2004-06-14 Thread Sven Hartenstein
I would like to extract the p-value of the F-statistic of a aov-object's summary. Getting the p-value is so easy with t-tests (t.test(g1, y = g2, var.equal = FALSE)$p.value), but I couldn't find anything like that for ANOVAs. Maybe something like: ?summary.aov will give you a

[R] How to 'stamp' a plot with meta-data?

2004-06-14 Thread Itay Furman
Dear R users, Sometimes, for tracking purposes, I am interested to add to a plot some metadata such as * the date it was produced * filename that stores the plot * perhaps data sources, author, etc Ideally, I would like to be able to do this for any kind of plot, plot(), barplot(), hist(),

[R] load function to R GUI

2004-06-14 Thread Evgueni Parilov
Hi all! I looked through the manual and FAQ, and did not find any information on how to load functions from files (with .R extension) to run them in R GUI under Windows. The only way I know is to create and edit a function inside GUI. But what if I want to edit it in Emacs (do not want to use ESS)

RE: [R] load function to R GUI

2004-06-14 Thread Ko-Kang Kevin Wang
Hi, -Original Message- From: [EMAIL PROTECTED] Hi all! I looked through the manual and FAQ, and did not find any information on how to load functions from files (with .R extension) to run them in R GUI under Windows. The only way I know is to create and edit a function inside GUI.

Re: [R] How to 'stamp' a plot with meta-data?

2004-06-14 Thread Frank E Harrell Jr
Itay Furman wrote: Dear R users, Sometimes, for tracking purposes, I am interested to add to a plot some metadata such as * the date it was produced * filename that stores the plot * perhaps data sources, author, etc Ideally, I would like to be able to do this for any kind of plot, plot(),

Re: [R] load function to R GUI

2004-06-14 Thread Evgueni Parilov
Thanks! That was exactly what I wanted. Evgueni Ko-Kang Kevin Wang wrote: Hi, -Original Message- From: [EMAIL PROTECTED] Hi all! I looked through the manual and FAQ, and did not find any information on how to load functions from files (with .R extension) to run them

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Roger D. Peng
If you've got the required rpm's installed (and they install in the usual locations), you should not need the --with-readline flag. Try running configure with out it. -roger Kevin Bartz wrote: Hello! I'm trying to install R-1.9.1a with readline on Suse Linux. As recommended in other posts,

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Peter Dalgaard
Kevin Bartz [EMAIL PROTECTED] writes: Hello! I'm trying to install R-1.9.1a with readline on Suse Linux. As recommended in other posts, I've installed readline and readline-devel: ... [EMAIL PROTECTED]:~/R-1.9.1 rpm -qa | grep readline readline-devel-32bit-9.0-0 readline-32bit-9.0-0

RE: [R] Readline on R-1.9.1a

2004-06-14 Thread Liaw, Andy
Given this is turning out to be an FAQ, wouldn't it make sense to have these rpm's as depends for the R rpm? (I always compile from source, so don't know what the R rpm actually depends on.) Best, Andy From: Peter Dalgaard Kevin Bartz [EMAIL PROTECTED] writes: Hello! I'm trying to

Re: [R] extracting p-value of aov F-statistic

2004-06-14 Thread Chuck Cleland
Sven: A suggestion from Peter Dalgaard in the archives: http://tolstoy.newcastle.edu.au/R/help/01a/2097.html data(warpbreaks) LZ.aov - summary(aov(breaks ~ wool + tension, data = warpbreaks)) as.matrix(LZ.aov[[1]][,5]) [,1] [1,] 0.073613669 [2,] 0.00138 [3,] NA hope this

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Roger D. Peng
People who compile from source still need to install the necessary rpms. -roger Liaw, Andy wrote: Given this is turning out to be an FAQ, wouldn't it make sense to have these rpm's as depends for the R rpm? (I always compile from source, so don't know what the R rpm actually depends on.) Best,

[R] Quadruple precision in R

2004-06-14 Thread Ravi Varadhan
Hi: Is it possible to perform computations in quadruple precision (more generally, with more digits in the floating-point arithmetic than that allowed by double precision) in R? thanks, Ravi. [[alternative HTML version deleted]] __

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Dirk Eddelbuettel
On Mon, Jun 14, 2004 at 04:01:02PM -0400, Roger D. Peng wrote: People who compile from source still need to install the necessary rpms. Which is why another Linux distribution uses the concept of Build-Depends :) This can be complicated if you strive to include just about everything that there

RE: [R] Readline on R-1.9.1a

2004-06-14 Thread Liaw, Andy
From: Roger D. Peng People who compile from source still need to install the necessary rpms. Sure, but apparently one can install the R rpm without those, and that's the real problem. Andy -roger Liaw, Andy wrote: Given this is turning out to be an FAQ, wouldn't it make sense

Re: [R] extracting p-value of aov F-statistic

2004-06-14 Thread Douglas Bates
Sven Hartenstein wrote: Hi, I would like to extract the p-value of the F-statistic of a aov-object's summary. Getting the p-value is so easy with t-tests (t.test(g1, y = g2, var.equal = FALSE)$p.value), but I couldn't find anything like that for ANOVAs. Look at str(summary(aov.object)) For

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread A.J. Rossini
Dirk Eddelbuettel [EMAIL PROTECTED] writes: On Mon, Jun 14, 2004 at 04:01:02PM -0400, Roger D. Peng wrote: People who compile from source still need to install the necessary rpms. Which is why another Linux distribution uses the concept of Build-Depends :) Which is another reason why I use

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Peter Dalgaard
Liaw, Andy [EMAIL PROTECTED] writes: From: Roger D. Peng People who compile from source still need to install the necessary rpms. Sure, but apparently one can install the R rpm without those, and that's the real problem. (Wasn't Kevin's though. But there's really no way of helping

Re: [R] mkChar can be interrupted

2004-06-14 Thread Luke Tierney
Not sure why you think this suggest mkChar can be interrupted. If you want to figure out how interrupt handling works on unix, run under gdb and single step from the signal to the next point where R_CheckUserInterrupt is called. You should find that the signal handler sets a flag and that flag

RE: [R] interrupt in Linux

2004-06-14 Thread Bickel, David
Patrick, control-c seems to interrupt loops, but not the display of enormous objects, as when I typed the name of a several-hundred megabyte list. Is there a way to interrupt that? control-D does not interrupt R, but kills the entire R process. Thanks, David -Original Message- From:

Re: [R] interrupt in Linux

2004-06-14 Thread Roger D. Peng
What version of R are you using? This was a problem in 1.8.0 but I think was fixed in 1.8.1. -roger Bickel, David wrote: Patrick, control-c seems to interrupt loops, but not the display of enormous objects, as when I typed the name of a several-hundred megabyte list. Is there a way to

RE: [R] interrupt in Linux

2004-06-14 Thread Bickel, David
version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major1 minor9.0 year 2004 month04 day 12

Re: [R] terminology for frames and environments

2004-06-14 Thread Thomas Lumley
On Mon, 14 Jun 2004, Gabor Grothendieck wrote: Thomas Lumley tlumley at u.washington.edu writes: The distinction between environment and frame is important. The frame is what you find things in with get(, inherits=FALSE) and the environment uses get(, environment=TRUE). The thing I find

[R] polygons around clusters of identically valued nodes in levelplot()

2004-06-14 Thread Scott Waichler
I'm looking for a way to plot lines on top of a levelplot(), where the lines are borders between cells of different values. The clines() function provides contours suitable for continuous data. I am dealing with discrete values, spatial clusters of nodes where each cluster has an integer value,

Re: [R] How to 'stamp' a plot with meta-data?

2004-06-14 Thread partha_bagchi
I would take the metadata and plot it at the bottom (or top - your preference) using mtext. Check out the options oma and the usage of mtext. Partha Itay Furman [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 06/14/2004 03:17 PM Please respond to Itay Furman To: [EMAIL

RE: [R] interrupt in Linux

2004-06-14 Thread Ted Harding
On 14-Jun-04 Bickel, David wrote: Does anyone know how to interrupt R in RedHat? Neither control-c nor Esc is working. What I don't want to do is close the window or kill the entire R process. Thanks, David Ctrl-C should interrupt what R is doing and return you to the R command prompt. ESC

[R] olesolve: stepsize

2004-06-14 Thread Zhixin Guan
Hi, I am doing a project on the simulation of glucose metabolism based on a pharmacokinetic modeling in which we have 4 differential equations. I did this in R by using the odesolve package. It works very well, but I have two questions: Here is the odemodel function

RE: [R] Readline on R-1.9.1a

2004-06-14 Thread Kevin Bartz
Hi Peter! Thanks so much for your help. Installing ncurses and ncurses-devel did the trick for me, and now readline's working fine in R. Now how did you manage to notice that? Kevin -Original Message- From: Peter Dalgaard [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 1:20 PM To:

Re: [R] terminology for frames and environments

2004-06-14 Thread Gabor Grothendieck
Thomas Lumley tlumley at u.washington.edu writes: : If you think of the nested structure then : it does make sense and is analogous to what happens with more complicated : lists and expressions. : : If you had :e-quote(b*x) :f- substitute(a+tmp,list(tmp=e)) : x would not appear as an

Re: [R] error with barplot command?

2004-06-14 Thread Ted Harding
On 14-Jun-04 Duncan Murdoch wrote: On Tue, 15 Jun 2004 01:40:49 +0800, »ÆÈÙ¹ó [EMAIL PROTECTED] wrote : when i use barplot ,it seems there is sth wrong with it. my command are: beer = scan() 1: 3 4 1 1 3 4 3 3 1 3 2 1 2 1 2 3 2 3 1 1 1 1 4 3 1 26: Read 25 items barplot(table(beer)) but it

Re: [R] terminology for frames and environments

2004-06-14 Thread Peter Dalgaard
Gabor Grothendieck [EMAIL PROTECTED] writes: Thomas Lumley tlumley at u.washington.edu writes: The distinction between environment and frame is important. The frame is what you find things in with get(, inherits=FALSE) and the environment uses get(, environment=TRUE). The thing I find

Re: [R] How to 'stamp' a plot with meta-data?

2004-06-14 Thread Don MacQueen
I use this little function for adding a datestamp manually. runstamp - function (adj = 1, cex = 0.75, line = 4) mtext(format(Sys.time()), side = 1, adj = adj, cex = cex, line = line) Since the default lower margin is 5.1, line = 4 works pretty well. You can, of course, put any other

Re: [R] olesolve: stepsize

2004-06-14 Thread Peter Dalgaard
Zhixin Guan [EMAIL PROTECTED] writes: Hi, I am doing a project on the simulation of glucose metabolism based on a pharmacokinetic modeling in which we have 4 differential equations. I did this in R by using the odesolve package. It works very well, but I have two questions: Here

Re: [R] error with barplot command?

2004-06-14 Thread Peter Dalgaard
(Ted Harding) [EMAIL PROTECTED] writes: Please try 1.9.1 beta. This should be fixed now... Hmmm. R major1 minor8.0 year 2003 table(beer) beer 1 2 3 4 10 4 8 3 and barplot(table(beer)) looks fine! Does this mean that barplot() got un-fixed between 1.8.0

RE: [R] mkChar can be interrupted

2004-06-14 Thread Vadim Ogranovich
-Original Message- From: Luke Tierney [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 1:30 PM To: Vadim Ogranovich Cc: R-Help Subject: Re: [R] mkChar can be interrupted Not sure why you think this suggest mkChar can be interrupted. If you want to figure out how

Re: [R] glmmML package

2004-06-14 Thread Thomas Lumley
On Mon, 14 Jun 2004, Small, Dylan wrote: I'm trying to use the glmmML package on a Windows machine. When I try to install the package, I get the message: {pkg - select.list(sort(.packages(all.available = TRUE))) + if(nchar(pkg)) library(pkg, character.only=TRUE)} Error in dyn.load(x,

RE: [R] mkChar can be interrupted

2004-06-14 Thread Luke Tierney
On Mon, 14 Jun 2004, Vadim Ogranovich wrote: -Original Message- From: Luke Tierney [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 1:30 PM To: Vadim Ogranovich Cc: R-Help Subject: Re: [R] mkChar can be interrupted Not sure why you think this suggest mkChar can be

[R] Question about nlm function

2004-06-14 Thread Lovely Goyal
Hello! I am a statistics graduate student and a new user of R. I am using nlm function to get estimates from a nonlinear function. I am running a simulation program. When I run the simulation with same set of starting vales then one third of the time I get bad results and I also noticed that

RE: [R] mkChar can be interrupted

2004-06-14 Thread Vadim Ogranovich
I am confused. Here is an excerpt from R-exts: As from R 1.8.0 no port of R can be interrupted whilst running long computations in compiled code,... Doesn't it imply that the primitive functions like allocVector, mkChar, etc., which are likely to occur in any compiled code called via .Call, are

[R] question about nlm function

2004-06-14 Thread Lovely Goyal
Hello! I am a statistics graduate student and a new user of R. I am using nlm function to get estimates from a nonlinear function. I am running a simulation program. When I run the simulation with same set of starting vales then one third of the time I get bad results and I also noticed that

[R] SJava

2004-06-14 Thread A Friend
Does anyone have any experience with SJava especially on Windows? __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

RE: [R] mkChar can be interrupted

2004-06-14 Thread Luke Tierney
On Mon, 14 Jun 2004, Vadim Ogranovich wrote: I am confused. Here is an excerpt from R-exts: As from R 1.8.0 no port of R can be interrupted whilst running long computations in compiled code,... Doesn't it imply that the primitive functions like allocVector, mkChar, etc., which are

Re: [R] terminology for frames and environments

2004-06-14 Thread Gabor Grothendieck
Peter Dalgaard [EMAIL PROTECTED] Gabor Grothendieck [EMAIL PROTECTED] writes: Thomas Lumley tlumley at u.washington.edu writes: The distinction between environment and frame is important. The frame is what you find things in with get(, inherits=FALSE) and the environment

[R] mixed models question

2004-06-14 Thread Chris Wilcox
I am trying to fit the following linear model to logged per capita fecundity data (ie number of babies per female) for a mouse: RsNRlS - glm(formula = ln.fecundity ~ summer.rainfall + N + lagged.rainfall + season, ) I am using this relationship in a simulation model, and the current

RE: [R] mkChar can be interrupted

2004-06-14 Thread Vadim Ogranovich
This is disappointing. How on Earth can mkChar know when it is safe or not to make a long jump? For example if I just opened a file how am I supposed to close it after the long jump? I am not even talking about C++ where long jumps are simply devastating... (and this is the language I am coding in

Re: [R] terminology for frames and environments

2004-06-14 Thread Gabor Grothendieck
There was a typo in the previous version of this message. Pela should have been Pel. Here it is corrected. Peter Dalgaard [EMAIL PROTECTED] Gabor Grothendieck [EMAIL PROTECTED] writes: Thomas Lumley tlumley at u.washington.edu writes: The distinction between environment and frame

RE: [R] mkChar can be interrupted

2004-06-14 Thread Luke Tierney
On Mon, 14 Jun 2004, Vadim Ogranovich wrote: This is disappointing. How on Earth can mkChar know when it is safe or not to make a long jump? For example if I just opened a file how am I supposed to close it after the long jump? I am not even talking about C++ where long jumps are simply

RE: [R] mkChar can be interrupted

2004-06-14 Thread Vadim Ogranovich
Thank you. This gives hope, I am looking forward to the next major release. May I make a wish that the future try/finally mechanism will inlcude support for C++ exceptions? For example by allowing the programmer to set an error handler that raises a C++ exception. It should be easy in error(),

[R] Parsing results from boot

2004-06-14 Thread Scott Norton
This probably has a super easy answer...but I claim newbie status! (I did search help lists but this question is hard to isolate keyword-wise) Basically, I'm trying to figure out how to parse the results from executing boot(). I'm mainly interested in assigning the standard error estimate to a