Re: [R] question about precision, floor, and powers of two.

2005-11-04 Thread Uwe Ligges
Dr Carbon wrote: At the risk of being beaten about the face and body, can somebody explain why the middle example: log2(2^3); floor(log2(2^3)) is different than examples 1 and 3? Because log2(2^3) - 3 [1] -4.440892e-16 see the R FAQ Why doesn't R think these numbers are equal?. Uwe

Re: [R] quadratic form

2005-11-03 Thread Uwe Ligges
Calculations in R. R News 4(1), 17-20, http://CRAN.R-project.org/doc/Rnews/ Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] how to overlay many plot windows in a sigle frame

2005-11-02 Thread Uwe Ligges
below where the arrangement takes place automatically? Uwe Ligges For example, suppose I have to plot the vertical profile of the aircraft co2 measurement in different months in a year, and I want to plot these different months in separate windows but the final 12 plots I want to keep

Re: [R] forgot to read the posting guide, was: Re: (no subject)

2005-11-02 Thread Uwe Ligges
the relevant documents, you might want to ask again... Best, Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] R2WinBUGS: Comparison to WinBUGS

2005-11-01 Thread Uwe Ligges
nobody else reported any problems yet... Thanks. Hadassa Please send me your data in a private message. Perhaps we (let me include Sibylle Sturtz here, since she certainly knows better) find some time during the next week to look into it. Uwe Ligges

Re: [R] dataframe conversion

2005-11-01 Thread Uwe Ligges
of the times. In particular, you cannot make a row from a data.frame to a column generally. In this case, we just convert the data.frame to matrix. I think most easily you can write: dat - t(rbind(meanprofile, sdprofile)) colnames(dat) - c(meanprofile, sdprofile) Uwe Ligges Thanks

Re: [R] How to change label size in a plot

2005-11-01 Thread Uwe Ligges
Fiona Mc Cahey wrote: Dear all, I have created a plot like this: matrix-read.table(G:\\my documents\\names.txt,header=T) hc-hclust(dist(matrix)^2,cen) memb-cutree(hc,k=10) plot(hc,col=black) What about specifying argument cex? Uwe Ligges This prints out a dendrogram with labels

Re: [R] Build R package with shared library

2005-11-01 Thread Uwe Ligges
into the ./lib directory. dyn.load(pack.so,PACKAGE=pack) argc-2 argv-c(./test,file1) .C(main,as.integer(argc),as.vector(argv),PACKAGE=pack) You really want to pass a directory and a filename to your shared library? So, why are you using R in between? Uwe Ligges What am I doing wrong

Re: [R] Hilfeanfrage

2005-10-30 Thread Uwe Ligges
Dirk Eddelbuettel wrote: Thomas, On 30 October 2005 at 17:05, Thomas Herbst wrote: | Sehr geehrtes R-TEAM! The list operates in English as a casual look at the archives would have told you. | Wie Sie sehen, besteht die Variable worldindex05r aus 3 Spalten V1, V2, | V3. Rechnen kann R

Re: [R] Matrix operations please help

2005-10-30 Thread Uwe Ligges
See ?reshape Uwe Ligges Srinivas Iyyer wrote: Dear Group, I have a matrix (157 X 157 ) with correlation values. I want to convert the unique elements into a long list so that I can add an extra variable and plot them. Example: A B C D alfa 1 0.3 0.8 -0.3

Re: [R] its dates masked by chron

2005-10-28 Thread Uwe Ligges
happy to put it into the next release. -Whit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Uwe Ligges Sent: Thursday, October 27, 2005 4:07 PM To: Peter Dalgaard Cc: r-help@stat.math.ethz.ch Subject: Re: [R] its dates masked by chron Peter

Re: [R] MCMC in R

2005-10-28 Thread Uwe Ligges
: http://www-fis.iarc.fr/~martyn/software/jags/ Uwe Ligges Jun __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] errors handling

2005-10-28 Thread Uwe Ligges
flow ends. How can I ignore these errors, allowing the program to go on? Please read the FAQs, in particular How can I capture or ignore errors in a long simulation?! Uwe Ligges Thanks, Marco [[alternative HTML version deleted

Re: [R] clustering

2005-10-28 Thread Uwe Ligges
distance between observations (or clusters), hence not related to weights of variables. Uwe Ligges Thanks Alessandro __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http

Re: [R] its dates masked by chron

2005-10-27 Thread Uwe Ligges
: the package currently appears to be more or less unmaintained) to fix this probably unintended behaviour. Uwe Ligges -- Forwarded message -- From: Omar Lakkis [EMAIL PROTECTED] Date: Oct 27, 2005 11:47 AM Subject: its dates masked by chron To: r-help@stat.math.ethz.ch I built R 2.2.0

Re: [R] stepAIC formula upper limit guidelines

2005-10-25 Thread Uwe Ligges
will need an almost infinite number of observation to be sure you did not find anything just by chance ... Uwe Ligges Specifically, I am trying to determine what syntax will give stepAIC the most flexibility to slice and dice my inputs as it searches for the best possible model. Any details

Re: [R] Can anyone please tell me how to strip the white spaces from a character vector?

2005-10-25 Thread Uwe Ligges
and ends but there may be far better approches. In order to remove *all* blanks, try gsub( , , a$tic) Uwe Ligges Thanks, Roger [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] question about technieque do with large computation

2005-10-24 Thread Uwe Ligges
lines calculating stuff as in f1a ## ## many lines calculating stuff as in f1c ## } Uwe Ligges 2005-10-23 -- Deparment of Sociology Fudan University My new mail addres is [EMAIL PROTECTED] Blog:http://sociology.yculblog.com

Re: [R] Strange update behavior of gregmisc

2005-10-24 Thread Uwe Ligges
Googling for gregmisc update points us, e.g., to http://tolstoy.newcastle.edu.au/~rking/R/devel/05/06/1140.html Uwe Ligges Thomas Schönhoff wrote: Hello, I notice an odd behavior of gregmisc package when using update.packages() via R --no-save (as root). Every time I launch

Re: [R] npmc package

2005-10-22 Thread Uwe Ligges
of CRAN, though. Uwe Liges Kjetil Carlos Regards, Carlos Mauricio Carlos Brazil Regards, Martin Maechler, ETH Zurich Carlos Uwe Ligges escreveu: Carlos Mauricio Cardeal Mendes wrote: Hi Does anyone know where is the package: npmc

Re: [R] Errors occured

2005-10-22 Thread Uwe Ligges
that... given you have not already found a solution after reading the guide. Uwe Ligges Thanks a lot! Leaf __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] suppress messages on loading its

2005-10-21 Thread Uwe Ligges
function for 'union' in 'its' Creating a new generic function for 'intersect' in 'its' Another issue is that its currently does not pass the CRAN checks neither for R-release nor R-devel (but looks like it passes for R-patched since a couple of days now). Uwe Ligges

Re: [R] Attributing values to matrix according to names

2005-10-20 Thread Uwe Ligges
10170 NA NA NA NA NA data[10014,1,1]-count[10014] works but data[names(count),1,1]-count[names(count)] You mean data[names(count),1,1] - count[names(count)] without the quotes ... Uwe Ligges Fails with Error: indexing outside limits. Many thanks for any help

Re: [R] search a value in variables dataset

2005-10-20 Thread Uwe Ligges
you very much for any suggestions. Without having tested: with(my.reducedID, rownames(V1==0 V5==14 V6==2)) Uwe Ligges Best, Muhammad Subianto __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] npmc package

2005-10-19 Thread Uwe Ligges
can get older versions from the archives, though: your-CRAN-mirror/src/contrib/Archive/N/npmc_1.0-1.tar.gz Uwe Ligges Thanks Mauricio __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] memory.size

2005-10-17 Thread Uwe Ligges
to set the max for memory? Either use memory.limit() in R or start R with, e.g., RGui --max-mem-size=1400M in order to get a max. of 1400Mb of memory... Uwe Ligges cheers, dave ps - please respond directly to [EMAIL PROTECTED] __ R-help

Re: [R] Your order (#gzmgss-R-help) Is somebody's machine infected to zombie this trash??

2005-10-16 Thread Uwe Ligges
in this context (and is not a waste of bandwidth): Many thanks to Martin Maechler for managing this list (as well as the others!) in such a perfect manner and keeping it almost free of spam! Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https

Re: [R] batch file execution

2005-10-15 Thread Uwe Ligges
than from within R with the Syntax (if called from c:\ and R is in your PATH): R CMD BATCH whatever.R Uwe Ligges paul sorenson __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] batch file execution

2005-10-15 Thread Uwe Ligges
jun xu wrote: Thanks for all your (ronggui, *Uwe Ligges , **sosman) *help. I got it through using source. I know R has gone through all those lines, but I didn't get results of what I would if I use drop-down menu and click run all under edit after I open a script file? Basically, nothing

Re: [R] zip package

2005-10-14 Thread Uwe Ligges
or install.packages(C:/Path/to/Zip/File/Package_Version.zip, repos = NULL) to install a binary package you already got on your harddisk. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] mtext: rotating text

2005-10-14 Thread Uwe Ligges
(): opar - par(las=1) plot(1:10) par(opar) mtext(Hello, 2) Uwe Ligges Jonathan Dushoff __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting

Re: [R] Sweave +RWinEdt

2005-10-14 Thread Uwe Ligges
Arnab mukherji wrote: Hi! I was just reading Uwe Ligges write up on extending R-WinEdt for Sweave from 2003; I was wondering if there were updates on it? Are people seriously thiking about it? I really use WinEdt a lot, and for not just R, and hence this kind of extension would

Re: [R] Problems with plot function

2005-10-11 Thread Uwe Ligges
choisir la gauche)) Uwe Ligges plot(conc, choixg, main =fonction de choix, col= blue, pch=20, xlab = concentration, ylab=proba de choisir la gauche) ## Lassana KOITA Service Technique de l'Aviation Civile (STAC) Direction Générale

Re: [R] an error in my using of nnet

2005-10-11 Thread Uwe Ligges
talking about? Do you meant the one from package nnet in the VR bundle? - Which version of R and nnet are we talking about? - What about trying to debug yourself in a first step? E.g. a traceback() might give you (and us) some first hints what is going on. Uwe Ligges Thanks, Weiwei

Re: [R] possible bug in image() ??

2005-10-10 Thread Uwe Ligges
,max=1.2) eee=ceiling(ee-1) x=matrix(data=c(ccc,ddd,eee),nrow=1500) image(x) points(seq(0,1,1/(1500-1)),(ccc)^-1*0, pch=.) points(seq(0,1,1/(1500-1)),(ddd)^-1*0.5, pch=.) points(seq(0,1,1/(1500-1)),(eee)^-1*1, pch=.) dev.off() and zoom in now Uwe Ligges Gareth Davies wrote

Re: [R] ATLAS version for Rblas.dll under Windows; was: (no subject)

2005-10-10 Thread Uwe Ligges
, AthlonXP, Athlon64 (32-bit), you are welocme to contribute, of course. Uwe Ligges Thank you, Bing Ho __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] details about lm()

2005-10-10 Thread Uwe Ligges
) The slope estimate is still valid while your intercept can be calculated afterwards. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting

Re: [R] question about ways to solve nonlinear system

2005-10-10 Thread Uwe Ligges
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html R itself cannot calculate symbolically (which is what you want to do it in this case, I guess), just numerically. Uwe Ligges

Re: [R] Show Progress in loop

2005-10-10 Thread Uwe Ligges
by moving as much as possible out of your loop by doing it in a vectorized way (I don't know all the functions you are using, hence cannot make any further recommendations). Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] R: integration problem

2005-10-10 Thread Uwe Ligges
Clark Allan wrote: hi all an integration problem. i would like an exact or good approximation for the following, but i do not want to use a computer. any suggestions: integral of exp(b*x)/sqrt(1-x^2) Sounds like the problem of integrating the Gaussian density... Uwe Ligges where

Re: [R] plot - no main title and missing abscissa value

2005-10-10 Thread Uwe Ligges
to specify a minimal toy example that shows your problem. Uwe Ligges Thanks Iain __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] details about lm()

2005-10-10 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Uwe Ligges a écrit : [EMAIL PROTECTED] wrote: Domenico Cozzetto a écrit : Dear all, I'd like to get a linear regression of some data, and impose that the line goes through a given point P. I've tried to use the lm() method in the package stats, but I wasn't

Re: [R] plot - no main title and missing abscissa value

2005-10-10 Thread Uwe Ligges
=1.3, xaxt=n, yaxt=n) 3. As I have already guessed, the axis annotation of the tick at position 1 is left out because R thinks there is not enough space left. You can workaround this point by making the label appear separately as in: axis(side=1, at=c(0,3,5,7,10,14,21)) axis(1, 1) Uwe Ligges

Re: [R] problem in installing a package

2005-10-06 Thread Uwe Ligges
have full write access? The 00LOCK directory is used to save the older package in order to be able to restore it if a new installtion fails. Something went wrong and you have to remove it manually now, I guess. Uwe Ligges Thanks. Claire __ R

Re: [R] problem with installing a package

2005-10-06 Thread Uwe Ligges
to install from some *other arbitrary* source directory *into* the library mentioned above. Uwe Ligges $ R CMD check bbHist * checking for working latex ... OK * using log directory 'c:/progra~1/r/rw2011/library/bbHist.Rcheck' * using R version 2.1.1, 2005-06-20 * checking for file 'bbHist

Re: [R] data.frame error using sem package

2005-10-06 Thread Uwe Ligges
. It is almost impossible to help if you do not specify a toy example that shows how you produced that error message. Please read the psoting guide which tells you how to specify such examples most appropriately in order to get a good answer. Uwe Ligges The error message: Error in data.frame(object

Re: [R] circular statistics plotting

2005-10-06 Thread Uwe Ligges
= 18, main = 'Uniform Data') ## plot the mean: points(mean(x), col = red) Uwe Ligges Thanks in advance... - Jason Jason Horn Boston University Department of Biology 5 Cumington Street Boston, MA 02215 [EMAIL PROTECTED] office: 617 353 6987 cell: 401 588 2766

Re: [R] spline.des

2005-10-04 Thread Uwe Ligges
it, and give an appropriate error message if splines is required but not available for the case in question. Uwe Ligges Best regards Frede Aakmann Tøgersen -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af lforzani Sendt: 3. oktober

Re: [R] Problem building/checking library that requires input from user

2005-10-03 Thread Uwe Ligges
} \dontrun{ num_reps - readline(How many reps do you have... ) Here is a syntax error, obviously (hint: ) Uwe Ligges num_reps - as.integer(num_reps) } could this have anything to do with it running on OS X 10.3 ?? (long shot...but i'm thoroughly lost).. thanks again, ken From

Re: [R] spline.des

2005-10-03 Thread Uwe Ligges
@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Yes, please do so. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] How to get to the varable in a list

2005-10-02 Thread Uwe Ligges
Lisa Wang wrote: Hello, I have a list lis as the following: $1 x1 x2 4 3 1 $2 x1 x2 3 3 2 5 3 2 $3 x1 x2 2 3 3 6 3 3 How do I get the x1 varible? for example ss1 I can only guess you mean something like lis[[1]][[x1]] Uwe Ligges

Re: [R] how to impose the lines (Apply?)

2005-09-30 Thread Uwe Ligges
(cited at the bottom of the mail) which gives advice how to formulate questions properly. Best, Uwe Ligges Thanks a lot patientstime pressure 1 1 24 1 2 34 2 2 45 2 2.550 2 1.530 3 8

Re: [R] scatterplot3d + density() + polygon(color)

2005-09-28 Thread Uwe Ligges
(s3d_coords, col = i, border = black) } Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] gfortran Makefile for cygwin

2005-09-28 Thread Uwe Ligges
development seem to be more appropriate for the R-devel list. [Please move it there for follow-ups.] Uwe Ligges This package requires a Makefile. My question is, how can I find out (or what is), the link command? Here is the OS X Makefile: RLIB_LOC=${R_HOME} F90_FILES

Re: [R] Random Forest with R

2005-09-28 Thread Uwe Ligges
Louis Ferre wrote: Hi, what is the name of the package that provides Random Forest with R. Really, what about looking yourself on CRAN or just googling for it? Most surprisingly the name of the package is randomForest. Uwe Ligges Sincerely Louis Ferré http://www.univ-tlse2.fr/grimm/smash

Re: [R] quick points question

2005-09-27 Thread Uwe Ligges
=19,col=blue,cex=5) Am I misunderstanding the bg option in the points function? Richard Please read ?points and it's paragraph on te argument pch with quite some information regarding filled symbols... Uwe Ligges __ R-help@stat.math.ethz.ch

Re: [R] no make file

2005-09-23 Thread Uwe Ligges
on where the makefile is or why it's not there? Probably because of errors during ./configure ... and we do not know which errors came up ... Uwe Ligges Keith . [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

Re: [R] R2WinBUGS: Data loading error

2005-09-22 Thread Uwe Ligges
. In order not to repeat the inits 7 times, you might want to specify them simply as a function such as: inits - function(){ list(tau = rep(1, 17), C0 = 5, st90 = 4, C0.pop = 5, st90.pop = 4, tau.cpop = 0.2, tau.stpop = 1) } Uwe Ligges [Further correspondence on this particular topic

Re: [R] error when loading rwinedt

2005-09-21 Thread Uwe Ligges
failed in 'attachNamespace' Error: package/namespace load failed for 'RWinEdt' Please re-install and load RWinEdt as follows: install.packages(RWinEdt) library(RWinEdt) It works for me with a recent R-2.2.0 alpha. Uwe Ligges version _ platform i386-pc-mingw32

Re: [R] error when loading rwinedt

2005-09-21 Thread Uwe Ligges
package descriptions library(RWinEdt) Error in getWinEdt() : WinEdt is not installed properly. So, what version of WinEdt are you using, where is it installed and what are the corresponding registry entries? Uwe Ligges Either reinstall WinEdt or install R-WinEdt manually as described

Re: [R] win.metafile on linux?

2005-09-21 Thread Uwe Ligges
. Recommendations on other methods are appreciated as well. There were some discussions on this topic during the last year. Please check the mailing list archives. Uwe Ligges Hao __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] size of subplots with par() / layout()

2005-09-21 Thread Uwe Ligges
Robin Hankin wrote: Hi If I do this: par(mfrow=c(2,2)) Insert: par(mar=rep(0,4)) Uwe Ligges persp(matrix(1:4,6,6),box=F,phi=33,theta=33) persp(matrix(1:4,6,6),box=F,phi=33,theta=33) persp(matrix(1:4,6,6),box=F,phi=33,theta=33) persp(matrix(1:4,6,6),box=F,phi=33,theta=33

Re: [R] waveform filtering

2005-09-20 Thread Uwe Ligges
for filtering are neither in sound nor in tuneR (yet). Contributions are welcome, of course! Uwe Ligges might have exactly what you want. A book on time series or signal processing might be helpful. Reid Huntsinger -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [R] How to exclude a level from a factor

2005-09-20 Thread Uwe Ligges
as NA. The following does not work either: factor(x,exclude=factor(c,levels=c(a,b,c))) [1] a b c Levels: a b c What's wrong with my codes? factor(x, levels=letters[1:2]) Uwe Ligges Thanks for any help Qiong Yang __ R-help

Re: [R] replayPlot in loop

2005-09-19 Thread Uwe Ligges
and the devices are generally not designed to display movies. Also drawing of a plot might take a considerable amount of time. Uwe Ligges thanks in advance Johan VH __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] graph tick label size

2005-09-19 Thread Uwe Ligges
anything specifically on this. Not directly, but you can fake by plotting the stuff in two chunks as in: plot(1:12, xaxt=n) months - c(J,F,M,A,M,J,J,A,S,O,N,D) temp - seq(1, 12, 2) axis(1, temp, labels=months[temp]) temp - seq(2, 12, 2) axis(1, temp, labels=months[temp]) Uwe Ligges cheers

Re: [R] dynamic object names?

2005-09-19 Thread Uwe Ligges
question: This is the FAQ How can I turn a string into a variable?. The posting guide asks you to read these FAQs before sending questions to R-help. Please do so. Uwe Ligges matrix(LETTERS[1:16], ncol=4) - MM MM [,1] [,2] [,3] [,4] [1,] A E I M [2,] B F J N [3,] C G K O

Re: [R] dynamic object names?

2005-09-19 Thread Uwe Ligges
John Charles Considine wrote: On Mon, 2005-09-19 at 11:38 +0200, Uwe Ligges wrote: [EMAIL PROTECTED] wrote: I am trying to extract data from a matrix. Let's say that i am interested in extracting rows from a 4x4 matrix. Instead of giving a fix name to these 4 rows I would like to add

Re: [R] Teaching R - In front of the computer?

2005-09-19 Thread Uwe Ligges
nightmares. ;-) Uwe Ligges Thanks, Roland + This mail has been sent through the MPI for Demographic Rese...{{dropped}} __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] [R-pkgs] tuneR_0.2-0

2005-09-18 Thread Uwe Ligges
, it was not possible to retain the API (i.e. names of functions, argument ordering and expected objects) of package sound. Uwe Ligges ___ R-packages mailing list [EMAIL PROTECTED] https://stat.ethz.ch/mailman/listinfo/r-packages

Re: [R] horizontal lines on stripchart

2005-09-17 Thread Uwe Ligges
) }) Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] significance of spectal peak with spectrum()

2005-09-16 Thread Uwe Ligges
Sebastian Leuzinger wrote: Hello, has anybody got a simple recepie to test the significance level of the peaks after using spectrum() ? What is you null hypothesis? - Kind of noise? - One particular frequency is noisy or all noisy? - ... Uwe Ligges (R-version 2.0.1, linux SuSE9.3

Re: [R] significance of spectal peak with spectrum()

2005-09-16 Thread Uwe Ligges
non-white-noisy frequency. [If somebody knows a really good book or papers that cover other cases than the trivial one mentioned above, I am very interested to hear about them, BTW.] If you have another kind of noise (such as blue or pink noise), things become even worse. Uwe Ligges

Re: [R] R: deleting rows

2005-09-15 Thread Uwe Ligges
if we have a larger dataframe? we need to construct some kind of row indicator telling R which rows contains NA'S. is there an easier method? na.omit(a) Uwe Ligges / allan

Re: [R] How to sort data sets?

2005-09-15 Thread Uwe Ligges
Martin Lam wrote: Hi, I was wondering if someone know how to sort a data set by column. I've tried sort() but without luck. I would think there should be a function for it somewhere. An example with the iris data set would be appreciated. See ?order. Uwe Ligges Thanks, Martin

Re: [R] how to do sthg like mat[!=(ind),]

2005-09-15 Thread Uwe Ligges
v1 v2 v3 [1,] 1 4 7 [2,] 2 5 8 [3,] 3 6 9 [4,] 10 11 12 ind [1] 2 4 I would like to obtain this: m2 v1 v2 v3 [1,] 1 4 7 [3,] 3 6 9 by saying something like m2-m[!=(ind),] See help([) and learn about negative indices: m2 - m[-ind,] Uwe Ligges but this line

Re: [R] Remove vector elements from another vector

2005-09-15 Thread Uwe Ligges
Karsten Luder wrote: Hello, I have two vectors of different lengths. Fx a - 1:9; b - c(4, 5). What is the best way to remove the elements in vector b from vector a so that the result would be a vector with elements c(1,2,3,6,7,8,9)? setdiff(a, b) Uwe Ligges Best regards, Kalle

Re: [R] sequences; was: newbie question

2005-09-15 Thread Uwe Ligges
?seq Uwe Ligges Thanks tom __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ R-help

Re: [R] where is eda library (Prof. Ripley's Exploratory Data Analysis Library)

2005-09-13 Thread Uwe Ligges
* included in *package* eda. Uwe Ligges Thanks. Stephen. - Original Message - From: Luis Ridao Cruz [EMAIL PROTECTED] Date: Tuesday, September 13, 2005 1:32 pm Subject: Re: [R] How to erase objects ?rm [EMAIL PROTECTED] 13/09/2005 12:08:55 Hi, I admit that I rather

Re: [R] what OS

2005-09-13 Thread Uwe Ligges
follow Andy and use .Platform, and in particular nothing else for programming! It is *not* guaranteed that on Windows version$os == mingw32. Uwe Ligges Andy HTH, --sundar __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] [handling] Missing [values in randomForest]

2005-09-11 Thread Uwe Ligges
Jan-Paul Roodbol wrote: Does anyone know if randomForest in R can handle dataset with missings? See ?randomForest, you can omit observations including NAs by specifying na.action=na.omit Please do not cross-post! Please specify a sensible subject! Uwe Ligges Thank you Kind regards

Re: [R] Output of warnings inside the source function

2005-09-11 Thread Uwe Ligges
it working. See ?sink how to handle messages such as warnings. Uwe Ligges Thanks in advance, Alex __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] can't successfully use installed evir package

2005-09-09 Thread Uwe Ligges
Gallagher Dionysus Polyn wrote: I'm next at installing packages. I seem to have successfully installed evir, but I can't use it. I'm wondering if I need to specify the installation to match my working directory, or something else. Load the package at first: library(evir) Uwe Ligges thx

Re: [R] Debugging R/Fortran in Windows

2005-09-09 Thread Uwe Ligges
James Wettenhall wrote: Hi, I'm trying to debug an R interface to a Fortran subroutine from Windows. (Yes, I know I should try Unix/Linux as well, but a quick attempt suggested that the (MinGW g77) Fortran compiler I have installed on my Windows laptop works better on this Fortran code.)

Re: [R] package installation error (LF versus CR)

2005-09-08 Thread Uwe Ligges
... For further report, please set LANGUAGE=en before a sample-run you want to include in a question to R-help, because not everybody understands italian. Uwe Ligges Thanks a lot, best, Sonia __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Sorting Text Frames

2005-09-07 Thread Uwe Ligges
much space or some special characters in your variables that cause problems when printing ... Hence you have to debug your data yourself. Uwe Ligges Does anyone know what is going on? Tusen tak in advance, in fact 1254 tak in advance! Murray Jorgensen

Re: [R] (no subject)

2005-09-07 Thread Uwe Ligges
(function(x) abs(strwidth(Hello World, cex=x)-8), interval=c(1, 10))$minimum text(5,5, Hello World, cex=cex) Uwe Ligges =  Salang [EMAIL PROTECTED] Tel: 021-64363311-123 Shanghai

Re: [R] Sorting Text Frames

2005-09-07 Thread Uwe Ligges
of R and try again. Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] R binaries, platform independent and Design of Experiments

2005-09-02 Thread Uwe Ligges
to say ./configure make make install is it? Looks like you have to look for some other software than R. Uwe Ligges b) You do NOT want to do numerical computations on software available in Java byte code. You do not want to do heavy numerical computations with R either. Most

Re: [R] ROracle under windows

2005-09-01 Thread Uwe Ligges
://stat.bell-labs.com/RS-DBI/download/index.html for the binary package provided by David James and read the comments. Uwe Ligges L. Tessier [[alternative HTML version deleted

Re: [R] Newbie help on dim

2005-09-01 Thread Uwe Ligges
://www.R-project.org/posting-guide.html Yes, PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] source(file) = file becomes readonly

2005-09-01 Thread Uwe Ligges
-only when executed? So you want to modify a file *while* it is executed? Sounds dangerous to me, you may want to explain further... BTW: Which OS are we talking about? Uwe Ligges Best regards Vidar __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Dataset size in R

2005-09-01 Thread Uwe Ligges
like using CPU optimized linear algebra systems such as ATLAS or Goto's BLAS. Uwe Ligges Many thanks, Peter [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Newbie help on dim

2005-09-01 Thread Uwe Ligges
! The *value* is either NULL *or* a vector of mode integer. It is always NULL for any vector without dim attribute (also for character vectors!): x - a dim(x) # NULL dim(x) - 1 dim(x) # 1 Uwe Ligges Uwe Ligges wrote: Christian Prinoth wrote: Hi, if I do Z-rnorm(50) Followed

Re: [R] R binaries, platform independent and Design of Experiments

2005-09-01 Thread Uwe Ligges
) modules. R will be more useful if it is not only a language There are some packages availabe with tools for DOE, please check CRAN. Further contributions from users who like to do DOE (like you!) are welocme, of course! Uwe Ligges and environment for statistical computing and graphics

Re: [R] Newbie help on dim

2005-09-01 Thread Uwe Ligges
is true, but less general than It is NULL or a vector of mode integer. hence the latter is surely preferred. Z, in fact, it is not true: x - integer(1) dim(x) - 1 typeof(x) # integer dim(x)# 1 Best, Uwe Z NOTE: for not or in the second sentence. Uwe Ligges wrote: Christian

Re: [R] Using non-gcc compilers with install.packages()

2005-09-01 Thread Uwe Ligges
to fix their packages. Uwe Ligges Cheers, __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] standard deviation in barplots

2005-09-01 Thread Uwe Ligges
0.0 0.0 ci.h [1] 633.50323 426.10093 45.12493 344.85453 196.19980 198.17632 208.96365 [8] 76.49691 0.0 0.0 xrow [1] 468.8 314.3 20.1 204.0 96.0 96.0 115.0 36.0 0.0 0.0 barplot2(xrow,plot.ci=TRUE,ci.l=ci.l,ci.h=ci.h) It is called ci.u, not ci.h! Uwe Ligges

Re: [R] default height width of graphs

2005-09-01 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: hy all, When i plot under R it generates a 440x440px image, is it possible to modify and increase this ? What device are we talking about? See the corresponding help file, maybe starting at ?Devices Uwe Ligges thks all guillaume

Re: [R] Spacing and margins in plot

2005-09-01 Thread Uwe Ligges
() and specify the line where to add the text as in: par(mar = c(1, 4, 0, 0) + 0.1) plot(c(1,2,2,3,3,3), type=p, pch=20, ylab=Y Label, xlab=, xaxt=n) title(xlab=X Label, line=0) Uwe Ligges __ R-help@stat.math.ethz.ch mailing list https

<    3   4   5   6   7   8   9   10   11   12   >