Hi,
You could play with the splitTextGrob() function from the RGraphics package,
string <- "Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Quisque leo ipsum, ultricies scelerisque volutpat non, volutpat et
nulla. Curabitur consequat ullamcorper tellus id imperdiet. Duis
semper malesuada
Thanks a lot!
--
View this message in context:
http://n4.nabble.com/exporting-text-output-to-pdf-tp837699p1017331.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/
The modified snippet (with the long paragraph truncated) does not produce
anything like the requested document.
--
View this message in context:
http://n4.nabble.com/exporting-text-output-to-pdf-tp837699p1017332.html
Sent from the R help mailing list archive at Nabble.com.
_
On Jan 18, 2010, at 5:07 PM, Dimitri Shvorob wrote:
... You can modify this (dysfunctional) snippet.
pdf()
plot.new()
mtext("Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Quisque leo
ipsum, ultricies scelerisque volutpat non, volutpat et nulla.
Curabitur
consequat ullamcorper t
-Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Dimitri Shvorob
> Sent: Monday, January 18, 2010 11:34 AM
> To: r-help@r-project.org
> Subject: Re: [R] exporting text output to pdf
>
>
> Let's revisit my
... You can modify this (dysfunctional) snippet.
pdf()
plot.new()
mtext("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque leo
ipsum, ultricies scelerisque volutpat non, volutpat et nulla. Curabitur
consequat ullamcorper tellus id imperdiet. Duis semper malesuada nulla,
blandit lob
> Error in library(ReadImages) : .First.lib failed for 'ReadImages'
David, I was aware of title, main and mtext when I asked the question, and
although advice concerning them was certainly sound, it was not news. Yes,
one can put text into images - I wish I had not brought up images at all and
fo
> I wish I had not brought up images at all and focused on text
In fact, let's do that and forget about images - I just want to put text
into a PDF. Let's take, say, five long strings to represent paragraphs, then
put them on a single page, one after another, with minimal code. I don't
want to fi
On Jan 18, 2010, at 1:33 PM, Dimitri Shvorob wrote:
Let's revisit my fist post
How can I get a normal-font-sized 'Hello world' displayed on a page,
with a
plot underneath, instead of a giant 'Hello world' on one page, and a
plot on
another?
I suggested that you look at the wiki and you
If you use emacs, then another alternative is Org-babel, which allows
you to mix and match languages. Using the literate programming
paradigm, Org-babel will tangle your hwriter code snippets and expand
references to any R-code that you want to embed within them.
I use Org-babel to combine
Let's revisit my fist post
How can I get a normal-font-sized 'Hello world' displayed on a page, with a
plot underneath, instead of a giant 'Hello world' on one page, and a plot on
another?
Then
The goal is to produce a proper-looking PDF *document* with text and images
- similar to what I coul
You may as well go all the way and use Sweave. See
http://www.stat.umn.edu/~charlie/Sweave/ for examples.
-Ista
On Mon, Jan 18, 2010 at 4:41 PM, Dimitri Shvorob
wrote:
>
> Nothing relevant, as far as I can tell :(
> Putting text into a PDF document in R appears to be a cumbersome exercise.
> --
On Jan 18, 2010, at 11:41 AM, Dimitri Shvorob wrote:
Nothing relevant, as far as I can tell :(
Putting text into a PDF document in R appears to be a cumbersome
exercise.
You might get more specific ideas if your were in turn more
specific. Offer an example that sends output to a scr
Nothing relevant, as far as I can tell :(
Putting text into a PDF document in R appears to be a cumbersome exercise.
--
View this message in context:
http://n4.nabble.com/exporting-text-output-to-pdf-tp837699p1016808.html
Sent from the R help mailing list archive at Nabble.com.
__
Perhaps you should look at what Murrell offers:
http://www.jstatsoft.org/v30/i04
Or at worked examples in the Wiki:
http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:display-images
On Jan 18, 2010, at 10:21 AM, Dimitri Shvorob wrote:
Ah, mine was not a helpful example. Text at
Ah, mine was not a helpful example. Text atop a picture is a special
scenario, handled by title(); the goal is to produce a proper-looking PDF
*document* with text and images - similar to what I could do in HTML with
hwriter package.
--
View this message in context:
http://n4.nabble.com/export
On Jan 18, 2010, at 8:40 AM, Demyan wrote:
... or, as a lightweight solution, use function textplot in package
gplots
An R newbie experimenting with pdf(), and then with textplot(), I
find that
each plot or textplot'ted (with default settings) text is displayed
on a
separate page.
Ho
> ... or, as a lightweight solution, use function textplot in package gplots
An R newbie experimenting with pdf(), and then with textplot(), I find that
each plot or textplot'ted (with default settings) text is displayed on a
separate page.
How can I get a normal-font-sized 'Hello world' displa
Gabor Grothendieck gmail.com> writes:
>
> Look at the xtable package and latex in the Hmisc package.
>
> On 10/21/07, Jesse D Lecy maxwell.syr.edu> wrote:
..
> > I am new to R and I am trying to figure out how to print text output from an
operation like table() to a pdf file.
> Is there a sim
Look at the xtable package and latex in the Hmisc package.
On 10/21/07, Jesse D Lecy <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am new to R and I am trying to figure out how to print text output from an
> operation like table() to a pdf file. Is there a simple command to do this,
> or do you nee
Hello,
I am new to R and I am trying to figure out how to print text output from an
operation like table() to a pdf file. Is there a simple command to do this, or
do you need to work with connections at a rudimentary level?
Thanks you,
Jesse
[[alternative HTML version deleted]]
___
21 matches
Mail list logo