Dear Steve,
If I try to make a little bit more explicit these instructions by Rob: Here’s the process: 1. Install LyX. Use alpha6 (available from the LyX website), it’s the most stable. 2. Install R. Available from its project’s website. 3. Install the appropriate RTools<http://www.murdoch-sutherland.com/Rtools/index.html>for your version of R. 4. Copy Sweave.sty from share/texmf in the R installation directory to some place in your LaTeX path. 5. Rebuild your LaTeX database. Reconfigure LyX. 1. You just install the most recent version of Lyx. 2. and 3. Check your version of R. Launch R and check the About box. Use this information to download the correct RTools version from the wab page indicated by Rob. 4. R is normally installed in Program Files\R-project if I remember well. Locate the subfolder share under the folder of R-project (using the file manager of WIndows), and then the folder subfolder texmf that should be in the share folder. Copy this folder in your Miktex tree. MikTex should normally be installed in Proram Files\Miktex and must contain a sunfolder texmf that again contains a subfolder latex. Put the the content of the share\texmf folder in a subfolder of this latex folder (you can create a new folder called sweave for example and copy the files in this new folder). 5. You have two choices here: The user-friendly one is to locate the MikTex manager program from your Programs/Miktex menu and refresh the Latex file index from here (one of the tabs must be about such a functionality). The more direct one uses the Command line window (You should be able to open one from Start/Programs/Accessories/Command... In this window just execute the following command: mktexlsr (type mktexlsr and push the Return key). This will read some folders and update their indexes for allowing to Latex compiler to find the corresponding files. Then Launch Lyx and Execute Reconfigure (please look in the menus, I do not remember under which menu this function appears in the Window version). I have written the paths to the relevant folders from memory, and I am not sure to remember well since I do not use Windows anymore. I also translate from French Windows. But if you look for the meaning of what I indicate, you should find your way. Sorry for not being more precise, but I hope that this can help you in the waiting of more precise indications from an current Windows user. 2011/6/2 Steve Sidney <[email protected]> > Thanks Liviu > > Yes I have tried but not sure that I understand points 3), 4) and 5). > > Have also posted a question to Rob and hope he has time to reply. > > Regards > > -----Original Message----- > From: Liviu Andronic [mailto:[email protected]] > Sent: 02 June 2011 02:43 PM > To: Steve Sidney > Cc: [email protected] > Subject: Re: lyx 2 and sweave > > On Thu, Jun 2, 2011 at 4:58 AM, Steve Sidney <[email protected]> wrote: > > Dear list > > > > I have run into some problems trying to get lyx 2 working with Sweave. > > > Assuming that you're on Windows, try Rob's instructions [1]. It is really > much easier to set up LyX with Sweave on Linux (and possibly on Mac). > Liviu > > [1] http://blog.oak-tree.us/index.php/2010/10/08/sweave-lyx2 > > > > Is anyone aware of a set of instructions that I could follow. > > > > It seems that those posted by "Jeff Laake in Nov 2010" are not correct > > for Lyx 2.0 > > > > Any help would be appreciated. > > > > Regards > > Steve > > > > > > > > > > > > -- > Do you know how to read? > http://www.alienetworks.com/srtest.cfm > http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader > Do you know how to write? > http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail > > -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: [email protected] www : http:/yildizoglu.co.cc http://www.twitter.com/yildizoglu ______________________________________________ -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: [email protected] www : http:/yildizoglu.co.cc http://www.twitter.com/yildizoglu ______________________________________________
