Loading...
 
Tiki and PluginR

Tiki and PluginR


Re: plot height not auto increasing ?

posts: 1797 Catalan Countries

See this, Joël:

http://r.tiki.org/ggplot2test

You can register there, I guess, to play with it, if you wish. We haven't advertised r.tiki.org officially yet, but it's working (Intertiki is still not setup due to a bug in Tiki; so you'll have to register a new local user to that tiki site).

The pluginR calls, as they are, can't display the png or pdf graphs produced from the pluginR. BUT PluginR allows the generation of those charts on disk at the corresponding temp/cache/domain/page/ folder, and therefore, they can be displayed with fairly standard Tiki means: img and plugin mediaplayer for the pdf.

For the pdf to be displayed, you have to add pdf to the list of allowed file types under cache. Edit the temp/.htaccess to leave it something like:

< FilesMatch ".*">
	order deny,allow
	deny from all
< /FilesMatch>
< FilesMatch "\.png">
    order deny,allow
    allow from all
< /FilesMatch>
< FilesMatch "\.pdf">
    order deny,allow
    allow from all
< /FilesMatch>
< FilesMatch "\.html">
    order deny,allow
    allow from all
< /FilesMatch>


Remove the space after the " < " in these contents for the htaccess to work (I had to add the space to avoid Tiki removing them considering that they could be dangerous code or something).

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.