Bug 380551 - plugins using R2HTML should call require ("R2HTML")
Summary: plugins using R2HTML should call require ("R2HTML")
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 13:16 UTC by Thomas Friedrichsmeier
Modified: 2005-10-23 15:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Friedrichsmeier 2005-04-21 13:16:36 UTC
-- This ticket was imported from http://sourceforge.net/p/rkward/feature-requests/17 on 2017-05-31 14:48:55 +0100 --
Subjects almost says it all.  
Most plugins require / will require R2HTML, so  
R2HTML is almost a necessary requirement for  
rkward. Still, calling   
require \("R2HTML"\)  
explicitly \(in the "printout \(\)"-section\) has the 
advantage, that - if the user  
does not have that library installed - rkward will  
display a prompt and the package-installation  
dialog.  
Comment 1 RKWard Team 2005-04-21 13:21:57 UTC
-- Originally posted by (AT sourceforge.net): ecoch --
Logged In: YES 
user\_id=1131050

For simplicity's sake, though, let's advocate the use of
"rk.print\(x\)", which is just like "HTML\(x\)", but with a
"require" before. Plugins should use rk.print whenever
possible. Anyway, it's better to encapsulate R2HTML, as we
might some day want to use something else.
Comment 2 Thomas Friedrichsmeier 2005-10-23 15:23:49 UTC
Logged In: YES 
user\_id=300591

Done. Of course output in general is still a major 
point of inconsistency, and will need much more 
consideration. That's a separate issue, however. 
Comment 3 Thomas Friedrichsmeier 2005-10-23 15:23:49 UTC
- **status**: open --> closed