Re: 2.0 sweave module installation on windows?

2010-10-08 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 9:56 PM, Liviu Andronic landronim...@gmail.com wrote:
 Dear all
 I am trying to configure the LyX 2.0 Sweave module on Windows 7
 (64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.

Apparently Rob managed to solve this [1].
Liviu

[1] http://blog.oak-tree.us/index.php/2010/10/08/sweave-lyx2


Re: 2.0 sweave module installation on windows?

2010-10-08 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 9:56 PM, Liviu Andronic landronim...@gmail.com wrote:
 Dear all
 I am trying to configure the LyX 2.0 Sweave module on Windows 7
 (64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.

Apparently Rob managed to solve this [1].
Liviu

[1] http://blog.oak-tree.us/index.php/2010/10/08/sweave-lyx2


Re: 2.0 sweave module installation on windows?

2010-10-08 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 9:56 PM, Liviu Andronic  wrote:
> Dear all
> I am trying to configure the LyX 2.0 Sweave module on Windows 7
> (64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.
>
Apparently Rob managed to solve this [1].
Liviu

[1] http://blog.oak-tree.us/index.php/2010/10/08/sweave-lyx2


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:50 PM, Pavel Sanda sa...@lyx.org wrote:
 wouldnt be simpler to run SPSS under wine?
 http://appdb.winehq.org/objectManager.php?sClass=applicationiId=1028

It would have been, indeed, but wine refused to work with my version
of SPSS. I tried upgrading to latest stable and development, with no
luck. Thanks
Liviu


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:50 PM, Rob Oakes lyx-de...@oak-tree.us wrote:
 I'd give a plug for virtualization.  Especially if it's a desktop.  I've
 been running Linux on Windows 7 via VMware for years now and it works very
 well.  Even when running somewhat hefty simulations.

This is one cute, little gadget. I have just installed the free to use
VMware Player and was surprised by how smooth the installation went
(it actually failed to let me choose the installation options, and
just went ahead and installed Xubuntu on the Virtual Machine!). Now
I'm playing with Xubuntu VM on Windows 7, updating and installing
packages. Sofar performance seems more than acceptable. Thanks a lot
for the suggestion.

To stray off-topic, I was curious whether you had time to look into
providing 2.0 alpha ppa packages? Regards
Liviu


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Jean-Marc Lasgouttes

Le 26/09/2010 22:19, Pavel Sanda a écrit :

Liviu Andronic wrote:

22:45:21:490ms: R CMD Sweave newfile1.Rnw
22:45:21:700ms: 'sh' is not recognized as an internal or external command,


it tries to launch linux shell, which is not going to work on windows. ask 
JMarc...


Does the same happen when running
  R CMD Sweave somefile.Rnw
manually?

JMarc


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Liviu Andronic
On Mon, Sep 27, 2010 at 4:25 PM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 Does the same happen when running
  R CMD Sweave somefile.Rnw
 manually?

Yes, the exact same message. The path to the document contained
spaces, but even after removing them it fails. It also fails in the
same way on a non existent file:
R CMD Sweave somefileasdfewarf.Rnw

Liviu


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:50 PM, Pavel Sanda sa...@lyx.org wrote:
 wouldnt be simpler to run SPSS under wine?
 http://appdb.winehq.org/objectManager.php?sClass=applicationiId=1028

It would have been, indeed, but wine refused to work with my version
of SPSS. I tried upgrading to latest stable and development, with no
luck. Thanks
Liviu


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:50 PM, Rob Oakes lyx-de...@oak-tree.us wrote:
 I'd give a plug for virtualization.  Especially if it's a desktop.  I've
 been running Linux on Windows 7 via VMware for years now and it works very
 well.  Even when running somewhat hefty simulations.

This is one cute, little gadget. I have just installed the free to use
VMware Player and was surprised by how smooth the installation went
(it actually failed to let me choose the installation options, and
just went ahead and installed Xubuntu on the Virtual Machine!). Now
I'm playing with Xubuntu VM on Windows 7, updating and installing
packages. Sofar performance seems more than acceptable. Thanks a lot
for the suggestion.

To stray off-topic, I was curious whether you had time to look into
providing 2.0 alpha ppa packages? Regards
Liviu


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Jean-Marc Lasgouttes

Le 26/09/2010 22:19, Pavel Sanda a écrit :

Liviu Andronic wrote:

22:45:21:490ms: R CMD Sweave newfile1.Rnw
22:45:21:700ms: 'sh' is not recognized as an internal or external command,


it tries to launch linux shell, which is not going to work on windows. ask 
JMarc...


Does the same happen when running
  R CMD Sweave somefile.Rnw
manually?

JMarc


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Liviu Andronic
On Mon, Sep 27, 2010 at 4:25 PM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 Does the same happen when running
  R CMD Sweave somefile.Rnw
 manually?

Yes, the exact same message. The path to the document contained
spaces, but even after removing them it fails. It also fails in the
same way on a non existent file:
R CMD Sweave somefileasdfewarf.Rnw

Liviu


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:50 PM, Pavel Sanda  wrote:
> wouldnt be simpler to run SPSS under wine?
> http://appdb.winehq.org/objectManager.php?sClass=application=1028
>
It would have been, indeed, but wine refused to work with my version
of SPSS. I tried upgrading to latest stable and development, with no
luck. Thanks
Liviu


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:50 PM, Rob Oakes  wrote:
> I'd give a plug for virtualization.  Especially if it's a desktop.  I've
> been running Linux on Windows 7 via VMware for years now and it works very
> well.  Even when running somewhat hefty simulations.
>
This is one cute, little gadget. I have just installed the free to use
VMware Player and was surprised by how smooth the installation went
(it actually failed to let me choose the installation options, and
just went ahead and installed Xubuntu on the Virtual Machine!). Now
I'm playing with Xubuntu VM on Windows 7, updating and installing
packages. Sofar performance seems more than acceptable. Thanks a lot
for the suggestion.

To stray off-topic, I was curious whether you had time to look into
providing 2.0 alpha ppa packages? Regards
Liviu


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Jean-Marc Lasgouttes

Le 26/09/2010 22:19, Pavel Sanda a écrit :

Liviu Andronic wrote:

22:45:21:490ms: R CMD Sweave "newfile1.Rnw"
22:45:21:700ms: 'sh' is not recognized as an internal or external command,


it tries to launch linux shell, which is not going to work on windows. ask 
JMarc...


Does the same happen when running
  R CMD Sweave "somefile.Rnw"
manually?

JMarc


Re: 2.0 sweave module installation on windows?

2010-09-27 Thread Liviu Andronic
On Mon, Sep 27, 2010 at 4:25 PM, Jean-Marc Lasgouttes
 wrote:
> Does the same happen when running
>  R CMD Sweave "somefile.Rnw"
> manually?
>
Yes, the exact same message. The path to the document contained
spaces, but even after removing them it fails. It also fails in the
same way on a non existent file:
R CMD Sweave "somefileasdfewarf.Rnw"

Liviu


2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
Dear all
I am trying to configure the LyX 2.0 Sweave module on Windows 7
(64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.

Using RedmondPath [1] I've added
C:\Program Files (x86)\R\R-2.11.1\bin

to the system path. Then I copied
c:\Program Files (x86)\R\R-2.11.1\share\texmf\Sweave.sty

to
c:\Program Files (x86)\MiKTeX 2.8\tex\latex\sweave\

and reconfigured LyX. Now LyX seems to find Sweave.sty, at least no
longer complains of not finding it. However, on a very simple LyX
Sweave file containing, in ERT,
=
2+2
@

I get the following error:
22:45:21:421ms: Previewing ...
22:45:21:433ms: (buffer-view pdf2)
22:45:21:490ms: R CMD Sweave newfile1.Rnw
22:45:21:700ms: 'sh' is not recognized as an internal or external command,
22:45:21:709ms: operable program or batch file.
22:45:22:018ms: Error previewing format: pdf2

I am not sure what to do about this. Any ideas? Perhaps some
documentation that I'm missing?

Thank you
Liviu

[1] http://sites.google.com/site/redmondlab/path


-- 
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: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
 22:45:21:490ms: R CMD Sweave newfile1.Rnw
 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

it tries to launch linux shell, which is not going to work on windows. ask 
JMarc...

pavel


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:19 PM, Pavel Sanda sa...@lyx.org wrote:
 Liviu Andronic wrote:
 22:45:21:490ms: R CMD Sweave newfile1.Rnw
 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

 it tries to launch linux shell, which is not going to work on windows. ask 
 JMarc...

Thanks. Would Cygwin help? Or should I take some other route?
Liviu


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
  22:45:21:490ms: R CMD Sweave newfile1.Rnw
  22:45:21:700ms: 'sh' is not recognized as an internal or external command,
 
  it tries to launch linux shell, which is not going to work on windows. ask 
  JMarc...
 
 Thanks. Would Cygwin help? Or should I take some other route?

maybe, i know nothing about this stuff. you dont have linux on the second 
partion by chance? :)
also not necessarily lyx issue, because one can see that R is called just step 
before and the message
may come from it...

you can try to run R CMD Sweave newfile1.Rnw at the windows commandline to 
see what happens.

pavel


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda sa...@lyx.org wrote:
 maybe, i know nothing about this stuff. you dont have linux on the second 
 partion by chance? :)

I do. :) But for my sins I have to use SPSS on Windows, although I'd
like at the same time to prepare some (related) slides using LyX,
Sweave and Beamer (still hoping this combination works). So I'm now
going through the hell of installing and configuring R, LyX, Sweave
and a couple other related packages on Windows. Maybe should consider
virtualization?


 also not necessarily lyx issue, because one can see that R is called just 
 step before and the message
 may come from it...

 you can try to run R CMD Sweave newfile1.Rnw at the windows commandline to 
 see what happens.

I'll first wait if Jean-Marc has something to add. Regards
Liviu


 pavel




-- 
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: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
 On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda sa...@lyx.org wrote:
  maybe, i know nothing about this stuff. you dont have linux on the second 
  partion by chance? :)
 
 I do. :) But for my sins I have to use SPSS on Windows, although I'd
 like at the same time to prepare some (related) slides using LyX,
 Sweave and Beamer (still hoping this combination works). So I'm now
 going through the hell of installing and configuring R, LyX, Sweave
 and a couple other related packages on Windows. Maybe should consider
 virtualization?

wouldnt be simpler to run SPSS under wine?
http://appdb.winehq.org/objectManager.php?sClass=applicationiId=1028

pavel


2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
Dear all
I am trying to configure the LyX 2.0 Sweave module on Windows 7
(64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.

Using RedmondPath [1] I've added
C:\Program Files (x86)\R\R-2.11.1\bin

to the system path. Then I copied
c:\Program Files (x86)\R\R-2.11.1\share\texmf\Sweave.sty

to
c:\Program Files (x86)\MiKTeX 2.8\tex\latex\sweave\

and reconfigured LyX. Now LyX seems to find Sweave.sty, at least no
longer complains of not finding it. However, on a very simple LyX
Sweave file containing, in ERT,
=
2+2
@

I get the following error:
22:45:21:421ms: Previewing ...
22:45:21:433ms: (buffer-view pdf2)
22:45:21:490ms: R CMD Sweave newfile1.Rnw
22:45:21:700ms: 'sh' is not recognized as an internal or external command,
22:45:21:709ms: operable program or batch file.
22:45:22:018ms: Error previewing format: pdf2

I am not sure what to do about this. Any ideas? Perhaps some
documentation that I'm missing?

Thank you
Liviu

[1] http://sites.google.com/site/redmondlab/path


-- 
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: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
 22:45:21:490ms: R CMD Sweave newfile1.Rnw
 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

it tries to launch linux shell, which is not going to work on windows. ask 
JMarc...

pavel


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:19 PM, Pavel Sanda sa...@lyx.org wrote:
 Liviu Andronic wrote:
 22:45:21:490ms: R CMD Sweave newfile1.Rnw
 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

 it tries to launch linux shell, which is not going to work on windows. ask 
 JMarc...

Thanks. Would Cygwin help? Or should I take some other route?
Liviu


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
  22:45:21:490ms: R CMD Sweave newfile1.Rnw
  22:45:21:700ms: 'sh' is not recognized as an internal or external command,
 
  it tries to launch linux shell, which is not going to work on windows. ask 
  JMarc...
 
 Thanks. Would Cygwin help? Or should I take some other route?

maybe, i know nothing about this stuff. you dont have linux on the second 
partion by chance? :)
also not necessarily lyx issue, because one can see that R is called just step 
before and the message
may come from it...

you can try to run R CMD Sweave newfile1.Rnw at the windows commandline to 
see what happens.

pavel


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda sa...@lyx.org wrote:
 maybe, i know nothing about this stuff. you dont have linux on the second 
 partion by chance? :)

I do. :) But for my sins I have to use SPSS on Windows, although I'd
like at the same time to prepare some (related) slides using LyX,
Sweave and Beamer (still hoping this combination works). So I'm now
going through the hell of installing and configuring R, LyX, Sweave
and a couple other related packages on Windows. Maybe should consider
virtualization?


 also not necessarily lyx issue, because one can see that R is called just 
 step before and the message
 may come from it...

 you can try to run R CMD Sweave newfile1.Rnw at the windows commandline to 
 see what happens.

I'll first wait if Jean-Marc has something to add. Regards
Liviu


 pavel




-- 
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: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
 On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda sa...@lyx.org wrote:
  maybe, i know nothing about this stuff. you dont have linux on the second 
  partion by chance? :)
 
 I do. :) But for my sins I have to use SPSS on Windows, although I'd
 like at the same time to prepare some (related) slides using LyX,
 Sweave and Beamer (still hoping this combination works). So I'm now
 going through the hell of installing and configuring R, LyX, Sweave
 and a couple other related packages on Windows. Maybe should consider
 virtualization?

wouldnt be simpler to run SPSS under wine?
http://appdb.winehq.org/objectManager.php?sClass=applicationiId=1028

pavel


2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
Dear all
I am trying to configure the LyX 2.0 Sweave module on Windows 7
(64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.

Using RedmondPath [1] I've added
C:\Program Files (x86)\R\R-2.11.1\bin

to the system path. Then I copied
c:\Program Files (x86)\R\R-2.11.1\share\texmf\Sweave.sty

to
c:\Program Files (x86)\MiKTeX 2.8\tex\latex\sweave\

and reconfigured LyX. Now LyX seems to find Sweave.sty, at least no
longer complains of not finding it. However, on a very simple LyX
Sweave file containing, in ERT,
<<>>=
2+2
@

I get the following error:
22:45:21:421ms: Previewing ...
22:45:21:433ms: (buffer-view pdf2)
22:45:21:490ms: R CMD Sweave "newfile1.Rnw"
22:45:21:700ms: 'sh' is not recognized as an internal or external command,
22:45:21:709ms: operable program or batch file.
22:45:22:018ms: Error previewing format: pdf2

I am not sure what to do about this. Any ideas? Perhaps some
documentation that I'm missing?

Thank you
Liviu

[1] http://sites.google.com/site/redmondlab/path


-- 
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: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
> 22:45:21:490ms: R CMD Sweave "newfile1.Rnw"
> 22:45:21:700ms: 'sh' is not recognized as an internal or external command,

it tries to launch linux shell, which is not going to work on windows. ask 
JMarc...

pavel


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:19 PM, Pavel Sanda  wrote:
> Liviu Andronic wrote:
>> 22:45:21:490ms: R CMD Sweave "newfile1.Rnw"
>> 22:45:21:700ms: 'sh' is not recognized as an internal or external command,
>
> it tries to launch linux shell, which is not going to work on windows. ask 
> JMarc...
>
Thanks. Would Cygwin help? Or should I take some other route?
Liviu


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
Liviu Andronic wrote:
> >> 22:45:21:490ms: R CMD Sweave "newfile1.Rnw"
> >> 22:45:21:700ms: 'sh' is not recognized as an internal or external command,
> >
> > it tries to launch linux shell, which is not going to work on windows. ask 
> > JMarc...
> >
> Thanks. Would Cygwin help? Or should I take some other route?

maybe, i know nothing about this stuff. you dont have linux on the second 
partion by chance? :)
also not necessarily lyx issue, because one can see that R is called just step 
before and the message
may come from it...

you can try to run R CMD Sweave "newfile1.Rnw" at the windows commandline to 
see what happens.

pavel


Re: 2.0 sweave module installation on windows?

2010-09-26 Thread Liviu Andronic
On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda  wrote:
> maybe, i know nothing about this stuff. you dont have linux on the second 
> partion by chance? :)
>
I do. :) But for my sins I have to use SPSS on Windows, although I'd
like at the same time to prepare some (related) slides using LyX,
Sweave and Beamer (still hoping this combination works). So I'm now
going through the hell of installing and configuring R, LyX, Sweave
and a couple other related packages on Windows. Maybe should consider
virtualization?


> also not necessarily lyx issue, because one can see that R is called just 
> step before and the message
> may come from it...
>
> you can try to run R CMD Sweave "newfile1.Rnw" at the windows commandline to 
> see what happens.
>
I'll first wait if Jean-Marc has something to add. Regards
Liviu


> pavel
>



-- 
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: 2.0 sweave module installation on windows?

2010-09-26 Thread Pavel Sanda
> On Sun, Sep 26, 2010 at 11:35 PM, Pavel Sanda  wrote:
> > maybe, i know nothing about this stuff. you dont have linux on the second 
> > partion by chance? :)
> >
> I do. :) But for my sins I have to use SPSS on Windows, although I'd
> like at the same time to prepare some (related) slides using LyX,
> Sweave and Beamer (still hoping this combination works). So I'm now
> going through the hell of installing and configuring R, LyX, Sweave
> and a couple other related packages on Windows. Maybe should consider
> virtualization?

wouldnt be simpler to run SPSS under wine?
http://appdb.winehq.org/objectManager.php?sClass=application=1028

pavel