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] 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] 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] 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] 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] 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-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] 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] 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] 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] 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] 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] 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

[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

[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] 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

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

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

[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] 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

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] 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] [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] 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] 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] 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] ?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] 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] 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] 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] 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] 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] 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] '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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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

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] 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

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] 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] 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

[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] 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

[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

[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

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,

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

<    1   2