Thank you, Myron! After a bit of fiddling, it all worked like magic! This is the best that I have got in transferring those HTMLs to DokuWiki.
Bellow, is the summary of conversion steps, based on your suggestions.
Steps for transferring RStudio generated HTML reports to DokuWiki:
1. Watch
this video by
Myron Turner to see most of the steps below
2. Install
ckgdedit extension in DokuWiki
3. Open HTML file in Firefox and press Cmd-A to select all
4. Press Cmd-C to copy HTML page content
5. Create a new page in DokuWiki and ensure ckgEdit mode is active
6. Place the cursor inside the edit panel and click paste by clicking Cmd-V
7. Still inside the edit panel, press Cmd-A to select the pasted content
8. On ckgedit toolbox, press Tx to remove formatting
If you have blocks of R code and want proper highlighting in DokuWiki:
1. Install "rstudio" plugin in DokuWiki from here:
http://www.mturner.org/devel/start#rstudio
2. Click to edit the saved report in DokuWiki but ensure to switch to DokuWiki editing mode (DW Edit button below the edit panel)
3. Insert ~~R_STUDIO~~ at the beginning and click save. The blocks with R code should appear with proper highlighting.
4. Remove ~~R_STUDIO~~ from the page and save again.
Note: ckgedit automatically saves figures in the DokuWiki folder called media. In the media manager, these figures appear in the root namespace. I am presently not sure how to easily move figures from the root under namespace img (or whatever is your namespace for figures).