Displaying 5 results from an estimated 5 matches for "renderstring".
2006 Feb 08
1
render_component vs. render_component_as_string?
...ms didn''t work and
I had to pass in an explicit :id parameter to get the target
controller to override the id - is that documented anywhere?
That''s not my question. My question is - if I replace this with
render_component_as_string, then try to render the string, I get an error:
renderstring = render_component_as_string :controller => target_controller, :action => "show", :id => target_id
render :inline => renderstring
throws a undefined method error for render_component_as_string. Is
this method not available in helpers? Is there an alternate approach
to use for...
2006 May 06
1
Weird blank spacing in plot title when using \n and plotmath
Dear R-helpers,
I have been using \n in my plot titles to split long titles into two lines. I recently tried combining \n and plotmath which still gives me two lines for the title but also a weird blank spacing. A simple example is as follows:
plot(1:10, main=expression(paste("Exposure\nTemp (", degree*F, ")")))
Is there something I'm missing to close the spacing.
2005 Jun 11
2
italic (PR#7932)
Full_Name: G. Grothendieck
Version: R version 2.1.0, 2005-05-14
OS: Windows XP
Submission from: (NULL) (216.59.254.207)
This code:
> plot(1:10)
> text(5,5,lab=expression(italic(22*"33")))
has the effect of italicizing 33 (which is a character string) but not 22
(which is not). I would have thought that both, not just 33, would be
italicized.
I had previously posted about this
2000 Apr 06
1
MetaPost device?
I would like to know if a MetaPost device is available or in the plans.
A search MetaPost in the documents and list archives did not turn up
anything. [I would prefer to use MetaPost when the graphics is to be
included in a document that I want in both hard-copy and in pdf
formats.]
If not, how easy/hard is it to add a new device to R? I caouln't see
anything about adding devices in the
2000 Apr 06
1
MetaPost device?
I would like to know if a MetaPost device is available or in the plans.
A search MetaPost in the documents and list archives did not turn up
anything. [I would prefer to use MetaPost when the graphics is to be
included in a document that I want in both hard-copy and in pdf
formats.]
If not, how easy/hard is it to add a new device to R? I caouln't see
anything about adding devices in the