[rkward-tracker] [ rkward-Feature Requests-1187398 ] plugins using R2HTML should call require ("R2HTML")

SourceForge.net noreply at sourceforge.net
Thu Apr 21 14:21:57 UTC 2005


Feature Requests item #1187398, was opened at 2005-04-21 14:16
Message generated for change (Comment added) made by ecoch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=1187398&group_id=50231

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Thomas Friedrichsmeier (tfry)
Assigned to: Nobody/Anonymous (nobody)
Summary: plugins using R2HTML should call require ("R2HTML")

Initial Comment:
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 By: Pierre (ecoch)
Date: 2005-04-21 14:21

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=1187398&group_id=50231




More information about the rkward-tracker mailing list