Bioequivalence and Bioavailability Forum

Main page Policy/Terms of Use Abbreviations Latest Posts

 Log-in |  Register |  Search

Back to the forum  Query: 2017-06-24 22:55 CEST (UTC+2h)
 

Report in R – is that uphill or what? [R for BE/BA]

posted by ElMaestro - Denmark, 2016-03-05 23:14  - Posting: # 16055
Views: 3,180

Hi all,

I am struggling a bit with R. Am trying to do something which sounds quite simple:
I want to run some analyses in R and then create a document of sorts which may contain some of the results like graphs/plots, some tables, and a bit of text generated by R. Save in some easily accessible format like *.doc, *.rtf or pdf or anything widely used which can be opened/viewed by people who do not have R.

It is not easy, though :confused::confused:. I google around and get to pages about knitr and sweave and I am utterly and miserably lost. I admit that 250 tutorials and simple examples later I am none the wiser at all.

Do I really have to copy and paste graphs, tables, text from R into a document manually?
Or even worse, use disk i/o tools within R to create a folder from which I build manually a html document with the graphs and tables I produce. It seems a long and cumbersome way to go for very little, and at the end of the day it means the document (what the user sees via the browser) will still span several files and that is not ideal. If I could shell the browser to then print the html file to pdf via the built-in virtual pdf generator then it just might work. But this seems far-fetched, isn't there a smarter way?

If someone has a quick way to accomplish what I so far haven't been able to then I'd love to see it.

Thanks in advance for any input.


Edit: Category changed. That’s perfectly On-Topic! [Helmut]

I could be wrong, but…


Best regards,
ElMaestro

- since June 2017 having an affair with the bootstrap.

Complete thread:

Back to the forum Activity
 Mix view
Bioequivalence and Bioavailability Forum | Admin contact
17,003 Posts in 3,644 Threads, 1,040 registered users;
12 users online (0 registered, 12 guests).

No computer has ever been designed
that is ever aware of what it’s doing;
but most of the time, we aren’t either.    Marvin Minsky

The BIOEQUIVALENCE / BIOAVAILABILITY FORUM is hosted by
BEBAC Ing. Helmut Schütz
XHTML/CSS RSS Feed