DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:rstudio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:rstudio [2015-10-22 13:41] turnermmplugin:rstudio [2018-05-29 23:40] (current) – [Installation] Klap-in
Line 4: Line 4:
 description: For use with ckgedit to facilitate the copying of RStudio code blocks into the ckgeditor. description: For use with ckgedit to facilitate the copying of RStudio code blocks into the ckgeditor.
 author     : Myron Turner  author     : Myron Turner 
-email      : turnermm03@shaw.ca +email      : turnermm02@shaw.ca 
 type       : action type       : action
-lastupdate : 2015-10-22+lastupdate : 2015-12-25
 compatible : hrun,detritus compatible : hrun,detritus
 depends    :  depends    : 
Line 13: Line 13:
 tags       : R, RStudio tags       : R, RStudio
  
-downloadurl: http://github.com/turnermm/rstudio/zipball/master +downloadurl: https://github.com/turnermm/rstudio/zipball/master 
-bugtracker : http://github.com/turnermm/rstudio/issues +bugtracker : https://github.com/turnermm/rstudio/issues 
-sourcerepo : http://github.com/turnermm/rstudio/ +sourcerepo : https://github.com/turnermm/rstudio/ 
-donationurl: +donationurl: http://mturner.org/userfiles/donate.php  
  
  
Line 26: Line 26:
  
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Usage ===== ===== Usage =====
-Using Firefox (or Chrome), it is possible to copy a simple ((i.e. not one with complex styling and structure, or requiring javascript)) RStudio page and paste it into ckgedit's editing window, and it can then be saved as a Dokuwiki file. In order to copy the RStudio code blocks without error, it is necessary to remove any internal formatting that occurs inside the RStudio code blocks. This is done by clicking the ckgedit's select-all tool and then clicking the unformat tool: {{  http://i1369.photobucket.com/albums/ag206/turnermm03/selectall_unformat_zpsidptxmvg.png?170  }}+Using Firefox (or Chrome), it is possible to copy a simple ((i.e. not one with complex styling and structure, or requiring javascript)) html page with RStudio code blocks and paste it into ckgedit's editing window, and it can then be saved as a Dokuwiki file. In order to copy the RStudio code blocks without error, it is necessary to remove any internal formatting that occurs inside the RStudio code blocks. This is done by clicking the ckgedit's select-all tool and then clicking the unformat tool: {{  http://i1369.photobucket.com/albums/ag206/turnermm03/selectall_unformat_zpsidptxmvg.png?170  }}
 The page and its diagrams will then save correctly. See the following video: The page and its diagrams will then save correctly. See the following video:
      * https://www.youtube.com/watch?v=_es_hdQvU8c&feature=youtu.be      * https://www.youtube.com/watch?v=_es_hdQvU8c&feature=youtu.be
Line 35: Line 35:
  
  
 +This plugin also fixes rstudio code blocks that the ckgedit parser mistakes for Dokuwiki file blocks, making for corrupted code blocks in which the opening tag is %%<code>%% but the closing tag is %%</file>%%.
 +
 + 
plugin/rstudio.1445514100.txt.gz · Last modified: 2015-10-22 13:41 by turnermm

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki