RE: lyx 2 and sweave
Thanks for your rsponse But if one never runs RTools, how does it do this. In the instructions, it seems as if RTools does not get run; or am I missing something. Also when I downloaded RTools it seems as if this is a tools to re-compile the source code, since a full download also inlcludes a compiler etc. Furthermore, it also seems as if RTools implements Cygwin. All in all very confusing Really appreciate you taking the trouble to try and help Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 12 June 2011 11:32 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney ste...@nla.org.za wrote: 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. As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu
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: 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 RToolshttp://www.murdoch-sutherland.com/Rtools/index.htmlfor 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
Re: lyx 2 and sweave
Dear Steve, I have just checked again the explanation on the RTools package and it looks a little bot overkill to me too, for just installing the Sweave connection with Lyx. As far as I remember, what you need on the R side to make Sweave work is the corresponding executables and batch files that comes with R (check the bin folder) and the latex files that must be included in your texmf tree. The rest of RTools seems quite spurious to me indeed. Probably, RTools is a sufficient, but necessary solution of this problem. But, we need a Windows user to clarify these points. 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: 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 RToolshttp://www.murdoch-sutherland.com/Rtools/index.htmlfor 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
Re: lyx 2 and sweave
On Mon, Jun 13, 2011 at 12:35 PM, Steve Sidney ste...@nla.org.za wrote: Thanks for your rsponse But if one never runs RTools, how does it do this. You should only need to install RTools, this way properly configuring your Win environment for LyX to R communications, but not run it at any point when trying to compile an Sweave document. It was some time ago, but as far as I remember immediately after installing RTools (and after having already registered Sweave.sty with LaTeX) I could to easily compile LyX Sweave documents. To echo Murat, on Linux and Mac it's all much more straightforward, since simply installing LyX and R suffices to make LyX Sweave work. In the instructions, it seems as if RTools does not get run; or am I missing something. Also when I downloaded RTools it seems as if this is a tools to re-compile the source code, since a full download also inlcludes a compiler etc. Furthermore, it also seems as if RTools implements Cygwin. That might be one of the things that allows for the LyX Sweave integration. It might be better for you to tell us what exactly doesn't work on your set-up: LyX compilation errors, etc. Regards Liviu All in all very confusing Really appreciate you taking the trouble to try and help Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 12 June 2011 11:32 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney ste...@nla.org.za wrote: 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. As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu -- 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
RE: lyx 2 and sweave
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
RE: lyx 2 and sweave
Thanks Liviu I feel quite the 'idiot' at this stage, but thanks to both you and Murat for trying. Murat have just seen your last mail - yes it would be great if Rob or someone else familiar with setting it up in Windows could claridy and help. Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 13 June 2011 12:49 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Mon, Jun 13, 2011 at 12:35 PM, Steve Sidney ste...@nla.org.za wrote: Thanks for your rsponse But if one never runs RTools, how does it do this. You should only need to install RTools, this way properly configuring your Win environment for LyX to R communications, but not run it at any point when trying to compile an Sweave document. It was some time ago, but as far as I remember immediately after installing RTools (and after having already registered Sweave.sty with LaTeX) I could to easily compile LyX Sweave documents. To echo Murat, on Linux and Mac it's all much more straightforward, since simply installing LyX and R suffices to make LyX Sweave work. In the instructions, it seems as if RTools does not get run; or am I missing something. Also when I downloaded RTools it seems as if this is a tools to re-compile the source code, since a full download also inlcludes a compiler etc. Furthermore, it also seems as if RTools implements Cygwin. That might be one of the things that allows for the LyX Sweave integration. It might be better for you to tell us what exactly doesn't work on your set-up: LyX compilation errors, etc. Regards Liviu All in all very confusing Really appreciate you taking the trouble to try and help Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 12 June 2011 11:32 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney ste...@nla.org.za wrote: 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. As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu -- 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
Re: lyx 2 and sweave
On Mon, Jun 13, 2011 at 12:51 PM, Steve Sidney ste...@nla.org.za wrote: 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. Sweave.sty. See steps 4 and 5 (in their entirety). 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 My guess is that his instructions were more geared to moderately advanced users. if I must install the whole RTools (200mB) or not and then I can't see where it gets run. You simply have to install the whole RTools, but you don't need to run it. Liviu 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: Here’s the process: Install LyX. Use alpha6 (available from the LyX website), it’s the most stable. Install R. Available from its project’s website. Install the appropriate RTools for your version of R. Copy Sweave.sty from share/texmf in the R installation directory to some place in your LaTeX path. 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
RE: lyx 2 and sweave
Thanks for your rsponse But if one never runs RTools, how does it do this. In the instructions, it seems as if RTools does not get run; or am I missing something. Also when I downloaded RTools it seems as if this is a tools to re-compile the source code, since a full download also inlcludes a compiler etc. Furthermore, it also seems as if RTools implements Cygwin. All in all very confusing Really appreciate you taking the trouble to try and help Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 12 June 2011 11:32 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney ste...@nla.org.za wrote: 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. As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu
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: 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 RToolshttp://www.murdoch-sutherland.com/Rtools/index.htmlfor 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
Re: lyx 2 and sweave
Dear Steve, I have just checked again the explanation on the RTools package and it looks a little bot overkill to me too, for just installing the Sweave connection with Lyx. As far as I remember, what you need on the R side to make Sweave work is the corresponding executables and batch files that comes with R (check the bin folder) and the latex files that must be included in your texmf tree. The rest of RTools seems quite spurious to me indeed. Probably, RTools is a sufficient, but necessary solution of this problem. But, we need a Windows user to clarify these points. 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: 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 RToolshttp://www.murdoch-sutherland.com/Rtools/index.htmlfor 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
Re: lyx 2 and sweave
On Mon, Jun 13, 2011 at 12:35 PM, Steve Sidney ste...@nla.org.za wrote: Thanks for your rsponse But if one never runs RTools, how does it do this. You should only need to install RTools, this way properly configuring your Win environment for LyX to R communications, but not run it at any point when trying to compile an Sweave document. It was some time ago, but as far as I remember immediately after installing RTools (and after having already registered Sweave.sty with LaTeX) I could to easily compile LyX Sweave documents. To echo Murat, on Linux and Mac it's all much more straightforward, since simply installing LyX and R suffices to make LyX Sweave work. In the instructions, it seems as if RTools does not get run; or am I missing something. Also when I downloaded RTools it seems as if this is a tools to re-compile the source code, since a full download also inlcludes a compiler etc. Furthermore, it also seems as if RTools implements Cygwin. That might be one of the things that allows for the LyX Sweave integration. It might be better for you to tell us what exactly doesn't work on your set-up: LyX compilation errors, etc. Regards Liviu All in all very confusing Really appreciate you taking the trouble to try and help Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 12 June 2011 11:32 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney ste...@nla.org.za wrote: 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. As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu -- 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
RE: lyx 2 and sweave
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
RE: lyx 2 and sweave
Thanks Liviu I feel quite the 'idiot' at this stage, but thanks to both you and Murat for trying. Murat have just seen your last mail - yes it would be great if Rob or someone else familiar with setting it up in Windows could claridy and help. Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 13 June 2011 12:49 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Mon, Jun 13, 2011 at 12:35 PM, Steve Sidney ste...@nla.org.za wrote: Thanks for your rsponse But if one never runs RTools, how does it do this. You should only need to install RTools, this way properly configuring your Win environment for LyX to R communications, but not run it at any point when trying to compile an Sweave document. It was some time ago, but as far as I remember immediately after installing RTools (and after having already registered Sweave.sty with LaTeX) I could to easily compile LyX Sweave documents. To echo Murat, on Linux and Mac it's all much more straightforward, since simply installing LyX and R suffices to make LyX Sweave work. In the instructions, it seems as if RTools does not get run; or am I missing something. Also when I downloaded RTools it seems as if this is a tools to re-compile the source code, since a full download also inlcludes a compiler etc. Furthermore, it also seems as if RTools implements Cygwin. That might be one of the things that allows for the LyX Sweave integration. It might be better for you to tell us what exactly doesn't work on your set-up: LyX compilation errors, etc. Regards Liviu All in all very confusing Really appreciate you taking the trouble to try and help Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 12 June 2011 11:32 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney ste...@nla.org.za wrote: 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. As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu -- 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
Re: lyx 2 and sweave
On Mon, Jun 13, 2011 at 12:51 PM, Steve Sidney ste...@nla.org.za wrote: 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. Sweave.sty. See steps 4 and 5 (in their entirety). 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 My guess is that his instructions were more geared to moderately advanced users. if I must install the whole RTools (200mB) or not and then I can't see where it gets run. You simply have to install the whole RTools, but you don't need to run it. Liviu 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: Here’s the process: Install LyX. Use alpha6 (available from the LyX website), it’s the most stable. Install R. Available from its project’s website. Install the appropriate RTools for your version of R. Copy Sweave.sty from share/texmf in the R installation directory to some place in your LaTeX path. 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
RE: lyx 2 and sweave
Thanks for your rsponse But if one never runs RTools, how does it do this. In the instructions, it seems as if RTools does not get run; or am I missing something. Also when I downloaded RTools it seems as if this is a tools to re-compile the source code, since a full download also inlcludes a compiler etc. Furthermore, it also seems as if RTools implements Cygwin. All in all very confusing Really appreciate you taking the trouble to try and help Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 12 June 2011 11:32 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney <ste...@nla.org.za> wrote: > 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. > As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu
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: > > 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 <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, Ste
Re: lyx 2 and sweave
Dear Steve, I have just checked again the explanation on the RTools package and it looks a little bot overkill to me too, for just installing the Sweave connection with Lyx. As far as I remember, what you need on the R side to make Sweave work is the corresponding executables and batch files that comes with R (check the bin folder) and the latex files that must be included in your texmf tree. The rest of RTools seems quite spurious to me indeed. Probably, RTools is a sufficient, but necessary solution of this problem. But, we need a Windows user to clarify these points. 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: > > 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 <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, t
Re: lyx 2 and sweave
On Mon, Jun 13, 2011 at 12:35 PM, Steve Sidney <ste...@nla.org.za> wrote: > Thanks for your rsponse > > But if one never runs RTools, how does it do this. > You should only need to install RTools, this way properly configuring your Win environment for LyX to R communications, but not run it at any point when trying to compile an Sweave document. It was some time ago, but as far as I remember immediately after installing RTools (and after having already registered Sweave.sty with LaTeX) I could to easily compile LyX Sweave documents. To echo Murat, on Linux and Mac it's all much more straightforward, since simply installing LyX and R suffices to make LyX Sweave work. > In the instructions, it seems as if RTools does not get run; or am I missing > something. > > Also when I downloaded RTools it seems as if this is a tools to re-compile > the source code, since a full download also inlcludes a compiler etc. > Furthermore, it also seems as if RTools implements Cygwin. > That might be one of the things that allows for the LyX Sweave integration. It might be better for you to tell us what exactly doesn't work on your set-up: LyX compilation errors, etc. Regards Liviu > All in all very confusing > > Really appreciate you taking the trouble to try and help > > Regards > Steve > > -Original Message- > From: Liviu Andronic [mailto:landronim...@gmail.com] > Sent: 12 June 2011 11:32 PM > To: Steve Sidney > Cc: myi...@gmail.com; lyx-users@lists.lyx.org > Subject: Re: lyx 2 and sweave > > On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney <ste...@nla.org.za> wrote: >> 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. >> > As far as I know, RTools simply (among other things) properly sets up R in > the Windows environment so that LaTeX and LyX can communicate with R. At > this step, you shouldn't be doing much more. Are you sure you have > reconfigured LyX? > > Liviu > > -- 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
RE: lyx 2 and sweave
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 wai
RE: lyx 2 and sweave
Thanks Liviu I feel quite the 'idiot' at this stage, but thanks to both you and Murat for trying. Murat have just seen your last mail - yes it would be great if Rob or someone else familiar with setting it up in Windows could claridy and help. Regards Steve -Original Message- From: Liviu Andronic [mailto:landronim...@gmail.com] Sent: 13 June 2011 12:49 PM To: Steve Sidney Cc: myi...@gmail.com; lyx-users@lists.lyx.org Subject: Re: lyx 2 and sweave On Mon, Jun 13, 2011 at 12:35 PM, Steve Sidney <ste...@nla.org.za> wrote: > Thanks for your rsponse > > But if one never runs RTools, how does it do this. > You should only need to install RTools, this way properly configuring your Win environment for LyX to R communications, but not run it at any point when trying to compile an Sweave document. It was some time ago, but as far as I remember immediately after installing RTools (and after having already registered Sweave.sty with LaTeX) I could to easily compile LyX Sweave documents. To echo Murat, on Linux and Mac it's all much more straightforward, since simply installing LyX and R suffices to make LyX Sweave work. > In the instructions, it seems as if RTools does not get run; or am I > missing something. > > Also when I downloaded RTools it seems as if this is a tools to > re-compile the source code, since a full download also inlcludes a compiler etc. > Furthermore, it also seems as if RTools implements Cygwin. > That might be one of the things that allows for the LyX Sweave integration. It might be better for you to tell us what exactly doesn't work on your set-up: LyX compilation errors, etc. Regards Liviu > All in all very confusing > > Really appreciate you taking the trouble to try and help > > Regards > Steve > > -Original Message- > From: Liviu Andronic [mailto:landronim...@gmail.com] > Sent: 12 June 2011 11:32 PM > To: Steve Sidney > Cc: myi...@gmail.com; lyx-users@lists.lyx.org > Subject: Re: lyx 2 and sweave > > On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney <ste...@nla.org.za> wrote: >> 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. >> > As far as I know, RTools simply (among other things) properly sets up > R in the Windows environment so that LaTeX and LyX can communicate > with R. At this step, you shouldn't be doing much more. Are you sure > you have reconfigured LyX? > > Liviu > > -- 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
Re: lyx 2 and sweave
On Mon, Jun 13, 2011 at 12:51 PM, Steve Sidney <ste...@nla.org.za> wrote: > 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. > Sweave.sty. See steps 4 and 5 (in their entirety). > 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 > My guess is that his instructions were more geared to moderately advanced users. > if I must install the whole RTools (200mB) or not and then I can't see where > it gets run. > You simply have to install the whole RTools, but you don't need to run it. Liviu > 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: >> >> Here’s the process: >> >> Install LyX. Use alpha6 (available from the LyX website), it’s the most >> stable. >> Install R. Available from its project’s website. >> Install the appropriate RTools for your version of R. >> Copy Sweave.sty from share/texmf in the R installation directory to some >> place in your LaTeX path. >> 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 p
RE: lyx 2 and sweave
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 __
Re: lyx 2 and sweave
On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney ste...@nla.org.za wrote: 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. As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu
RE: lyx 2 and sweave
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 __
Re: lyx 2 and sweave
On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidney ste...@nla.org.za wrote: 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. As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu
RE: lyx 2 and sweave
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 __
Re: lyx 2 and sweave
On Sun, Jun 12, 2011 at 4:02 PM, Steve Sidneywrote: > 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. > As far as I know, RTools simply (among other things) properly sets up R in the Windows environment so that LaTeX and LyX can communicate with R. At this step, you shouldn't be doing much more. Are you sure you have reconfigured LyX? Liviu
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
RE: lyx 2 and sweave
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
Re: lyx 2 and sweave
On Thu, Jun 2, 2011 at 8:48 AM, Steve Sidney ste...@nla.org.za wrote: Thanks Liviu Yes I have tried but not sure that I understand points 3), Decide which version of R you have installed on your system and install the corresponding Rtools. 4) and 5). Check Help Customization and look for the section explaining how to install a new latex class. Liviu 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 -- 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
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
RE: lyx 2 and sweave
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
Re: lyx 2 and sweave
On Thu, Jun 2, 2011 at 8:48 AM, Steve Sidney ste...@nla.org.za wrote: Thanks Liviu Yes I have tried but not sure that I understand points 3), Decide which version of R you have installed on your system and install the corresponding Rtools. 4) and 5). Check Help Customization and look for the section explaining how to install a new latex class. Liviu 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 -- 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
Re: lyx 2 and sweave
On Thu, Jun 2, 2011 at 4:58 AM, Steve Sidneywrote: > 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
RE: lyx 2 and sweave
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
Re: lyx 2 and sweave
On Thu, Jun 2, 2011 at 8:48 AM, Steve Sidney <ste...@nla.org.za> wrote: > Thanks Liviu > > Yes I have tried but not sure that I understand points 3), > Decide which version of R you have installed on your system and install the corresponding Rtools. > 4) and 5). > Check Help > Customization and look for the section explaining how to install a new latex class. Liviu > 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 > > -- 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