[Rprotobuf-yada] Sweave

Romain Francois romain.francois at dbmail.com
Thu Nov 12 16:33:30 CET 2009


Sorry about that. I fixed it. R CMD build takes care of it all.

It is when I manually do Rscript -e "Sweave( 'RProtoBuf.Rnw' )" that I 
need to specify Sweave's location. I need to update my texmf tree, etc ...


On 11/12/2009 04:27 PM, Dirk Eddelbuettel wrote:
> This doesn't work on Debian / Ubuntu:
>
>     \usepackage{\Sexpr{file.path( R.home(), "share/texmf/Sweave" ) }}
>
> as we have
>
>     edd at ron:~>  ls /usr/share/R
>     debian	doc  include  share
>     edd at ron:~>  ls /usr/lib/R
>     bin  COPYING  etc  lib	library  modules  NEWS	site-library  SVN-REVISION
>     edd at ron:~>
>
> i.e. we do not have file-system tree below R_HOME.  On the other hand, we do
> integrate with LaTeX so I just say
>
>    \usepackage{Sweave}
>
> and things work.  Short of having configure deal with this, what else can we do?
>
> Dirk


-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/EAD5 : LondonR slides
|- http://tr.im/BcPw : celebrating R commit #50000
`- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc



More information about the Rprotobuf-yada mailing list