Skip to content
Prev 23869 / 63424 Next

xlsReadWrite Pro and embedding objects and files in Excel worksheets

Hans-Peter,

Welcome back, I hope you had a good time away :)

I got what I thought were some answers that misinterpreted what my 
intent was, so let me ask again and try to be more clear.

I would like to be able to use a single Excel spreadsheet as an archive 
for any output I generate in a single R session, including pdf files of 
graphics and possibly the R history or even the R workspace itself. I 
would envision writing the files to be inserted first to a temp file and 
then inserting them into Excel using whatever commands (Visual Basic?) 
that would do that. I know it can be done from the menu, so I am pretty 
sure that it can be done with VB. I am unsure, however, exactly how you 
are generating the Excel files. For my own edification, are you using VB 
or something similar?

Also, to make this not so Windows specific, would these files be 
compatible with openOffice or some other open-source spreadsheet program 
that would be compatible with the other OS's that R users employ? That 
might make it more broadly appealing.

I know that efforts have been made to generate R-compendia that include 
code and data. I think that is great for archiving analyses for the use 
of other R users, but what I am seeking would be much more friendly to 
my end users, which are biologists and psychologists. They don't want 
zip archives that generate a bunch of files, they want just one file 
with everything neat and tidy.

For example, one file with these sheets:

1. .Rworkspace generated at time the last sheet was written. This would 
be akin to an R-compendia but mostly designed for archiving, not 
data-abstraction.
2. methods page. I am working on an auto-generating methods page that 
could be copy and pasted into a paper with minimal editing. I am even 
including references that vary depending on the p.adjust method I use.
3. parameters that are passed to major functions like filters. I list 
what filter I used and how many probesets remained after the filter was 
applied.
4. graphs
5. matrix output.

I am interested in what others think of this idea in general. I am not 
just trying to get something for myself. If someone has a better idea of 
how to package analyses with graphics for the end-user, I'd love to hear it.

I would also be interested in feedback from other developers as to what 
they think of my general idea. Is it worth pursuing? Would it be worthy 
of a simple package?

Thanks for your help and hard-work Hans-Peter and I look forward to 
hearing how things are going,

Mark
Hans-Peter wrote:

  
    

Thread (16 messages)

Mark Kimpel xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 7 Hin-Tak Leung xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 James W. MacDonald xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 Hin-Tak Leung xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 Mark Kimpel xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 Gabor Grothendieck xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 Gabor Grothendieck xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 Kasper Daniel Hansen xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 Tom Short xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 Vladimir Dergachev xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 Mark Kimpel xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 8 Gabor Grothendieck xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 9 Hans-Peter xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 11 Mark Kimpel xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 11 Hans-Peter xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 12 Hans-Peter xlsReadWrite Pro and embedding objects and files in Excel worksheets Feb 14