Re: [R] Transferring R results to word prosessors

2006-02-11 Thread Philippe Grosjean
The copy to clipboard feature is written (by Eric Lecoutre myself) since a couple of years. It is in the SciViews bundle, library svIO. In this library, you have: - copy() that copies an object to the clipboard in various formats (icluding HTML, by using R2HTML and LaTeX), - export() does

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Gabor Grothendieck
Yes, the R2HTML route is probably the quickest. Its just one line of code (plus the call to load in R2HTML). Try this where iris is a data set built into R: library(R2HTML) HTML( iris, file(clipboard,w), append=FALSE ) Now paste the clipboard into Excel and from there into Word. (If you

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Doran, Harold
I didn't follow this thread entirely, but I did make a LaTeX recommendation and I know that wasn't what you were asking for. But, if I may, let me respond to the ideas you present below in an attempt to be somewhat persuasive. IMHO, this are horrible inefficiencies of SPSS and other packages,

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Peter Dalgaard
Gabor Grothendieck [EMAIL PROTECTED] writes: Yes, the R2HTML route is probably the quickest. Its just one line of code (plus the call to load in R2HTML). Try this where iris is a data set built into R: library(R2HTML) HTML( iris, file(clipboard,w), append=FALSE ) Now paste the

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Gabor Grothendieck
On 10 Feb 2006 12:39:43 +0100, Peter Dalgaard [EMAIL PROTECTED] wrote: Gabor Grothendieck [EMAIL PROTECTED] writes: Yes, the R2HTML route is probably the quickest. Its just one line of code (plus the call to load in R2HTML). Try this where iris is a data set built into R:

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Gregory Snow
Just to add a couple of thoughts to the previous suggestions. If you really want output from things like summary.lm to have tabs instead of spaces then you can type: getAnywhere(print.summary.lm) at the R prompt and it will show you the (not quite) source of code that R uses to do the

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Tom Backer Johnsen
At 09:25 10.02.2006 -0700, Gregory Snow wrote: Just to add a couple of thoughts to the previous suggestions. If you really want output from things like summary.lm to have tabs instead of spaces then you can type: getAnywhere(print.summary.lm) at the R prompt and it will show you the (not

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Tom Backer Johnsen
At 06:09 10.02.2006 -0500, Doran, Harold wrote: I didn't follow this thread entirely, but I did make a LaTeX recommendation and I know that wasn't what you were asking for. But, if I may, let me respond to the ideas you present below in an attempt to be somewhat persuasive. No, you are

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Tom Backer Johnsen
Thank you all for very useful and interesting responses. After reading the comments and after some experiments, I added the following to a text I will be handing out to the students (I would not mind comments): QUOTEThe contents of the text output from R may be very sophisticated, but the

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Tom Backer Johnsen
At 17:10 09.02.2006 -0600, you wrote: Tom Backer Johnsen wrote: There has been an incredible number of responses in a short time, with a number of different suggestions. With hindsight, I must admit I have not been quite clear, so additional (somewhat lengthy) explanation is needed. I want to

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Gabor Grothendieck
Given that this may very well be the most common use of the R2HTML package I wonder if the R2HTML package developer would be interested in providing an HTML2clip convenience wrapper as part of the R2HTML package like this: HTML2clip - function(x, file. = file(clipboard, w), append = FALSE,

Re: [R] Transferring R results to word prosessors

2006-02-10 Thread Gabor Grothendieck
On 2/10/06, Tom Backer Johnsen [EMAIL PROTECTED] wrote: At 17:10 09.02.2006 -0600, you wrote: Tom Backer Johnsen wrote: There has been an incredible number of responses in a short time, with a number of different suggestions. With hindsight, I must admit I have not been quite clear, so

[R] Transferring R results to word prosessors

2006-02-09 Thread Tom Backer Johnsen
There has been an incredible number of responses in a short time, with a number of different suggestions. With hindsight, I must admit I have not been quite clear, so additional (somewhat lengthy) explanation is needed. I want to use R in an introductory course on multiple regression (among

Re: [R] Transferring R results to word prosessors

2006-02-09 Thread Frank E Harrell Jr
Tom Backer Johnsen wrote: There has been an incredible number of responses in a short time, with a number of different suggestions. With hindsight, I must admit I have not been quite clear, so additional (somewhat lengthy) explanation is needed. I want to use R in an introductory course