Dear Murat Thanks v much. You will see that Liviu responded and I have tried to ask the questions re RTools a little differently. But, tnaks for trying. My problem definitely revolves around the fact that as soon as try and include the 'Sweave' module is says that it's not installed and my ver of Latex (Miktex) can't see it. I don't really know what's package is missing from MikTex. I am sure that Rob's instructions are fine it's just that as a 'newbie' there seems to be some detail missing and for instance I don't know if I must install the whole RTools (200mB) or not and then I can't see where it gets run. Anyway, thanks for trying - maybe I just go to Linux for the this, since there seems as though there has always been less problems with Sweave in that environment. Regards Steve
_____ From: myi...@gmail.com [mailto:myi...@gmail.com] On Behalf Of Murat Yildizoglu Sent: 13 June 2011 12:36 PM To: Steve Sidney Cc: lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave Dear Steve, I have just tried to make more explicit the instructions given by Rob. Unfortunately, I do not use Windows anymore and cannot directly test them. As far as I do remember, establishing the connection with Sweave was rather complex under Windows with the previous versions of Lyx, but it is supposed to be much simpler with Lyx 2. For example, under OSX, the connection was just out-of-the-box for me, after having included the module. For Windows, I do not remember if I had to install RTools, but, anyway, this was before Lyx 2. In your place, I would just follow Rob's instructions, I am pretty confident that if he has published them, they must work. Sorry for not being more helpful. I was hoping that other WIndows users who remember their setup for Lyx2-Sweave connection would ring the bell here. Murat 2011/6/12 Steve Sidney <ste...@nla.org.za> Dear Murat I sent this last week but see now that it went to your University email - apologies. I am sending this again in case you did not receive it. I have also copied the list I have tried following your instructions - thanks for sending them but I still can't get it to work. How does RTools get invoked; I see that it is a very large installation (200Mb) with compiler etc but I can't see where it get used in either Rob's or your description. Once again thanks for all your help it is much appreciated. Regards Steve _____ From: myi...@gmail.com [mailto:myi...@gmail.com] On Behalf Of Murat Yildizoglu Sent: 02 June 2011 04:45 PM To: Steve Sidney Subject: Re: lyx 2 and sweave Dear Steve, If I try to make a little bit more explicit these instructions by Rob: Heres the process: 1. Install LyX. Use alpha6 (available from the LyX website), its the most stable. 2. Install R. Available from its projects 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 <ste...@nla.org.za> 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:landronim...@gmail.com] Sent: 02 June 2011 02:43 PM To: Steve Sidney Cc: lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Thu, Jun 2, 2011 at 4:58 AM, Steve Sidney <ste...@nla.org.za> 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 <http://garbl.home.comcast.net/%7Egarbl/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: murat.yildizo...@univ-cezanne.fr 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: murat.yildizo...@univ-cezanne.fr www : http:/yildizoglu.co.cc http://www.twitter.com/yildizoglu ______________________________________________