Re: [R] Extracting elements from a nested list

2010-10-18 Thread Erich Neuwirth
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth Didactic Center for Computer Science and Institute for Scientific Computing University of Vienna [[alternative HTML

Re: [R] Extracting elements from a nested list

2010-10-19 Thread Erich Neuwirth
On Oct 18, 2010, at 1:33 PM, Erich Neuwirth wrote: You probably need mapply since you have 2 list of arguments which you want to use in sync mapply(function(x1,x2)x1[[x2]],all.predicted.values,max.growth) might be what you want. On Oct 18, 2010, at 5:17 PM, Gregory Ryslik wrote

Re: [R] Implementing R's recycling rule

2010-10-19 Thread Erich Neuwirth
On 10/19/2010 11:47 AM, Rainer M Krug wrote: x[n %% length(x)] gives you the same answer as rep(x, length.out=n)[n], without having to create the longer vector. n %% length(x) may return 0 and in that case, x[n %% length(x)] will not give the result you expect. x[((n - 1) %% length(x)) +

Re: [R] R-Excel Macro mode

2010-10-27 Thread Erich Neuwirth
RExcel has its own mailing list, rcom-l. Please subscribe on rcom.unvie.ac.at and post your question on that list. On 10/27/2010 1:29 PM, Puijman, R. wrote: I'm using R-Excel's macro mode to make an R based Excel tool for inventory management. It's quite a lot of R-code which I made in R at

Re: [R] how to save this result in a vector

2010-11-01 Thread Erich Neuwirth
My guess is that what you want probably is best done by using ecdf. You might want to look it up in the docs. 1-ecdf(test)(x) Will give you the percentage of values in test larger than x. On 11/1/2010 2:24 AM, Changbin Du wrote: Thanks Joshua! Yes, i is not going up sequentially by 1, as i

Re: [R] Rserve alternative?

2010-11-08 Thread Erich Neuwirth
You might want to look at statconnWS (available from rcom.univie.ac.at). Warning: This project is not open source. On 11/8/2010 12:40 PM, Ralf B wrote: The Rserve documentation at http://rosuda.org/Rserve/doc.shtml#start states that even when making multiple connections to the Rserve,

Re: [R] How to eliminate this for loop ?

2010-11-08 Thread Erich Neuwirth
Reduce(function(x1,x2)b*x1-x2,c,init=1,accum=TRUE) might be what you are looking for. This is not fully tested, so you should test it before you want to use it. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Integrating functions / vector arithmetic

2010-11-19 Thread Erich Neuwirth
://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. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Center for Computer Science Didactics and Learning

Re: [R] Rexcel

2010-11-22 Thread Erich Neuwirth
a) RExcel has its own mailing list (as the documentation tell you). Please post RExcel related questions to the mailing list accessible at rcom.univie.ac.at b) For running code at startup, you have to create a worksheet (not a workbook) named RCode in your workbook. On 11/22/2010 7:15 PM,

Re: [R] how to divide each column in a matrix by its colSums?

2010-11-28 Thread Erich Neuwirth
sweep(m,1,rowSums(m),/) sweep(m,2,colSums(m),/) On 11/28/2010 9:55 PM, casperyc wrote: In that case, there are values 1, which is clearly not what I wanted. Thanks. I think I should use prop.table __ R-help@r-project.org mailing list

Re: [R] export tables to excel files on multiple sheets with titles for each table

2010-07-14 Thread Erich Neuwirth
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth Didactic Center for Computer Science and Institute for Scientific Computing University of Vienna [[alternative HTML version deleted

Re: [R] export tables to excel files on multiple sheets with titles for each table

2010-07-15 Thread Erich Neuwirth
this package to write excel files from linux. http://github.com/armstrtw/Rexcelpoi -- Erich Neuwirth Didactic Center for Computer Science and Institute for Scientific Computing University of Vienna [[alternative HTML version deleted]] __ R

Re: [R] re. Mathematica and R

2010-07-18 Thread Erich Neuwirth
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth Didactic Center for Computer Science and Institute for Scientific Computing University of Vienna [[alternative HTML version

Re: [R] re. Mathematica and R

2010-07-18 Thread Erich Neuwirth
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth Didactic Center for Computer Science and Institute for Scientific Computing University of Vienna [[alternative HTML version deleted

Re: [R] reading dates in Excel into R

2010-08-02 Thread Erich Neuwirth
, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Center for Computer Science Didactics and Learning Research Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39902 Fax: +43-1-4277-39459 __ R-help@r

Re: [R] RExcel: Sctools not available

2010-08-09 Thread Erich Neuwirth
/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. -- Erich Neuwirth Didactic Center for Computer Science and Institute for Scientific Computing University of Vienna

Re: [R] easiest way to write an R dataframe to excel?

2010-08-23 Thread Erich Neuwirth
Search for an older message with the subject line [R] export tables to excel files on multiple sheets with titles for each table On 8/23/2010 11:41 PM, Erik Iverson wrote: In addition to the Wiki already mentioned, the following may be useful:

Re: [R] Help!

2010-09-20 Thread Erich Neuwirth
If you assume that the variance is the same in all your subsets, you can do an lm analysis with your subset classification as a factor. You could also analyze the interaction between factors and between factors and your numeric independent variable. You also should consider repeated measurement

Re: [R] rcom and safearray type of data

2010-09-22 Thread Erich Neuwirth
rcom has its own mailing list. Please subscribe to this list at rcom.univie.ac.at and post your question there. On 9/21/2010 2:53 PM, Alex Bird wrote: Hello there, I started to use rcom package and there were no problems until I tried to call some external function (method) which returns

[R] file.info returning NA

2010-10-07 Thread Erich Neuwirth
Windows 7, R-2.11.1 and R-2.12.0beta When I do file.info(list.files(getwd())) I get what I expect, a dataframe with a lot of variables, especially isdir, which tells me if the named object is a file or a directory. In the result of file.info(list.files(paste(R.home(),library,sep=/))) all

Re: [R] Evaluating expresssions as parameter values

2009-10-01 Thread Erich Neuwirth
Let us walk through my problem step by step: 1. print(xyplot(yield ~ variety | site,groups=year,data=barley)) 2. print(xyplot(as.formula(yield ~ variety | site),groups=year,data=barley)) The above two statements work, the next one does not work 3. print(xyplot(as.formula(yield ~ variety |

Re: [R] launching two RGUI computations from two different Excel workbooks

2009-10-01 Thread Erich Neuwirth
Please send questions like this to the rcom mailing list. You can subscribe at rcom.univie.ac.at. On Sep 28, 2009, at 1:34 PM, sowh...@o2.pl wrote: Hello, I have the following problem: I have excel workbooks connected with R through RExcel package. Data are being loaded from excel, then

Re: [R] RExcel

2009-10-07 Thread Erich Neuwirth
Please post this kind of questions to the rcom mailing list. You can subscribe at rcom.univie.ac.at __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] RCMD Rdconv debugging output

2009-10-14 Thread Erich Neuwirth
I am trying (on Windows XP, with R 2.10.0beta) to use RCMD Rdconv -t html myfile.Rd myfile.html to convert some Rd files to html. I get a message that there are warning. How can I tell Rdconv to show me these warnings? -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer

Re: [R] RCMD Rdconv debugging output

2009-10-14 Thread Erich Neuwirth
Thanks Duncan, this solved my problem. Here is another thingy I noticed \title{RExcel - Using \R from within Excel} produces RExcel - Using list() from within Excel So the \R macro cannot be used in titles. Is this intentional? Duncan Murdoch wrote: On 10/14/2009 7:45 AM, Erich Neuwirth wrote

[R] warnings details

2009-10-24 Thread Erich Neuwirth
. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459 __ R-help@r-project.org mailing list https

[R] Rpad and R 2.10.0

2009-11-07 Thread Erich Neuwirth
2.9.2 gives clickable links in the browser. Furthermore, in both cases an empty graphics window opens. Has anybody else similar experiences? Can anybody offer advice? -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our

Re: [R] run R script from Excel VBA

2010-04-16 Thread Erich Neuwirth
commented, minimal, self-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

Re: [R] loops and if statements

2010-04-18 Thread Erich Neuwirth
(a, b) r - ifelse(d[,2] == 'meep', 'oops', 'yay') d - cbind(d, r) d On Sun, Apr 18, 2010 at 5:13 PM, Erich Neuwirth erich.neuwi...@univie.ac.at wrote: for(i in seq(along=d[,2])) {if (d[i,2]==meep) { print(oops)} else { print(yay)} } is probably what you

Re: [R] run R script from Excel VBA

2010-04-18 Thread Erich Neuwirth
at 1:47 PM, Erich Neuwirth erich.neuwi...@univie.ac.at mailto:erich.neuwi...@univie.ac.at wrote: Sub Doit() RInterface.StartRServer RInterface.RRun whateveryoywanttodoinR RInterface.StopRServer End Sub You probably also want some results from R's computation

Re: [R] Image into Excel file from R

2010-04-25 Thread Erich Neuwirth
)) } __ R-help@r-project.org 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. -- Erich Neuwirth, University

Re: [R] how to profile R interpreter?

2010-05-16 Thread Erich Neuwirth
Look for Rprof in the utils package. On 5/12/2010 9:22 PM, xiaoming gu wrote: Hi, all. Does anyone know how to profile R interpreter? I've tried gprof but it doesn't work. Thanks. Xiaoming -- Erich Neuwirth, University of Vienna Faculty of Computer Science Center for Computer Science

Re: [R] Excel-Export

2009-12-01 Thread Erich Neuwirth
-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459 __ R-help@r

Re: [R] Literature analysis

2009-12-14 Thread Erich Neuwirth
The screenshot shows your error. Just have a look at the error message in the bottom part of the window. Your csv file has more columns than column names. On Dec 14, 2009, at 2:42 PM, Schwan wrote: I have uploaded the csv file here: http://s000.tinyupload.com/?file_id=79349565739733953435

Re: [R] Tables to export to excel

2010-01-10 Thread Erich Neuwirth
ages. Is it possible to have such crosstab sent to an excel file so I could easilly report. Thanks in advance Caveman -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43

Re: [R] Problems installing data package on Windows

2010-06-02 Thread Erich Neuwirth
Did you try using the type=source parameter for install.packages? On Jun 2, 2010, at 3:02 PM, Erick Rocha Fonseca wrote: Dear all, I'm having difficulties installing a package on Windows. It has only R data files, no code. I've built it on a Linux platform and installed it there without

Re: [R] how to open excel 2007 (.xlsx) file in R

2010-01-19 Thread Erich Neuwirth
RExcel mention in the link below can transfer data from Excel 2007 to R. But you have to be on Windows, and you probably have to have Excel 2007. it might work if you have Excel 2003 with the (free) compatibility package installed. On Jan 19, 2010, at 2:09 PM, Gabor Grothendieck wrote: See

Re: [R] RExcel + RCOM + Linux

2010-02-23 Thread Erich Neuwirth
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464

Re: [R] Am I misunderstanding the ifelse construction?

2007-09-25 Thread Erich Neuwirth
) works. You need not assign gc_content a new value in each comparison, because then your result depends only on the last value of dir, which happened to be -, so you got -0.5 for all gc_content. hth -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported

Re: [R] kurtosis

2007-09-28 Thread Erich Neuwirth
According to the docs package e1071 has kurtosis. __ R-help@r-project.org 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,

[R] iplots question

2007-10-15 Thread Erich Neuwirth
Are there parameters to set position and size of the windows created by the commands in iplots? I could not find them. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] apply on large arrays

2008-02-13 Thread Erich Neuwirth
)ifelse(sum(x)==1,1,0)) tab3-apply(tab2,1,sum) Computing tab2 is very slow. Is there a faster and/or more elegant way of doing this? -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43

Re: [R] apply on large arrays

2008-02-14 Thread Erich Neuwirth
/ -Original Message- From: Erich Neuwirth [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 February 2008 5:08 PM To: Venables, Bill (CMIS, Cleveland) Subject: Re: [R] apply on large arrays Thanks, this version is definitely faster than the first one. system.time gives 0.13 instead

Re: [R] Creating Excel-Charts via RDCOMClient

2009-06-27 Thread Erich Neuwirth
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

Re: [R] another matrix problem

2009-07-11 Thread Erich Neuwirth
__ R-help@r-project.org 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. -- Erich Neuwirth Didactic Center for Computer Science and Institute

Re: [R] ?max (so far...)

2009-07-13 Thread Erich Neuwirth
, minimal, self-contained, reproducible code. -- Erich Neuwirth Didactic Center for Computer Science and Institute for Scientific Computing University of Vienna __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Automatic datasets creation from multiple data sheets in a single excel file

2009-08-01 Thread Erich Neuwirth
for read excel worksheet returns quite a few references. Dieter -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

Re: [R] xls to csv conversion via WinXP's context menu?

2008-09-10 Thread Erich Neuwirth
to transfer data between R and Excel from within Excel. It works in Excel version 2002, 2003 and 2007, so it also allows transfer of xlsx and xlsm files. It does much more, e.g. it also allows you to call R functions in spreadsheet cell formulas. More information on rcom.univie.ac.at. Erich Neuwirth

Re: [R] Conversion to Binary (base2)

2008-09-25 Thread Erich Neuwirth
-- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459 __ R-help@r-project.org mailing list https

[R] Question about --internet2 on Windows

2008-09-26 Thread Erich Neuwirth
Is there a way tell R that it should use --internet2 from within a running R process? -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

Re: [R] inverse cumsum

2008-06-18 Thread Erich Neuwirth
-- __ R-help@r-project.org 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. -- Erich Neuwirth

Re: [R] viewing data in something similar to 'R Data Editor'

2008-08-02 Thread Erich Neuwirth
On Windows, this could be done with rcom and Excel. rcom can use Excel as a server and put matrices into Excel ranges. The code you run in R could have a statement resending matrices so the current version is displayed. I could set up more conveniently what yo want if RGui had a way of

[R] [R-pkgs] RExcelInstaller

2008-04-18 Thread Erich Neuwirth
), turning R Commander's menus into Excel menus. It comes with a comprehensive set of example worksheet illustrating different usage scenarios. This R package installs the Excel add-in for Excel versions from 2000 to 2007. It only works on MS Windows (XP and Vista) -- Erich Neuwirth, University

Re: [R] Re ad From EXCEL

2008-04-20 Thread Erich Neuwirth
have been read a much about as read data from Excel File, but I haven´t found the necesary information to read the data. Now, I can create a channel : channel - odbcConnectExcel(file.xls) but I don´t know as read the data?? I hope that you could help me. Thank you very much. -- Erich

Re: [R] R help

2008-04-29 Thread Erich Neuwirth
__ R-help@r-project.org 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. -- Erich Neuwirth, University of Vienna Faculty of Computer Science

Re: [R] Help with RExcel (running code)

2009-05-03 Thread Erich Neuwirth
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

Re: [R] Re ad name multiple excel sheets using RODBC

2009-05-28 Thread Erich Neuwirth
in the non-commercial version. what limitations, i.e. features do you miss? Reading of named ranges. Dieter -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277

Re: [R] IP-Address

2009-05-29 Thread Erich Neuwirth
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. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics

Re: [R] How to get commands history as a character vector instead of displaying them?

2009-03-23 Thread Erich Neuwirth
. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.24/2017 - Release Date: 03/22/09 17:51:00 -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer

Re: [R] subset and or operator

2009-03-23 Thread Erich Neuwirth
. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09 06:52:00 -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer

Re: [R] 'for Loop'

2009-03-31 Thread Erich Neuwirth
]] __ R-help@r-project.org 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. -- Erich Neuwirth

Re: [R] naming vectors/ matrices in R

2009-03-31 Thread Erich Neuwirth
this? Thanks in advance -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459 __ R-help@r

Re: [R] Tinn-R (Version 2.2.0.2) dose not support R 2.9.0 very well

2009-04-18 Thread Erich Neuwirth
-help@r-project.org 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. -- Erich Neuwirth, University of Vienna Faculty of Computer Science

Re: [R] Updating from an Old to a New version of R

2008-11-11 Thread Erich Neuwirth
. No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.9.0/1774 - Release Date: 11/7/2008 7:58 PM -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE

Re: [R] run query using rexcel runrfile and rodbc sql query

2009-02-01 Thread Erich Neuwirth
in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.15/1924 - Release Date: 1/29/2009 5:57 PM -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http

Re: [R] reading .odf spreadsheet into R

2009-02-03 Thread Erich Neuwirth
Database: 270.10.17/1931 - Release Date: 2/2/2009 7:21 PM -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

Re: [R] general inverse solver?

2009-02-10 Thread Erich Neuwirth
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277

Re: [R] Dates and times from Excel

2009-02-23 Thread Erich Neuwirth
. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.3/1966 - Release Date: 02/22/09 17:21:00 -- Erich Neuwirth, University of Vienna Faculty of Computer

Re: [R] portable R editor

2009-03-03 Thread Erich Neuwirth
- Release Date: 03/02/09 23:02:00 -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459 __ R-help@r

Re: [R] levels update

2008-12-05 Thread Erich Neuwirth
, self-contained, reproducible code. No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.14/1831 - Release Date: 12/4/2008 9:55 PM -- Erich

Re: [R] R and Excel

2009-01-08 Thread Erich Neuwirth
. No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.5/1882 - Release Date: 1/8/2009 8:13 AM -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported

Re: [R] R and Excel

2009-01-08 Thread Erich Neuwirth
is the question- What is the remote server is Amazon EC2 which has upscalaing and downscaling facillity for RAM and CPU... Will it work ? is there a SaaS version of this? Regards, Ajay On Thu, Jan 8, 2009 at 11:56 PM, Erich Neuwirth erich.neuwi...@univie.ac.at

Re: [R] How to get solution of following polynomial?

2009-01-11 Thread Erich Neuwirth
-- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459 __ R-help@r-project.org mailing list https

Re: [R] Rounding to the nearest 5

2009-08-17 Thread Erich Neuwirth
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1

Re: [R] A matrix calculation

2009-08-23 Thread Erich Neuwirth
as.vector(t(mat[7:1,])) On Aug 23, 2009, at 9:35 PM, David Winsemius wrote: There is another matrix strategy that succeeds, although it is clearly less economical that the transpose approach: matrix(mat[7:1, ], ncol=nrow(mat), byrow=TRUE) # will transpose the matrix I offer this only

Re: [R] [Fwd: Re: Video demo of using svSocket with data.table]

2009-08-27 Thread Erich Neuwirth
and maximise. Its about 8 mins. Regards, Matthew -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

Re: [R] teaching R

2009-08-27 Thread Erich Neuwirth
, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459 __ R-help@r-project.org

Re: [R] Google's R Style Guide

2009-08-28 Thread Erich Neuwirth
But if the closing curly brace marks the end of the if part of an if else statement, the else keyword has to be on the same line as the closing brace. The code will not work if the else is on the next line AFAIK. On Aug 28, 2009, at 6:11 PM, hadley wickham wrote: An opening curly brace

Re: [R] Sorting

2009-09-13 Thread Erich Neuwirth
1992 feb 1992 mar 1992 dec 1992 jan 1993 feb 1993 mar 1993 dec 1993 jan 1994 feb 1994 mar 1994 dec 1994 Can anyone help me please? -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group

Re: [R] Use of R in Schools

2009-09-19 Thread Erich Neuwirth
. __ R-help@r-project.org 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. -- Erich Neuwirth

[R] Evaluating expresssions as parameter values

2009-09-22 Thread Erich Neuwirth
I need to play games with an expression similar to the following one: print(xyplot(DepVar ~ Group|Covar, groups=Othergroup, data=mydf, pch = 18 ,main=Testcase,auto.key = TRUE)) The problem is that the formula argument (the first argument) an the groups argument are passed over from

Re: [R] Evaluating expresssions as parameter values

2009-09-22 Thread Erich Neuwirth
Thank you, this works for my example. On Sep 22, 2009, at 9:17 PM, Gabor Grothendieck wrote: f - function(fo, data, groups) { g - do.call(xyplot, list(as.formula(fo), groups = as.name (groups), data)) print(g) } But xyplot allows expressions for the groups parameter also, and

Re: [R] Evaluating expresssions as parameter values

2009-09-22 Thread Erich Neuwirth
~ variety | site, data = barley, groups = year) On Tue, Sep 22, 2009 at 4:20 PM, Erich Neuwirth erich.neuwi...@univie.ac.at wrote: Thank you, this works for my example. On Sep 22, 2009, at 9:17 PM, Gabor Grothendieck wrote: f - function(fo, data, groups) { g - do.call(xyplot, list(as.formula(fo

Re: [R] export tables to Excel files

2010-02-25 Thread Erich Neuwirth
://www.r-statistics.com (English) -- On Wed, Feb 24, 2010 at 12:55 PM, Erich Neuwirth erich.neuwi...@univie.ac.at mailto:erich.neuwi...@univie.ac.at wrote: This was a VBA program which from R

Re: [R] Working with combinations

2010-03-03 Thread Erich Neuwirth
, minimal, self-contained, reproducible code. -- Erich Neuwirth Didactic Center for Computer Science and Institute for Scientific Computing University of Vienna [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] Working with combinations

2010-03-06 Thread Erich Neuwirth
looking for the 10 two element combinations of 1:5. Can you give me some psuedocode that shows how to do this? After putting the code below in a loop I do not see how to restrict the output to containing only numbers from 1:5. thanks very much. From: Erich Neuwirth erich.neuwi

Re: [R] Working with combinations

2010-03-08 Thread Erich Neuwirth
and 2,5). Am I overlooking something that makes it produces all of the combinations? From: Erich Neuwirth erich.neuwi...@univie.ac.at To: Herm Walsh hermwa...@yahoo.com; r-help r-help@r-project.org Sent: Sat, March 6, 2010 9:12:13 AM Subject: Re: [R] Working with combinations

Re: [R] rcom package

2010-03-09 Thread Erich Neuwirth
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. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported

Re: [R] Executable for Production Use

2010-03-10 Thread Erich Neuwirth
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

Re: [R] Creating named lists

2010-03-12 Thread Erich Neuwirth
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. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working

Re: [R] Form using R

2010-03-13 Thread Erich Neuwirth
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

Re: [R] How good is R at making publication quality tables?

2010-03-17 Thread Erich Neuwirth
]] __ R-help@r-project.org 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. -- Erich Neuwirth

Re: [R] Dataframe calculations

2010-03-19 Thread Erich Neuwirth
)), ARRIVALS= as.vector(mapply(function(...)addDelays(...)$arrives,starts,waits,travels))) } -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277

Re: [R] Dataframe calculations

2010-03-19 Thread Erich Neuwirth
and see why it did not yield the correct results. Thank you, Mike -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Erich Neuwirth Sent: Friday, March 19, 2010 11:38 AM To: r-help@r-project.org Subject: Re: [R] Dataframe

Re: [R] rpad ?

2010-03-23 Thread Erich Neuwirth
to our students, but we do not have enough resource to take over maintenance. On 3/23/2010 8:00 PM, sjaffe wrote: Is anyone using rpad? Is there any documentation or examples beyond that in the 'man' directory of the source? -- Erich Neuwirth, University of Vienna Faculty of Computer

Re: [R] rpad ?

2010-03-24 Thread Erich Neuwirth
be willing to share your modifications with the list, or at least with me? Thanks, Roger -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Erich Neuwirth Sent: Tuesday, March 23, 2010 4:47 PM To: r-help@r-project.org

Re: [R] Calling R from c in Windows XP

2010-03-27 Thread Erich Neuwirth
, is it possible to write a simple interface using a c dll to call R functions from a Visual Basic.net program? If so, is there a simple example? Thanks to all -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http

Re: [R] Finding positions in array

2010-03-30 Thread Erich Neuwirth
-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459 __ R-help@r

Re: [R] RCOM Save

2010-04-01 Thread Erich Neuwirth
/f /im Excel.exe) I tried a lot of possibilities (e. g. in the close statement) but without success. Excel always asks about the saving. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http

Re: [R] mantel.haenszel.test for trend in S-plus doesn't work i R

2010-04-04 Thread Erich Neuwirth
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1

  1   2   >