[R] strucchange package for windows

2006-06-03 Thread Vishal Saxena
Hi Achim, I'd like to try to run the strucchange package on R. However, it seems that the package can only run on systems running Debian and not Windows XP. Is this true? Or is there a windows version? I downloaded the strucchange file but they seem to have the dot deb extension and seem to

Re: [R] strucchange package for windows

2006-06-03 Thread Prof Brian Ripley
On Sat, 3 Jun 2006, Vishal Saxena wrote: Hi Achim, I'd like to try to run the strucchange package on R. However, it seems that the package can only run on systems running Debian and not Windows XP. Is this true? Or is there a windows version? I downloaded the strucchange file but they seem

[R] Help on plotting a 3 dimensional surface

2006-06-03 Thread Tor Jørund Sund
Hi Im working on my master thesis, I need to get a plot currents distributed over a surface. I have the data listed in a dataframe with the x coordinates, y coordinates and the value. Im using the persp function but I’ve not found out how to put the data into the z1 variable es

Re: [R] presetting R environment

2006-06-03 Thread Martin Maechler
Guillaume == Guillaume Blanchet [EMAIL PROTECTED] on Fri, 2 Jun 2006 15:16:31 -0400 writes: Guillaume Hi, Is there a way of presetting my R environment Guillaume so that, for example everything between -1e-15 Guillaume and -1e-15 be equal to 0. No. But that would not be a good

Re: [R] A coding question

2006-06-03 Thread Uwe Ligges
xpRt.wannabe wrote: Uwe and Ben, Thank you both for your help. To me, both sets of code seem to do the job and should produce the same results. However, as a test I inserted set.seed( ) as follows. Unless I put set.seed( ) in the wrong lines, the results produced by both sets of code

Re: [R] function environment

2006-06-03 Thread Martin Maechler
Roger == Roger D Peng [EMAIL PROTECTED] on Fri, 02 Jun 2006 13:03:12 -0400 writes: Roger Try Roger save(A, B, file = myfun.r) Roger attach(myfun.r) Roger Your functions will be on the search list. yes. But do yourself (and your readers/users/..) a favor by using a

Re: [R] HTML masked (due to Rpad?)

2006-06-03 Thread Duncan Murdoch
On 6/3/2006 12:11 AM, roger bos wrote: With an older verion of R (I think 2.2.0) and an older version of Rpad I used to use HTML(go, collapse=false) where go is list of objects returned by a function and this worked great. Now that I have done some upgrading (to R 2.3.1 and Rpad 1.1.0) its

Re: [R] Help on plotting a 3 dimensional surface

2006-06-03 Thread Duncan Murdoch
On 6/3/2006 5:54 AM, Tor Jørund Sund wrote: Hi Im working on my master thesis, I need to get a plot currents distributed over a surface. I have the data listed in a dataframe with the x coordinates, y coordinates and the value. Im using the persp function but I’ve not found out

[R] multiple crosstabulation

2006-06-03 Thread Niklaus Kuehnis
Hi, Two questions: 1) I have a data.frame of binary factors (x, y, z, ...) and would like to do tables like table(a,b) for any combination of factors, 2 by 2. I.e. I'm looking for the equivalent of table(x,y) table(x,z) table(y,z) ... Is there a simple way to do this? 2) Similar to the

[R] default value for cutoff in gstat variogram()

2006-06-03 Thread Patrick Giraudoux
I wonder what is the default value for the argument 'cutoff' when not specified in the variogram.formula function of gstat. Computing variogram envelops within gstat, I am comparing the results obtained with variog in geoR and variogram in gstat, and it took me a while before understanding

Re: [R] How to call a value labels attribute?

2006-06-03 Thread Martin Maechler
Heinz == Heinz Tuechler [EMAIL PROTECTED] on Tue, 23 May 2006 01:17:21 +0100 writes: Heinz Dear All, after searching on CRAN I got the Heinz impression that there is no standard way in R to Heinz label values of a numerical variable. Hmm, there's names(.) and names(.) - ..

Re: [R] standardization of values before call to pam() or clara()

2006-06-03 Thread Martin Maechler
Dylan == Dylan Beaudette [EMAIL PROTECTED] on Mon, 22 May 2006 17:33:47 -0700 writes: Dylan Greetings, Experimenting with the cluster package, Dylan and am starting to scratch my head in regards to the Dylan *best* way to standardize my data. Both functions can Dylan

[R] doubt with integrate ()

2006-06-03 Thread Rogério Rosa da Silva
Dear members, I'm getting an error with the integrate function. Searching in the r-help archives, I think this may have something to do with the function (it is not returning a vector but a number), but I don't see exactly what. The function to integrate was defined with a for loop first:

Re: [R] Help on plotting a 3 dimensional surface

2006-06-03 Thread Camarda, Carlo Giovanni
Note that in the help(persp) you could read that z: a MATRIX containing the values to be plotted. Hope this simple example can help you: x1 - 1:87 y1 - 1:61 values - volcano # which is a 87x61 matrix: class(values) persp(x1, y1, values) If you would like to keep your data.frame setting, a

[R] warnings messages from R when returning nothing

2006-06-03 Thread markleeds
Hi : I have old Splus code that I am trying to turn into R ( I am using windows Xp and R 2.20 ) and I am getting a warning from one of my statements because the behavior of R is different from Splus. below, tempdata is a matrix of numbers and I have the following command which basically runs

Re: [R] warnings messages from R when returning nothing

2006-06-03 Thread Duncan Murdoch
On 6/3/2006 2:44 PM, [EMAIL PROTECTED] wrote: Hi : I have old Splus code that I am trying to turn into R ( I am using windows Xp and R 2.20 ) and I am getting a warning from one of my statements because the behavior of R is different from Splus. below, tempdata is a matrix of numbers and

[R] nested design

2006-06-03 Thread Jörn Buse
Hello, there is a problem to calculate the following model: model-aov(Biomass~Beech+Age+Error(Age/Stand)) Warning message: Error() model is singular in: aov(Biomass ~ Beech + Age + Error(Age/Stand)) The summary output is: Error: Age Df Sum Sq Mean Sq Beech 1 142671 142671 Error:

[R] apologies (was: doubt with integrate ())

2006-06-03 Thread Rogério Rosa da Silva
Dear members, I had to post twice the same message. I really apologize for the inconvenience. I had trouble with my Thunderbird and needed to post via web mail. Owing to the same reason, I didn't see in my inbox the email I sent. Only after sending it again (so I could go on with my issue) I saw

[R] Problem with pointsizes in Graphics

2006-06-03 Thread Robert Offinger
Hello, I have a problem with the sizes of points on the screen (Code tested for some R versions on a Solaris system and also for Linux). Maybe it is best to start with an example: If I do a very simple plot using the character '.' for the points, e.g., n-100;

Re: [R] lm() variance covariance matrix of coefficients.

2006-06-03 Thread Ritwik Sinha
Thanks Everybody, I found it moments after I posted the question. Ritwik. On 03 Jun 2006 01:34:48 +0200, Peter Dalgaard [EMAIL PROTECTED] wrote: Rolf Turner [EMAIL PROTECTED] writes: Peter Dalgaard wrote: Rolf Turner [EMAIL PROTECTED] writes: summary(object)$cov.unscaled

Re: [R] nested design

2006-06-03 Thread Richard M. Heiberger
Your model model - aov(Biomass ~ Beech + Age + Error(Age/Stand)) has a redundancy that might be causing the problem. I can't tell without the data. Try tree.aov - aov(Biomass ~ Beech + Age + Error(Stand %in% Age)) A second potential problem is the class of the variables. From the degrees of

[R] difference in behavior between batch and source

2006-06-03 Thread markleeds
Hi : I am using R 2.20 on windows XP and I have a REALLY long read.table statement because the col.names argument has 440 character strings in it. ( I use python to write R code ). When I run the read.table statement inside an R program ( the R program only consists of the read.table statement )

Re: [R] difference in behavior between batch and source

2006-06-03 Thread Gabor Grothendieck
Maybe: nm - c(a, b, c) nm - c(nm, d, e, f) ... read.table(myfile.dat, col.names = nm) or paste the column names into the first line of the data file using a text editor and use: read.table(myfile.dat, header = TRUE) On 6/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi : I am using R 2.20

[R] surprising dates

2006-06-03 Thread ivo welch
I wonder if this is an intentional feature or an oversight. in some column summaries or in ifelse operations, apparently I am losing the date property of my vector. a - c(198012, 198101, 198102) b - a*100+31 c - as.Date( as.character(b), %Y%m%d ) summary(c) Min. 1st Qu.

[R] Problems using lwd in GDD

2006-06-03 Thread Luiz Rodrigo Tozzi
hi I'm using the GDD package (in a 64bits fedora machine using R 2.3.0) to save in a png file some plots and i noticed that changing the lwd parameter does not change my line width I tried the same script in a Windows based R (2.2.1 r36812), using no GDD, and it worked. Does anybody has a clue?

Re: [R] surprising dates

2006-06-03 Thread Gabor Grothendieck
On 6/3/06, ivo welch [EMAIL PROTECTED] wrote: I wonder if this is an intentional feature or an oversight. in some column summaries or in ifelse operations, apparently I am losing the date property of my vector. a - c(198012, 198101, 198102) b - a*100+31 c - as.Date( as.character(b),

[R] text bubble (rectangle)?

2006-06-03 Thread ivo welch
Dear R wizards: sorry to bug everyone twice in one day. I would like to annotate my graph by putting text strings into rectangle boxes with a little cartoon-like bubble with a lid pointing to a specific location. I can draw some sort of bubble-with-lid using the R primitives. (has anyone done

[R] dependencies ERROR during R CMD check

2006-06-03 Thread Zhu Wang
Dear all, I was trying to build my own R package cts on LINUX but got the following checking package dependencies error and a warning message. What were wrong? Thanks, Zhu # R CMD check cts * checking for working latex ... OK * using log directory '/home/zwang/R/pkg/cts.Rcheck' * using