Pages: [1]
  Print  
Author Topic: XML / Doc format for User developed R fragments and documentation?  (Read 384 times)
pmiddlet
Newbie
*
Posts: 9


« on: June 20, 2012, 05:14:52 PM »

Does anyone have an idea on what the structure of R code fragments written by users should be in XML (noted under Tools -> Preferences -> R)? The parser is looking for them and is responsible I believe for causing the "Content is not allowed in prolog" error thrown by java when Mac OS X users load RM from a terminal. What about the format for documentation, is this the same format as the  R standard for help files or something else?

Can this be 'turned off' in the loading process? RM appears to make this a critical part of the loading process.

Many thanks.   
Logged
Nils
Administrator
Sr. Member
*****
Posts: 334


« Reply #1 on: June 21, 2012, 09:46:35 AM »

Hi,

as you can see it is just logged as a warning. There is nothing crucial about it. Your R Extension should work even without the R fragments - at least mine does.
Nevertheless some days ago we have removed the warning if no R fragments or documentation are available. With the next release you shouldn't see them anymore.

Best,
Nils
Logged

Please add [SOLVED] to the topic title when your problem has been solved! (do so by editing the first post in the thread and modifying the title)
pmiddlet
Newbie
*
Posts: 9


« Reply #2 on: June 21, 2012, 11:57:49 PM »

HI Nils,

Actually mine flags as a fatal error, not a warning (see my post and crash dump on this) at:

http://rapid-i.com/rapidforum/index.php/topic,4912.msg18654.html#msg18654


However, what if one wants to write documentation files as part of a standard internal library? Does the documentation library which RM reads adhere to the R conventions for help file / documentation structure? What about the XML structure for the code fragments?

Many thanks!
Logged
Pages: [1]
  Print  
 
Jump to: