Re: [R] graphic output file format

2006-08-10 Thread Stefan Grosse
What speaks against using the jpeg (or png) device? type: ?jpeg for help Have also a look at the wiki: http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-base:0savegraphs Stefan Conan Phelan schrieb: I would like to save graphics I produce in jpeg or gif formats. The GDD package

Re: [R] graphic output file format

2006-08-10 Thread Stefan Grosse
Please mail always also to the list, since it may be that there is someone who could reply better and/or faster. Especially in this case since I am only experienced in M$ Windows and Linux so I am unable to guess whats wrong with OSX. does not even the postscript device work? With postscript I

Re: [R] matching pairs in a Dataframe?

2006-08-16 Thread Stefan Grosse
this into a function together with the test, so that I don't have to write to much Stefan Grosse Dear list, I want to extract pairs of values out of a dataframe where one criteria/condition does match. I have an experiment with 3 conditions which were not always applied: e.g.: group cond x

Re: [R] How to interrupt running computation?

2006-08-22 Thread Stefan Grosse
Lothar, Which system do you use? Windows, Linux, Mac? Stefan Lothar Schmid schrieb: If I start a computation in R, how can I interrupt it? I' using R 2.1.0. Thanks for your help, Lothar __ R-help@stat.math.ethz.ch mailing list

Re: [R] Authoring a book

2006-08-24 Thread Stefan Grosse
If you still are not convinced have a look at UniWakkaWiki: http://uniwakka.sourceforge.net/HomePage It is a Wiki for Science and University purposes and claims to be able to export to Openoffice as well as to LaTeX. Stefan Grosse I have my own server, Windows, based on Apache, PhP, and MySQL

Re: [R] installing the x86_64 R Binary on Fedora Core 5

2006-08-24 Thread Stefan Grosse
and handling dependencies better.) You could use rpm at the command line level. open a shell, type su and give your password, change to the folder where the rpm is downloaded to, type rpm -ivh R-2.3.1-1.fc5.x86_64.rpm will try to install and give you information on whats missing... Stefan Grosse

Re: [R] Authoring a book

2006-08-25 Thread Stefan Grosse
format. For unpacking on a windows machine use either 7zip: http://www.7-zip.org/ or the total commander: http://www.ghisler.com . The first is a free packing program and the second is the best ever windows file manager (if you want to open it there just double click at the archive). Stefan Grosse

[R] exact Wilcoxon signed rank test with ties and the no longer under development exactRanksumTests package

2006-08-25 Thread Stefan Grosse
that the correction is taken into account for the stats package?) Stefan Grosse Take the following example from Bortz/Lienert/Boehnke: x1-c(9,14,8,11,14,10,8,14,12,14,13,9,15,12,9) x2-c(13,15,9,12,16,10,8,13,12,16,9,10,16,12,9) # exactRankTests package: wilcox.exact(x1,x2,paired=TRUE

[R] xyplot with different symbols and colors?

2006-08-25 Thread Stefan Grosse
follow the color scheme and not the different symbols. Any suggestions what to change? And how do I change or switch of that background colors in each plots title? Stefan Grosse __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] xyplot with different symbols and colors?

2006-08-25 Thread Stefan Grosse
R trellis.par.set(superpose.symbol=list(pch=c(1, 2))) Warning message: Note: The default device has been opened to honour attempt to modify trellis settings in: trellis.par.set(superpose.symbol = list(pch = c(1, 2))) R

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Stefan Grosse
how about producing pdf output- should be the same on every PC... Charles Annis, P.E. schrieb: Greetings, R-Citizens: I have the good fortune of working with a 19 1280 X 1024 pixel monitor. My R-code produces nice-looking graphics on this machine but the same code results in crowded plots

Re: [R] converting decimal - hexadecimal

2006-08-30 Thread Stefan Grosse
how about learning to use help.search? (In may you already asked a similiar question...) help.search(hexadecimal) which would lead you to format.hexmode ?format.hexmode Romain Lorrilliere schrieb: Hi, do you know, a method to convert an decimal value (integer) to the corresponding

Re: [R] Gnuplot epslatex format also in R?

2006-09-12 Thread Stefan Grosse
I did an eps/ps file with e.g.: postscript(c:/Temp/test.eps, width = 8.0, height = 6.0, horizontal = FALSE, onefile = FALSE, paper = special) curve(x^2) dev.off() but I am not sure what you mean with the second file with the latex commands. Paul Smith schrieb: Dear All Is there some way of

Re: [R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-05 Thread Stefan Grosse
R graphics for inclusion in LaTeX. see above. Have a look at a good LaTeX guide like lshort http://tobi.oetiker.ch/lshort/lshort.pdf (e.g. p.73/73) Stefan Grosse __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] regarding bootstrapping

2006-10-09 Thread Stefan Grosse
Although it does not directly answer your question you might be interested in: Michalis Ioannides, A comparison of yield curve estimation techniques using UK data, Journal of Banking Finance, Volume 27, Issue 1, , January 2003, Pages 1-26. Abstract: I compare different methods of estimating

Re: [R] 2 linux/R environment questions

2006-10-11 Thread Stefan Grosse
will autoinstall then. Can you tell how you worked that out (the manual compilation)? I failed on Fedora Core 5 with JRE 1.5.0_08 with install.packages and dep=true. I tried a hint from the JGR mailing list but failed... Stefan Grosse __ R-help

Re: [R] 2 linux/R environment questions

2006-10-11 Thread Stefan Grosse
for the reply. Stefan Grosse __ 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 and provide commented, minimal, self-contained, reproducible code.

Re: [R] Barplot legend position

2006-10-13 Thread Stefan Grosse
e.g.: barplot(x,col=c(lightgrey,darkgrey),besid=T) legend(topleft,c(left,right),fill=c(lightgrey,darkgrey)) try: ?legend and example(legend) for documentation!!! Ingmar Visser schrieb: Thanks, this could work! However, the legend does not reproduce the color/shading used in the original

Re: [R] Need help with tables

2006-10-13 Thread Stefan Grosse
I suggest you look at one of the guides: http://cran.r-project.org/other-docs.html before answering questions like this to the mailing list... please read the posting guide! laba diena schrieb: I have a data file with 3 columns and I need to take only 2, how to do that ? [[alternative

Re: [R] Mixed effect model in R

2006-10-17 Thread Stefan Grosse
Interesting packages for you might be the nlme and lme4 packages and as a book Pinheiro/Bates, Mixed-Effects Models in S and S-Plus Lina Jansen schrieb: Hi, I am analysing an experiment that has one fixed (6 conditions) and two random factors (11 subjects, 24 images in the conditions). I read

Re: [R] Mixed effect model in R

2006-10-17 Thread Stefan Grosse
and lmm http://cran.r-project.org/src/contrib/Descriptions/lmm.html packages. [ http://cran.r-project.org/src/contrib/Views/SocialSciences.html ] Lina Jansen schrieb: 2006/10/17, Stefan Grosse [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Interesting packages for you might be the nlme and lme4

Re: [R] Multiple histograms in one plot

2006-10-18 Thread Stefan Grosse
Have a look at the lattice package. It is the best choice for such a task imho. Johann Hibschman schrieb: Hi all, I'm trying to plot multiple histograms in one plot (cross-validation values of model parameters), but I cannot seem to reduce the margins enough to fit as many of them in as I

Re: [R] Latex editor recommendations

2006-10-18 Thread Stefan Grosse
For LaTeX I use the winedt editor: http://www.winedt.com which is extremely powerful and there exists an add-on for the use with R (but I prefer using Tinn-R for R). Winedt is shareware, you have a trial period of 30 days. It has an affordable price and discount for academics if I remember

Re: [R] Redhat compilers and lme4 with R-2.4.0

2006-10-18 Thread Stefan Grosse
I had no problem on Fedora Core 5. Patrick Connolly schrieb: I've tried unsuccessfully to install lme4 on two different Redhat systems but I've not noticed anything on this list to indicate anyone else has had similar problems. __

Re: [R] Latex editor recommendations

2006-10-18 Thread Stefan Grosse
There is also a rather old version running natively under Windows 1.0.5 something. But I think TeXmacs is somewhat hard to use and would always recommend LyX unless someone likes to embed calculations in a LaTeX like (which is I admit a really nice feature of TeXmacs. especially with maxima ) I

Re: [R] Redhat compilers and lme4 with R-2.4.0

2006-10-19 Thread Stefan Grosse
Prof Brian Ripley schrieb: Not surprising: you have not compiled R with -std=gnu99 to allow C99 features, as recommended in the R-admin manual, and selected by default. (Comment to Doug Bates: it is probably better still to write in C90 if you can.) This seems to be a problem with the

Re: [R] pdf/ convert/ font problem

2006-10-24 Thread Stefan Grosse
Sam, Have you tried to produce a ps/eps figure with the postscript device? Does this work? you could still convert it to pdf with ghostscript or include eps figures... Stefan __ R-help@stat.math.ethz.ch mailing list

[R] qplot of ggplot package how to plot different size according to the values and not to the weights?

2006-10-27 Thread Stefan Grosse
I have the following Data structure $ step45 : Factor w/ 2 levels $ obserror : num 6.2 6.2 5.6 6.6 6.6 ... $ Mon: num 2.2 2.0 1.0 3.2 2.0 ... $ inc.comp : num 4 5 2 5 5 5 5 5 4 4 ... all I wanted to do is plotting Mon against obserror, the colors should be by step45 and the

Re: [R] qplot of ggplot package how to plot different size according to the values and not to the weights?

2006-10-27 Thread Stefan Grosse
here an example with the car data qplot(drat,wt,data=mtcars,shape=as.factor(carb),col=am,size=3) it gets a bit better if one takes away the as.factor (but that of course changes other things) The picture is saved via metafile, screenshot did not work (mostly black whyever) I know its deleted for

Re: [R] qplot of ggplot package how to plot different size according to the values and not to the weights?

2006-10-27 Thread Stefan Grosse
hadley wickham schrieb: I think you mean qplot(obserror,Mon,data=obscomp, size=inc.comp,col=step45) Yes sorry, that was a typo (from playing around with the options) unfortunately the size of the is something I do not want it to be, the legend for inc.comp says: 4, 2.25, 1 ,0.25 , 0 I

Re: [R] CPU or memory

2006-11-08 Thread Stefan Grosse
64bit does not make anything faster. It is only of use if you want to use more then 4 GB of RAM of if you need a higher precision of your variables The dual core question: dual core is faster if programs are able to use that. What is sure that R cannot make (until now) use of the two cores if you

Re: [R] LyX 1.4.3-5 problem generating PDF documents

2007-02-05 Thread Stefan Grosse
You are posting in the wrong mailing list, mail your question to the lyx users list: http://www.lyx.org/internet/mailing.php John Kane wrote: I just changed machines and, at first, could not get LyX 1.4.3-4 to even load. I tried 1.5 which loaded nicely but would not give me PDF output.

Re: [R] R in Industry

2007-02-08 Thread Stefan Grosse
. There is only one big difference which indeed includes loops (Creation of a 220x220 Toeplitz matrix) where Matlab is much faster. But maybe a simple change in the programmation can change that... Has someone in the list an updated script? Stefan Grosse The benchmarks: R 2.4.1 R Benchmark 2.3

Re: [R] problems installing R on Linux

2007-02-09 Thread Stefan Grosse
Thank you both Pr. Ripley and Dr. Skyler for taking the time to help. I got your further responses in my email here at work. I really think that Dr. Ripley is correct : The symptoms look like a very old Linux distro and a missing/damaged/incompatible libg2c. # gcc --version 2.96 #

Re: [R] matlab style plotting in R

2007-02-13 Thread Stefan Grosse
There are many ways if I understood what you indend to do: example data: toplot-data.frame(x=c(1:5,1:5),y=rnorm(10),sbs=c(rep(a,5),rep(b,5))) 1st with plot itself: plot(y~x,data=toplot,type=n) lines(y~x,data=subset(toplot,sbs==a),type=b,pch=4,col=blue)

Re: [R] data frame

2007-04-23 Thread Stefan Grosse
how about: ?str ever considered reading an introductory text? find some here: http://cran.r-project.org/other-docs.html Stefan elyakhlifi mustapha wrote: hello, I wanna print something like this Class Levels Values Id_TrT1 1 2 Id_Geno

Re: [R] subset

2007-04-23 Thread Stefan Grosse
What format does your date have? This is essential here. However it must be something like subset(yourdata, year %in% 2004) how to extract the year from your date you must find out yourself... (depending on the dates format...) ever considered reading an introductory text? find some here:

Re: [R] from R to html

2007-04-24 Thread Stefan Grosse
Is it so much effort to use the search on r-project.org? elyakhlifi mustapha wrote: hello, If I wanna export data.frame from R to html have you got some ideas to do this? ___ [[alternative HTML

Re: [R] tcltk support....

2007-04-26 Thread Stefan Grosse
tcltk must be installed on your system, it is not a R package. Which Linux are you using? W Eryk Wolski wrote: Rusers, library(Rcmdr) Loading required package: tcltk Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system While installing R I run

Re: [R] tcltk support....

2007-04-26 Thread Stefan Grosse
To my excuse I can say that I would have expected configure to issue an error or warning. I am absolutely certain that there was a remark during configure... you probably just have overseen that. I did run it configure with --with-tcltk. But there was not a singel message which would

Re: [R] tcltk support....

2007-04-26 Thread Stefan Grosse
I just read another post so I know youre on (K)ubuntu: you need to install tcl8.4-dev and tk84-dev packages. If there is no tcl/tk R installs nevertheless but is stating that at the configuration that there is no tcl/tk support... so thats where you have to look at. Maybe it is better you

Re: [R] Graphic plots in pdf (position)

2007-04-26 Thread Stefan Grosse
you can place the figures with print command, e.g. pdf(output.pdf) print(text or textplot,position=c(0,0,.5,.5),more=T) print(persp(zPERSP_1),position=c(.5,0,1,0),more=T) print(persp(zPERSP_2),position=c(0,0.5,0.5,1),more=T) print(persp(zPERSP_3),position=c(.5,.5,1,1)) dev.off() pdf has options

Re: [R] ? R 2.5.0 alpha bug

2007-05-02 Thread Stefan Grosse
The version 2.5.0 has left Alpha status long time ago and its final version has been released so please try the new version. Inman, Brant A. M.D. wrote: This email is intended to highlight 2 problems that I encountered running R 2.5.0 alpha on a Windows XP machine. #1 - Open script error

Re: [R] Query about finding correlations

2007-05-02 Thread Stefan Grosse
to understand the problem better. In the meanwhile, we thought we would post the problem on this forum to seek some input from statisticians who possibly do this kind of analyses everyday and hence are possibly more proficient with R and/or any recommended methodologies. Lalitha On 5/2/07, *Stefan

Re: [R] Query about finding correlations

2007-05-02 Thread Stefan Grosse
How about making your homeworks yourselfes? lalitha viswanath wrote: Hi I have a dataframe which has 3 columns of numeric data A,B,C each of which has been obtained independent of the other. We are trying to find out, which of A or B cause C i.e. We are hypothesising that C is the effect

Re: [R] Fehlermeldung

2007-05-09 Thread Stefan Grosse
First: the language of this mailing list is english (not to bother you but potentially you adress more people then who could possibly help) Second: on such errors specifying your R version and your System (windows/Linux) would help Third: a minimal example is also helpfull: hopw have used

Re: [R] Fehlermeldung

2007-05-09 Thread Stefan Grosse
if the version number is the same. (Or make a clean install of R-2.5.0- Remove everything and do a new install). Stefan | Original Message Subject: Re:[R] Fehlermeldung From: [EMAIL PROTECTED] To: Stefan Grosse [EMAIL PROTECTED] Date: Wed May 09 2007 15:02:10 GMT+0200 Dear Stefan

Re: [R] A simple question regarding plot of nls objects

2007-05-11 Thread Stefan Grosse
The example works fine for me on R 2.5.0 and WinXP... Mielke Hans wrote: Hi, I was trying to run the example of Indomethacin kinetics from the book: ## From Pinheiro/Bates, Mixed-Effects-Models in S and S-Plus, ## Springer, Second Printing 2001, Section 6.2 library(nlme) plot(Indometh)

Re: [R] Problem with lme4

2007-05-15 Thread Stefan Grosse
the lme4 function you want is probably lmer() type ?lmer btw. your R is very old we are at 2.5.0 ... Stefan Amelie LESCROEL wrote: Hi - I'm having a problem trying to use the function GLMM() from lme4. Here is what happens: library(lme4) Loading required package: Matrix

Re: [R] BATCH

2007-05-18 Thread Stefan Grosse
it states that it does not find the object donParEssai which is not there. It is nor there since you have given the object the name donParCara from what I see... elyakhlifi mustapha wrote: hello, I tried to run programs in BATCH like you told me but to read the results it's a lil hard

Re: [R] GUI for R running under Linux

2007-06-05 Thread Stefan Grosse
Hi John, I use JGR when I am on Fedora. This is a good java gui which is similiar (and better) compared to the R windows gui . You can install it via install.packages(JGR,dep=T) and start with library(JGR). Sometimes Java is not configured correctly so you might end up with an error. In that case

Re: [R] read table

2007-06-05 Thread Stefan Grosse
Original Message Subject: [R] read table From: jiqiang yao [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Date: 05.06.2007 18:17 Hi, I'm a novice of R. I want to read the following table into R: names mpgcyl disp hp drat Mazda RX4 21.0

Re: [R] rJava installation under linux: configuration failed

2007-06-06 Thread Stefan Grosse
Which java have you installed? ( java -version ) You need a Sun Java and better is a 1.5 series Java, JGR seems to have some problem with the new 1.6 series. And you need the JDK, not the JRE. You can google how to do those installations on suse linux. Stefan Original Message

Re: [R] rJava installation under linux: configuration failed

2007-06-06 Thread Stefan Grosse
Precautionary note: the '1.5 series Java' (aka Java 5) does not work with JNI (and hence rJava) on some platforms, including AMD64 Linux. You can google how to do those installations on suse linux. It can be tricky, especially if you need a later Java than your OS version supports. Since

Re: [R] opening vignetten

2007-06-06 Thread Stefan Grosse
?vignette Original Message Subject: [R] opening vignetten From: Schmitt, Corinna [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Date: 06.06.2007 10:41 Dear R-Users, I have a quite stupid question. I load the GO-package with the command require(GO). Now I want to read the

[R] update packages with R on Vista: error

2007-06-07 Thread Stefan Grosse
Dear R-list, I have encountered the following error message trying to update R packages: update.packages(ask='graphics') Warning in install.packages(update[instlib == l, Package], l, contriburl = contriburl, : 'lib' is not writable Error in install.packages(update[instlib == l,

Re: [R] update packages with R on Vista: error

2007-06-07 Thread Stefan Grosse
Subject: Re:[R] update packages with R on Vista: error From: Prof Brian Ripley [EMAIL PROTECTED] To: Stefan Grosse [EMAIL PROTECTED] Date: 07.06.2007 13:01 See the rw-FAQ, which describes this in detail. Almost certainly you are trying to update the package 'cluster' which is in the main library

Re: [R] update packages with R on Vista: error

2007-06-08 Thread Stefan Grosse
can update my latex packages without any problems even though they are in the Program File directory (and also on-the-fly installation does work) ... Stefan Original Message Subject: Re:[R] update packages with R on Vista: error From: R. Villegas [EMAIL PROTECTED] To: Stefan

Re: [R] update packages with R on Vista: error

2007-06-08 Thread Stefan Grosse
possible inconvenience caused by my frustration spiced up possibly with my inabilities. Stefan Original Message Subject: Re:[R] update packages with R on Vista: error From: Stefan Grosse [EMAIL PROTECTED] To: R. Villegas [EMAIL PROTECTED] Date: 08.06.2007 11:07 Thanks

Re: [R] Linux equivalent to windows menus and script window

2007-06-12 Thread Stefan Grosse
There is, two candidates are ESS-emacs and JGR as a gui. Have a look at: http://www.r-project.org/GUI , on Tuesday 12 June 2007 19:42:33 John Sorkin wrote: JS R 2.5 under windows XP JS R 2.5 under Linux FC 6 JS JS I currently use R under windows and when I do so, I get to work in a nice

Re: [R] Linux equivalent to windows menus and script window

2007-06-13 Thread Stefan Grosse
JGR is pretty close to the windows R-GUI (with the menus) but even better since it is system independent and e.g. has syntax highlightning in the editor. You could have a look at the screenshots at http://rosuda.org/JGR/index.htm What you need is a Java 5 SDK installed at the system and

Re: [R] update packages with R on Vista: error

2007-06-13 Thread Stefan Grosse
for the answers,- Stefan Original Message Subject: [R] update packages with R on Vista: error From: Stefan Grosse [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Date: 07.06.2007 12:00 Dear R-list, I have encountered the following error message trying to update R packages

Re: [R] Problems with Vista, R 2.5.0 and function save

2007-06-13 Thread Stefan Grosse
Hi Maja, if you are working on your own computer an alternative could be to install R in your user directory: c:\Users\your_loginname_\R or c:\Users\your_loginname_\Documents\R I also had a problem with the writing permissions when I tried updating R packages. Btw. when I work with files I set

Re: [R] Panel data

2007-06-14 Thread Stefan Grosse
Panel data is that you have e.g. several subjects (=individuals,firms,households) being tracked over a certain time (meaning there are repeated observations). One could roughly say that it is a collection of (quite similiar) time series. This makes the analysis better than pooling the whole

Re: [R] JGR, Java and Kubuntu 7.04 ...

2007-06-15 Thread Stefan Grosse
You could download the latest R (2.5.0) directly from CRAN, this just as a side remark, You find instructions here: http://cran.au.r-project.org/bin/linux/ubuntu/README With java you should make sure that you have the Java 5 JDK installed. I dont know how it is with Ubuntu but on fedora I have

Re: [R] to read table

2007-06-18 Thread Stefan Grosse
Why are you not using read.csv or read.csv2 when you are reading a csv file? Original Message Subject: [R] to read table From: elyakhlifi mustapha [EMAIL PROTECTED] To: R-help@stat.math.ethz.ch Date: 18.06.2007 09:23 Hello, I have a problem to read a csv table. To read it I

Re: [R] Speed up R

2007-06-20 Thread Stefan Grosse
Original Message Subject: Re:[R] Speed up R From: Matthew Keller [EMAIL PROTECTED] To: Robert McFadden [EMAIL PROTECTED] Date: 19.06.2007 23:09 but I think that windows has problems addressing that much RAM (surely the 64bit Vista is OK with it though... surely). Linux or

Re: [R] xtable results doesn't correspond to data.frame

2007-06-20 Thread Stefan Grosse
It would be helpfull if you would state what exactly you did expect. As improvements you could reduce the digits, see ?xtable Original Message Subject: [R] xtable results doesn't correspond to data.frame From: Vumani Dlamini [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch

Re: [R] xtable results doesn't correspond to data.frame

2007-06-20 Thread Stefan Grosse
Original Message Subject: Re:[R] xtable results doesn't correspond to data.frame From: Stefan Grosse [EMAIL PROTECTED] To: Vumani Dlamini [EMAIL PROTECTED] Date: 20.06.2007 12:20 Sorry, there is a line missing, I was asking what exactly was not as expected. As improvements

Re: [R] xtable results doesn't correspond to data.frame

2007-06-20 Thread Stefan Grosse
That table below is not the table from your first mail. However I would do something like: library(xtable) testdata-data.frame(gender=c(rep(male,3),rep(female,4)) testtab-as.data.frame(table(testdata)) pct-function(x){ x/sum(x)*100 } testtab$percent-pct(testtab$Freq)

Re: [R] fractional calculations

2007-06-25 Thread Stefan Grosse
is there a function in R that allows me to work with fractions without transforming them to floats (or whatever) in between? You could use the ryacas (CAS) package: http://code.google.com/p/ryacas/ and/or http://cran.r-project.org/doc/vignettes/Ryacas/Ryacas.pdf e.g: library(Ryacas)

Re: [R] R-excel

2007-06-25 Thread Stefan Grosse
http://cran.r-project.org/doc/manuals/R-data.html#Reading-Excel-spreadsheets plus there is a package xlsReadWrite that might be of your interest. Stefan Original Message Subject: [R] R-excel From: Erika Frigo [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Date: 25.06.2007

Re: [R] transposing data.frames

2007-06-25 Thread Stefan Grosse
Original Message Subject: [R] transposing data.frames From: Christoph Heibl [EMAIL PROTECTED] To: R-help@stat.math.ethz.ch Date: 25.06.2007 15:13 Hello, This must be simple... Thanks a lot - Christoph # Imagine you have a list, e.g: K - list(1:10, 2:11, 9:18) K #

Re: [R] help again

2007-07-02 Thread Stefan Grosse
hi i try to use arima and holtwinter to predict drought from 1895-2006 but i cannot read whole period of time and i try to do the exponent fitting, but it comes out as the coordinate x-y error i send the source code and data to take a look if anyone can help me, i am really new in R

Re: [R] How to install R 2.5 with Synaptic in Ubuntu?

2007-07-04 Thread Stefan Grosse
to end of the entry making it: deb http://my.favorite.cran.mirror/bin/linux/ubuntu feisty main However after this it still complains that it can't find packages.gz Just a guess: have you replaced the my.favorite.cran.mirror by a mirror which is close to you? If you're in UK it would

Re: [R] How to install R 2.5 with Synaptic in Ubuntu?

2007-07-04 Thread Stefan Grosse
msmith schrieb: Hi, Thanks for the suggestion and I wish the solution was that obvious, but I have changed it to really point at my favourite mirror. Using your example Synaptic reports the following error when I try to update the repositories:

Re: [R] How to install R 2.5 with Synaptic in Ubuntu?

2007-07-04 Thread Stefan Grosse
Stefan Grosse schrieb: deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu feisty main Sorry, I copied a mistake there, it should be: deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu feisty/ Stefan -=-=- ... The simple truth is that interstellar distances will not fit into the human

Re: [R] A More efficient method?

2007-07-04 Thread Stefan Grosse
Cat=c('a','a','a','b','b','b','a','a','b')# Categorical variable C1=vector(length=length(Cat)) # New vector for numeric values # Cycle through each column and set C1 to corresponding value of Cat. for(i in 1:length(C1)){ if(Cat[i]=='a') C1[i]=-1 else C1[i]=1 } C1 [1] -1 -1 -1

Re: [R] A More efficient method?

2007-07-04 Thread Stefan Grosse
Gabor Grothendieck wrote: set.seed(1) C - sample(c(a, b), 10, replace = TRUE) system.time(s1 - ifelse(C == a, 1, -1)) user system elapsed 0.370.010.38 system.time(s2 - 2 * (C == a) - 1) user system elapsed 0.020.000.02 system.time(s1 -

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] help on fisher.test(stats)?

2007-07-09 Thread Stefan Grosse
Original Message Subject: [R] help on fisher.test(stats)? From: zhijie zhang [EMAIL PROTECTED] To: R-help@stat.math.ethz.ch Date: 09.07.2007 09:03 Dear friends, My dataset have many zeros, so i must use fisher exact test . Unfortunately, the fisher.test(stats) function fail

Re: [R] ECDF, distribution of Pareto, distribution of Normal

2007-07-10 Thread Stefan Grosse
Original Message Subject: [R] ECDF, distribution of Pareto, distribution of Normal From: livia [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Date: Tue Jul 10 2007 18:35:04 GMT+0200 Hello all, I would like to plot the emperical CDF, normal CDF and pareto CDF in the same

Re: [R] Help with write.foreign (exporting data to Stata)

2007-07-10 Thread Stefan Grosse
I am not sure what you are doing there but what you need is library(foreign) and write.dta() see ?write.dta once you have loaded the foreign package Stefan Original Message Subject: [R] Help with write.foreign (exporting data to Stata) From: kdestler [EMAIL PROTECTED] To:

Re: [R] combine 2 data frames with missing values

2007-08-16 Thread Stefan Grosse
I have 2 data frames as follows: abc 1 NA 1 2 NA 2 NA 3 3 So a, b are the input values and c is the output which I am interested in. NA - Missing values. I used rbind, but its not working. Let me know if anyone can help me What

Re: [R] Newbie

2007-08-16 Thread Stefan Grosse
I'm a bit new to the world of R so forgive my ignorance. That has nothing to do with the knowledge of R but with the model. Age has only 2 different values: 0 and 1 and if it is 0 there is no scars, so what exactly have you expected from the model? I would say if you just want to prove that

Re: [R] Newbie

2007-08-16 Thread Stefan Grosse
I would say if you just want to prove that older deer have more scars try the Mann Whitney non parametric test... Forgive me but even that does not really make sense since the values are all 0 so it is to obvious... __ R-help@stat.math.ethz.ch

Re: [R] R-2.5.1 RedHat EL5 compilation failed

2007-08-27 Thread Stefan Grosse
Original Message Subject: [R] R-2.5.1 RedHat EL5 compilation failed From: Wang Chengbin [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Date: 26.08.2007 15:22 I can't get R-2.5.1 compiled under RedHat EL5 with gcc 4.1.1. Configure failed at the following: You don't need to

Re: [R] kendall test

2007-09-06 Thread Stefan Grosse
On Thursday 06 September 2007 09:48:22 elyakhlifi mustapha wrote: em I thougth that there is a function which does the kendall test in R, em I writed on the console apropos(kendall) and I didn't found anything em can you tell me how could I do to use the kendall test? ?cor.test btw.:

Re: [R] RWinEdt installation problems with Vista

2007-09-10 Thread Stefan Grosse
Hi, I was trying to install the packageRWinEdt in my computer with Vista OS. O Use Tinn-R it works with Vista although has some minor issues (which are probably system specific). https://sourceforge.net/projects/tinn-r Stefan -=-=- ... Time is an illusion, lunchtime doubly so. (Ford