From hadley at rice.edu  Wed May 11 23:31:18 2011
From: hadley at rice.edu (Hadley Wickham)
Date: Wed, 11 May 2011 16:31:18 -0500
Subject: [Rd] How to document man/*.Rd pages with images?
In-Reply-To: <1E65C09B-3C63-47C3-8EF6-2FCE13F61F15@r-project.org>
References: <C9F056EB.4153%sean.mcguffee@gmail.com>
	<BANLkTinGiKMURAWGxppQE=d3n4a8tBADoA@mail.gmail.com>
	<BANLkTikGWmpkyi3nQPBtTuAXaA-X9_3E3w@mail.gmail.com>
	<FF125FB4-5E81-4282-8970-ECBFA4C5598B@r-project.org>
	<BANLkTin4R7JERZWZ+myq5e4HDVWbJSD5wg@mail.gmail.com>
	<1E65C09B-3C63-47C3-8EF6-2FCE13F61F15@r-project.org>
Message-ID: <BANLkTikdSNdr9R7SaqGk+ty9GnWEaxCDcw@mail.gmail.com>

> Oh, my ... it's worse than I thought. Not only does it run things so you have to wait forever - it actually installs packages behind your back! ?Wow, now there is the nightmare abuse of \Sexpr - the malicious package retrieves private data from your machine and deletes your files... and I was worrying about leaving a tiny crack open for Rhttpd injection attacks - yet there is a big gaping door open to all packages ... Does it mean we need more stringent checks on Rd files now as well since they contain code?

As long as you realise Rd files can run arbitrary R code, you're no
worse off than you were before Rd files could run code.  No one is
checking that there's not a function in ggplot2 that secretly sends me
all your code and data ;)

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



[Rd] How to document man/*.Rd pages with images?
Hadley Wickham