Re: Sweave and external R code editor?

2011-03-30 Thread Liviu Andronic
On Wed, Mar 30, 2011 at 2:25 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 I am thinking of using Lyx with sweave, but there is one thing I am
 wondering about whioch would be important for using it for longer
 projects: is there a possibility to define an external editor (e.g.
 amacs with ESS or gedit) for code blocks, so that I would have syntax
 highlighting et al. when editing code blocks in the external editor?

Yup, I hit this wall, too, once [1]. At that time there were two ideas
floating:
- allow external editing ERT insets with a random text editor
- integrate with QScintilla

Both are probably worth of a bug report and perhaps of a GSoC project.
Otherwise we're only missing someone interested in implementing this.

Cheers
Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159200.html


Re: Sweave and external R code editor?

2011-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/11 14:38, Liviu Andronic wrote:
 On Wed, Mar 30, 2011 at 2:25 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 I am thinking of using Lyx with sweave, but there is one thing I am
 wondering about whioch would be important for using it for longer
 projects: is there a possibility to define an external editor (e.g.
 amacs with ESS or gedit) for code blocks, so that I would have syntax
 highlighting et al. when editing code blocks in the external editor?

 Yup, I hit this wall, too, once [1]. At that time there were two ideas
 floating:
 - allow external editing ERT insets with a random text editor

This would be the best solution, as it would include all the flexibility
for the user to choose the editor of preference, and be usable fo all
kind of language types.

 - integrate with QScintilla

I would say second best, as it would only represent a subset of the
functionality of an external editor like for example emacs+ESS for R.

In general, I think the addition of an external editor feature for ert
boxes, would open many doors for LyX.

 
 Both are probably worth of a bug report and perhaps of a GSoC project.
 Otherwise we're only missing someone interested in implementing this.

Is there already a feature request for this?

Rainer

 
 Cheers
 Liviu
 
 [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159200.html


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2TJmgACgkQoYgNqgF2egpiDwCdGUqskzRke9yk07EUCq8uDjdZ
5w8AniU4Omk5gnVPdauMYposVJYPFI+G
=F1hc
-END PGP SIGNATURE-


Re: Sweave and external R code editor?

2011-03-30 Thread Liviu Andronic
On Wed, Mar 30, 2011 at 2:47 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 Both are probably worth of a bug report and perhaps of a GSoC project.
 Otherwise we're only missing someone interested in implementing this.

 Is there already a feature request for this?

No, not that I know of. I planned to do so, but it never got high
enough on my list. Cheers
Liviu

PS A perfect solution would be to provide both: QScintilla
integration and the possibility to edit externally :)


Re: Sweave and external R code editor?

2011-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/11 14:51, Liviu Andronic wrote:
 On Wed, Mar 30, 2011 at 2:47 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 Both are probably worth of a bug report and perhaps of a GSoC project.
 Otherwise we're only missing someone interested in implementing this.

 Is there already a feature request for this?

 No, not that I know of. I planned to do so, but it never got high
 enough on my list. Cheers
 Liviu
 
 PS A perfect solution would be to provide both: QScintilla
 integration and the possibility to edit externally :)

I have added one:

#7404 (Enable editing of ERT boxes in external editor)

Could you please check if you have anything to add? Thanks.

Cheers,

Rainer
- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2TL/wACgkQoYgNqgF2egpjtQCdH99WDFvXuwKX5E1BH/ulPUxO
aQQAnRpU85XpCNVSBQxZyJg+fnSPwD/C
=RxHA
-END PGP SIGNATURE-


Re: Sweave and external R code editor?

2011-03-30 Thread Liviu Andronic
On Wed, Mar 30, 2011 at 2:25 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 I am thinking of using Lyx with sweave, but there is one thing I am
 wondering about whioch would be important for using it for longer
 projects: is there a possibility to define an external editor (e.g.
 amacs with ESS or gedit) for code blocks, so that I would have syntax
 highlighting et al. when editing code blocks in the external editor?

Yup, I hit this wall, too, once [1]. At that time there were two ideas
floating:
- allow external editing ERT insets with a random text editor
- integrate with QScintilla

Both are probably worth of a bug report and perhaps of a GSoC project.
Otherwise we're only missing someone interested in implementing this.

Cheers
Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159200.html


Re: Sweave and external R code editor?

2011-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/11 14:38, Liviu Andronic wrote:
 On Wed, Mar 30, 2011 at 2:25 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 I am thinking of using Lyx with sweave, but there is one thing I am
 wondering about whioch would be important for using it for longer
 projects: is there a possibility to define an external editor (e.g.
 amacs with ESS or gedit) for code blocks, so that I would have syntax
 highlighting et al. when editing code blocks in the external editor?

 Yup, I hit this wall, too, once [1]. At that time there were two ideas
 floating:
 - allow external editing ERT insets with a random text editor

This would be the best solution, as it would include all the flexibility
for the user to choose the editor of preference, and be usable fo all
kind of language types.

 - integrate with QScintilla

I would say second best, as it would only represent a subset of the
functionality of an external editor like for example emacs+ESS for R.

In general, I think the addition of an external editor feature for ert
boxes, would open many doors for LyX.

 
 Both are probably worth of a bug report and perhaps of a GSoC project.
 Otherwise we're only missing someone interested in implementing this.

Is there already a feature request for this?

Rainer

 
 Cheers
 Liviu
 
 [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159200.html


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2TJmgACgkQoYgNqgF2egpiDwCdGUqskzRke9yk07EUCq8uDjdZ
5w8AniU4Omk5gnVPdauMYposVJYPFI+G
=F1hc
-END PGP SIGNATURE-


Re: Sweave and external R code editor?

2011-03-30 Thread Liviu Andronic
On Wed, Mar 30, 2011 at 2:47 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 Both are probably worth of a bug report and perhaps of a GSoC project.
 Otherwise we're only missing someone interested in implementing this.

 Is there already a feature request for this?

No, not that I know of. I planned to do so, but it never got high
enough on my list. Cheers
Liviu

PS A perfect solution would be to provide both: QScintilla
integration and the possibility to edit externally :)


Re: Sweave and external R code editor?

2011-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/11 14:51, Liviu Andronic wrote:
 On Wed, Mar 30, 2011 at 2:47 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 Both are probably worth of a bug report and perhaps of a GSoC project.
 Otherwise we're only missing someone interested in implementing this.

 Is there already a feature request for this?

 No, not that I know of. I planned to do so, but it never got high
 enough on my list. Cheers
 Liviu
 
 PS A perfect solution would be to provide both: QScintilla
 integration and the possibility to edit externally :)

I have added one:

#7404 (Enable editing of ERT boxes in external editor)

Could you please check if you have anything to add? Thanks.

Cheers,

Rainer
- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2TL/wACgkQoYgNqgF2egpjtQCdH99WDFvXuwKX5E1BH/ulPUxO
aQQAnRpU85XpCNVSBQxZyJg+fnSPwD/C
=RxHA
-END PGP SIGNATURE-


Re: Sweave and external R code editor?

2011-03-30 Thread Liviu Andronic
On Wed, Mar 30, 2011 at 2:25 PM, Rainer M Krug  wrote:
> I am thinking of using Lyx with sweave, but there is one thing I am
> wondering about whioch would be important for using it for longer
> projects: is there a possibility to define an external editor (e.g.
> amacs with ESS or gedit) for code blocks, so that I would have syntax
> highlighting et al. when editing code blocks in the external editor?
>
Yup, I hit this wall, too, once [1]. At that time there were two ideas
floating:
- allow external editing ERT insets with a random text editor
- integrate with QScintilla

Both are probably worth of a bug report and perhaps of a GSoC project.
Otherwise we're only missing someone interested in implementing this.

Cheers
Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159200.html


Re: Sweave and external R code editor?

2011-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/11 14:38, Liviu Andronic wrote:
> On Wed, Mar 30, 2011 at 2:25 PM, Rainer M Krug  wrote:
>> I am thinking of using Lyx with sweave, but there is one thing I am
>> wondering about whioch would be important for using it for longer
>> projects: is there a possibility to define an external editor (e.g.
>> amacs with ESS or gedit) for code blocks, so that I would have syntax
>> highlighting et al. when editing code blocks in the external editor?
>>
> Yup, I hit this wall, too, once [1]. At that time there were two ideas
> floating:
> - allow external editing ERT insets with a random text editor

This would be the best solution, as it would include all the flexibility
for the user to choose the editor of preference, and be usable fo all
kind of language types.

> - integrate with QScintilla

I would say second best, as it would only represent a subset of the
functionality of an external editor like for example emacs+ESS for R.

In general, I think the addition of an external editor feature for ert
boxes, would open many doors for LyX.

> 
> Both are probably worth of a bug report and perhaps of a GSoC project.
> Otherwise we're only missing someone interested in implementing this.

Is there already a feature request for this?

Rainer

> 
> Cheers
> Liviu
> 
> [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159200.html


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2TJmgACgkQoYgNqgF2egpiDwCdGUqskzRke9yk07EUCq8uDjdZ
5w8AniU4Omk5gnVPdauMYposVJYPFI+G
=F1hc
-END PGP SIGNATURE-


Re: Sweave and external R code editor?

2011-03-30 Thread Liviu Andronic
On Wed, Mar 30, 2011 at 2:47 PM, Rainer M Krug  wrote:
>> Both are probably worth of a bug report and perhaps of a GSoC project.
>> Otherwise we're only missing someone interested in implementing this.
>
> Is there already a feature request for this?
>
No, not that I know of. I planned to do so, but it never got high
enough on my list. Cheers
Liviu

PS A "perfect" solution would be to provide both: QScintilla
integration and the possibility to edit externally :)


Re: Sweave and external R code editor?

2011-03-30 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/11 14:51, Liviu Andronic wrote:
> On Wed, Mar 30, 2011 at 2:47 PM, Rainer M Krug  wrote:
>>> Both are probably worth of a bug report and perhaps of a GSoC project.
>>> Otherwise we're only missing someone interested in implementing this.
>>
>> Is there already a feature request for this?
>>
> No, not that I know of. I planned to do so, but it never got high
> enough on my list. Cheers
> Liviu
> 
> PS A "perfect" solution would be to provide both: QScintilla
> integration and the possibility to edit externally :)

I have added one:

#7404 (Enable editing of ERT boxes in external editor)

Could you please check if you have anything to add? Thanks.

Cheers,

Rainer
- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2TL/wACgkQoYgNqgF2egpjtQCdH99WDFvXuwKX5E1BH/ulPUxO
aQQAnRpU85XpCNVSBQxZyJg+fnSPwD/C
=RxHA
-END PGP SIGNATURE-