[R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread Christian Salas
Using Tinn-R (in windows) is possible to run latex and R from the same 
editor, which was great. Now, I am using Ubuntu-linux, which has been 
better than WinXP. Currently, I am using Emacs (and then install ESS) 
for running LaTeX and R from a same editor-program (like i was doing 
with Tinn-R in windows). Nevertheless, and even though i have been using 
Emacs for almost 2 years, it is not as friendly as i would like.
I was wondering if you know of a linux editor that is able to run R and 
compile LaTeX files from it.

Please let me know

---
Christian SalasE-mail:[EMAIL PROTECTED]
PhD studenthttp://environment.yale.edu/salas
School of Forestry & Environmental Studies Tel: +1-(203)-432 5126
Yale UniversityFax:+1-(203)-432 3809
360 Prospect StOffice: Room 35, Marsh Hall
New Haven, CT 06511-2189
USA

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Linux editor for R+LaTeX, but not Emacs

2007-10-11 Thread Albrecht, Dr. Stefan (APEP)
Dear Christian,
 
maybe the Eclipse plug-in for R http://www.walware.de/goto/statet is ok for 
you. I have recently looked at it more closely and find it pretty good. It only 
lacks an outline and symbolic debugging (besides profiling) to be close to 
perfect.
 
There are plug-ins for many other languages for Eclipse, among them also for 
Latex, although I am not much familiar with it. Furthermore, Eclipse is 
cross-platform, so it should also work with Unix.
S-Plus has also written a plug-in for Eclipse which is a clear indication of 
the quality and power of this very versatile IDE.
 
Best regards,
Stefan
 

Dr. Stefan Albrecht, CFA
Allianz Private Equity Partners GmbH
Königinstr. 19 | 80539 Munich | Germany

Phone: +49.(0)89.3800.18317
Fax: +49.(0)89.3800.818317
EMail: [EMAIL PROTECTED]  
Web: www.apep.com  


Allianz Private Equity Partners GmbH | Geschäftsführung: Wan Ching Ang, Karl 
Ralf Jung
Sitz der Gesellschaft: München | Registergericht: München HRB 126221 | 
Ust-ID-Nr.: DE 813 264 786



[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread Dylan Beaudette
On Friday 05 October 2007, Christian Salas wrote:
> Using Tinn-R (in windows) is possible to run latex and R from the same
> editor, which was great. Now, I am using Ubuntu-linux, which has been
> better than WinXP. Currently, I am using Emacs (and then install ESS)
> for running LaTeX and R from a same editor-program (like i was doing
> with Tinn-R in windows). Nevertheless, and even though i have been using
> Emacs for almost 2 years, it is not as friendly as i would like.
> I was wondering if you know of a linux editor that is able to run R and
> compile LaTeX files from it.
>
> Please let me know

In linux I prefer:

Kile for Latex
Kate / Kwrite for R

cheers,

Dylan


> ---
> Christian SalasE-mail:[EMAIL PROTECTED]
> PhD studenthttp://environment.yale.edu/salas
> School of Forestry & Environmental Studies Tel: +1-(203)-432 5126
> Yale UniversityFax:+1-(203)-432 3809
> 360 Prospect StOffice: Room 35, Marsh Hall
> New Haven, CT 06511-2189
> USA
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html and provide commented, minimal,
> self-contained, reproducible code.



-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread Christian Salas
hey dylan,
but i am looking for only one editor that is able to run R and also be 
able to compile Latex files (like Emacs but i don't like too much emacs)

---
Christian SalasE-mail:[EMAIL PROTECTED]
PhD studenthttp://environment.yale.edu/salas
School of Forestry & Environmental Studies Tel: +1-(203)-432 5126
Yale UniversityFax:+1-(203)-432 3809
360 Prospect StOffice: Room 35, Marsh Hall
New Haven, CT 06511-2189
USA
---



Dylan Beaudette wrote:
> On Friday 05 October 2007, Christian Salas wrote:
>> Using Tinn-R (in windows) is possible to run latex and R from the same
>> editor, which was great. Now, I am using Ubuntu-linux, which has been
>> better than WinXP. Currently, I am using Emacs (and then install ESS)
>> for running LaTeX and R from a same editor-program (like i was doing
>> with Tinn-R in windows). Nevertheless, and even though i have been using
>> Emacs for almost 2 years, it is not as friendly as i would like.
>> I was wondering if you know of a linux editor that is able to run R and
>> compile LaTeX files from it.
>>
>> Please let me know
> 
> In linux I prefer:
> 
> Kile for Latex
> Kate / Kwrite for R
> 
> cheers,
> 
> Dylan
> 
> 
>> ---
>>  Christian SalasE-mail:[EMAIL PROTECTED]
>> PhD studenthttp://environment.yale.edu/salas
>> School of Forestry & Environmental Studies Tel: +1-(203)-432 5126
>> Yale UniversityFax:+1-(203)-432 3809
>> 360 Prospect StOffice: Room 35, Marsh Hall
>> New Haven, CT 06511-2189
>> USA
>>
>> __
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html and provide commented, minimal,
>> self-contained, reproducible code.
> 
> 
>

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread Christian Salas
hi ScionForbai

yes i know auctex, but i do not know Kate, as I mentioned, I compile 
LatEx documents from Emacs and also run R from it (thanks to ESS).

Regarding this that you said
 > in the built-in terminal on the lower part of the screen. I use the
 > mouse to copy/paste lines from a script to the R command line. It's
 > not a keyboard-only solution (kate lacks the facilities that emacs

is something that I would not like of Kate, therefore not with much 
encourage to try Kate.

I want something like Emacs (of course including auctex and ess), but 
not Emacs. Something like Tinn-R [http://www.sciviews.org/Tinn-R/] is 
the best solution, as far as I know for it, unfortunately is only 
available for Windows.


---
Christian SalasE-mail:[EMAIL PROTECTED]
PhD studenthttp://environment.yale.edu/salas
School of Forestry & Environmental Studies Tel: +1-(203)-432 5126
Yale UniversityFax:+1-(203)-432 3809
360 Prospect StOffice: Room 35, Marsh Hall
New Haven, CT 06511-2189
USA
---



Scionforbai wrote:
>> I was wondering if you know of a linux editor that is able to run R and
>> compile LaTeX files from it.
> 
> I assume you already know auctex for emacs.
> Well, currently I use emacs+auctex for latex and kate for R. ess
> doesn't satisfy me, and I find R processes much slower when launched
> within emacs. kate has syntax highlighting for R scripts and I run R
> in the built-in terminal on the lower part of the screen. I use the
> mouse to copy/paste lines from a script to the R command line. It's
> not a keyboard-only solution (kate lacks the facilities that emacs
> provides, in this matter), but it works great.
> 
> ScionForbai

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread Scionforbai
> I was wondering if you know of a linux editor that is able to run R and
> compile LaTeX files from it.

I assume you already know auctex for emacs.
Well, currently I use emacs+auctex for latex and kate for R. ess
doesn't satisfy me, and I find R processes much slower when launched
within emacs. kate has syntax highlighting for R scripts and I run R
in the built-in terminal on the lower part of the screen. I use the
mouse to copy/paste lines from a script to the R command line. It's
not a keyboard-only solution (kate lacks the facilities that emacs
provides, in this matter), but it works great.

ScionForbai

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread Roland Rau
Christian Salas wrote:
> I want something like Emacs (of course including auctex and ess), but 
> not Emacs. Something like Tinn-R [http://www.sciviews.org/Tinn-R/] is 
> the best solution, as far as I know for it, unfortunately is only 
> available for Windows.

XEmacs? :-)

If you don't want Emacs, it is probably worth to try vi. I think I read 
somewhere about an R plugin and it should support LaTeX as well.

HTH,
Roland

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread Liviu Andronic
On 10/5/07, Christian Salas <[EMAIL PROTECTED]> wrote:
> I was wondering if you know of a linux editor that is able to run R and
> compile LaTeX files from it.

Well, there is Winefish for LaTeX and Bluefish for R. The former is
based on the latter. Not exactly one editor, but you may be interested
in looking at them both. Maybe they have plugins or something.

Regards,
Liviu

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread Marc Schwartz
On Fri, 2007-10-05 at 22:09 +0200, Liviu Andronic wrote:
> On 10/5/07, Christian Salas <[EMAIL PROTECTED]> wrote:
> > I was wondering if you know of a linux editor that is able to run R and
> > compile LaTeX files from it.
> 
> Well, there is Winefish for LaTeX and Bluefish for R. The former is
> based on the latter. Not exactly one editor, but you may be interested
> in looking at them both. Maybe they have plugins or something.
> 
> Regards,
> Liviu

The only thing that Bluefish supports is syntax highlighting for R code.
It does not support the submission of the code to an R process, though
you can of course C&P to a console session running R or source() the
file. Nor does it support things like tab completion and many other
functions that make an editor like Emacs with ESS efficient for R.

I wrote the initial syntax highlighting templates for R in Bluefish four
or five years ago, when I was looking for an editor on Linux that
supported anti-aliased fonts. It was one of very few at the time that
did.

Even gedit, the default GNOME text editor, has R syntax highlighting
now. Syntax highlighting is only part of the battle in looking for a
more productive environment however.

I switched over completely to Emacs/ESS when better fonts (ie.
Bitstream) became available and I have not looked back since. I now use
Emacs 23 with ESS, Auctex, the Emacs Code Browser and other functions
(eg. gnus, Org-mode, etc.) on Fedora.

I will acknowledge bias, but I don't think that you will find a more
productive environment for R coding than the combination of Emacs and
ESS.

HTH,

Marc Schwartz

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread jiho

On 2007-October-05  , at 18:56 , Christian Salas wrote:
> Using Tinn-R (in windows) is possible to run latex and R from the same
> editor, which was great. Now, I am using Ubuntu-linux, which has been
> better than WinXP. Currently, I am using Emacs (and then install ESS)
> for running LaTeX and R from a same editor-program (like i was doing
> with Tinn-R in windows). Nevertheless, and even though i have been  
> using
> Emacs for almost 2 years, it is not as friendly as i would like.
> I was wondering if you know of a linux editor that is able to run R  
> and
> compile LaTeX files from it.

I would look for an editor with scripting capabilities in which case  
sending the selection/current line to a terminal and running latex on  
the current file are really easy. Then if you want special features  
such as snippets, auto-completion and all you should probably keep a  
dedicated editor.
I am using TextMate on OS X currently and find it very powerful in  
combination with a plain old terminal[1]. An "equivalent" of TextMate  
on Linux could be Scribes:
http://scribes.sourceforge.net/
I don't know wether it has some functions designed explicitly for R  
or LaTeX but it is extensible and chances are that people already  
wrote scripts for you to use.
I would be interested in knowing what you find, since I essentially  
have the same needs and stayed on OS X in great part because of  
TextMate. I would be happy to find a linux replacement and ditch my  
half-bitten apple for a penguin.

[1] http://jo.irisson.free.fr/?p=32

JiHO
---
http://jo.irisson.free.fr/

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-05 Thread Richard M. Heiberger
What are your criteria for friendliness?  What features are you missing in
emacs
that you wish were there?  Are these ESS features or LaTeX related features?

Rich

-Original Message-

want something like Emacs (of course including auctex and ess), but 
not Emacs. Something like Tinn-R [http://www.sciviews.org/Tinn-R/] is 
the best solution, as far as I know for it, unfortunately is only 
available for Windows.



---
Christian SalasE-mail:[EMAIL PROTECTED]
PhD studenthttp://environment.yale.edu/salas
School of Forestry & Environmental Studies Tel: +1-(203)-432 5126
Yale UniversityFax:+1-(203)-432 3809
360 Prospect StOffice: Room 35, Marsh Hall
New Haven, CT 06511-2189
USA

---

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-06 Thread Scionforbai
Hi,

> What features are you missing in emacs that you wish were there?  Are
> these ESS features or LaTeX related features?

is it only me or has anyone else the problem that running an R process
within emacs is way much slower than in a regular terminal/console?
(linux here)

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-06 Thread Scionforbai
> kate infact allows you to pipe commands to console (tools->pipe to
> console). I have pretty much the same setup as you. But I have defined
> a shortcut for piping the commands to console in kate. So I just
> have to highlight commands using shift and arrow keys, and press F4
> (my shortcut) and the commands go to an R process running in the
> console. A perfect keyboard-only solution.

Yes, I know, I defined ctrl+shift+c ;)  What I meant is that you
cannot switch to the console to use R interactively, and then come
back to the text file again, without using the mouse. I often switch
between the R command line and the text where I save the commands and
the functions, and I need to touch the mouse for that. In emacs+ess
this is straightforward, keyboard-only.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-06 Thread Dirk Eddelbuettel

On 6 October 2007 at 11:01, Scionforbai wrote:
| > What features are you missing in emacs that you wish were there?  Are
| > these ESS features or LaTeX related features?
| 
| is it only me or has anyone else the problem that running an R process
| within emacs is way much slower than in a regular terminal/console?
| (linux here)

It's just you, and if you think some more about it, you'll see why we are all
grinning.  [ Hint: it can't be slower, outside of ridiculous corner sitations
where there isn't enough ram for Emacs and R at the same time. Or foobared
setups.  In all normal situations, it'll be the same. ]

But the proof of the pudding is in the eating. So here from the console:

> system.time(replicate(100, svd(matrix(rnorm(100*100), ncol=100
   user  system elapsed
  2.792   0.048   2.842

and cut&pasted from ESS

> system.time(replicate(100, svd(matrix(rnorm(100*100), ncol=100
   user  system elapsed 
  2.736   0.048   2.787 
> 

(Heaven's, ESS is even faster :)

Output to the console, ie the Emacs buffer, may appear slower, or be
slower. I don't care. I try not to print that many line. But then you get
goodies like C-c C-o to 'eat up' output you didn't mean to flood the console
with.  

Seriously, outside of spreading R on sliced bread, there is no better way to
use it than with ESS.

Dirk

-- 
Three out of two people have difficulties with fractions.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-06 Thread deepayan . sarkar
On 10/6/07, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote:
>
> On 6 October 2007 at 11:01, Scionforbai wrote:
> | > What features are you missing in emacs that you wish were there?  Are
> | > these ESS features or LaTeX related features?
> |
> | is it only me or has anyone else the problem that running an R process
> | within emacs is way much slower than in a regular terminal/console?
> | (linux here)
>
> It's just you, and if you think some more about it, you'll see why we are
> all
> grinning.  [ Hint: it can't be slower, outside of ridiculous corner
> sitations
> where there isn't enough ram for Emacs and R at the same time. Or foobared
> setups.  In all normal situations, it'll be the same. ]

Actually, copying multi-line R code (e.g. C-c C-r) is way slower with
ESS if you use Emacs22 (and its derivatives such as AquaMacs). Things
are perfect with Emacs21 though (and I'm sticking with it). Maybe that
explains the discrepancy.

-Deepayan

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-06 Thread Marc Schwartz
On Sat, 2007-10-06 at 13:42 -0500, Dirk Eddelbuettel wrote:
> On 6 October 2007 at 11:01, Scionforbai wrote:
> | > What features are you missing in emacs that you wish were there?  Are
> | > these ESS features or LaTeX related features?
> | 
> | is it only me or has anyone else the problem that running an R process
> | within emacs is way much slower than in a regular terminal/console?
> | (linux here)
> 
> It's just you, and if you think some more about it, you'll see why we are all
> grinning.  [ Hint: it can't be slower, outside of ridiculous corner sitations
> where there isn't enough ram for Emacs and R at the same time. Or foobared
> setups.  In all normal situations, it'll be the same. ]
> 
> But the proof of the pudding is in the eating. So here from the console:
> 
> > system.time(replicate(100, svd(matrix(rnorm(100*100), ncol=100
>user  system elapsed
>   2.792   0.048   2.842
> 
> and cut&pasted from ESS
> 
> > system.time(replicate(100, svd(matrix(rnorm(100*100), ncol=100
>user  system elapsed 
>   2.736   0.048   2.787 
> > 
> 
> (Heaven's, ESS is even faster :)
> 
> Output to the console, ie the Emacs buffer, may appear slower, or be
> slower. I don't care. I try not to print that many line. But then you get
> goodies like C-c C-o to 'eat up' output you didn't mean to flood the console
> with.  
> 
> Seriously, outside of spreading R on sliced bread, there is no better way to
> use it than with ESS.

I nominate that last line for a fortune candidate...  :-)

Regards,

Marc

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-07 Thread Patrick Connolly
On Sat, 06-Oct-2007 at 11:01AM +0200, Scionforbai wrote:

|> Hi,
|> 
|> > What features are you missing in emacs that you wish were there?  Are
|> > these ESS features or LaTeX related features?
|> 
|> is it only me or has anyone else the problem that running an R process
|> within emacs is way much slower than in a regular terminal/console?
|> (linux here)

I think it's only you.  R certainly takes longer to start within ESS
than from the command line, but once it's running, there's no
difference that's had an effect on me.


-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___Patrick Connolly   
 {~._.~} Great minds discuss ideas
 _( Y )_Middle minds discuss events 
(:_~*~_:)Small minds discuss people  
 (_)-(_)   . Anon
  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-07 Thread Frede Aakmann Tøgersen
Have you ever considered using C-u C-c C-r instead of C-c C-r?
 
Best regards
 
Frede



Fra: [EMAIL PROTECTED] på vegne af [EMAIL PROTECTED]
Sendt: lø 06-10-2007 23:10
Til: Dirk Eddelbuettel
Cc: r-help@r-project.org
Emne: Re: [R] Linux editor for R+LaTeX, but not Emacs



On 10/6/07, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote:
>
> On 6 October 2007 at 11:01, Scionforbai wrote:
> | > What features are you missing in emacs that you wish were there?  Are
> | > these ESS features or LaTeX related features?
> |
> | is it only me or has anyone else the problem that running an R process
> | within emacs is way much slower than in a regular terminal/console?
> | (linux here)
>
> It's just you, and if you think some more about it, you'll see why we are
> all
> grinning.  [ Hint: it can't be slower, outside of ridiculous corner
> sitations
> where there isn't enough ram for Emacs and R at the same time. Or foobared
> setups.  In all normal situations, it'll be the same. ]

Actually, copying multi-line R code (e.g. C-c C-r) is way slower with
ESS if you use Emacs22 (and its derivatives such as AquaMacs). Things
are perfect with Emacs21 though (and I'm sticking with it). Maybe that
explains the discrepancy.

-Deepayan

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-07 Thread Deepayan Sarkar
On 10/7/07, Frede Aakmann Tøgersen <[EMAIL PROTECTED]> wrote:
> Have you ever considered using C-u C-c C-r instead of C-c C-r?

Yes (or equivalently (setq ess-eval-visibly-p nil)), and found that I
didn't like it much. In any case, I'm not looking for ugly
workarounds, I just wanted to point out that this could explain the
reported slowness.

-Deepayan

> Best regards
>
> Frede
>
> 
>
> Fra: [EMAIL PROTECTED] på vegne af [EMAIL PROTECTED]
> Sendt: lø 06-10-2007 23:10
> Til: Dirk Eddelbuettel
> Cc: r-help@r-project.org
> Emne: Re: [R] Linux editor for R+LaTeX, but not Emacs
>
>
>
> On 10/6/07, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote:
> >
> > On 6 October 2007 at 11:01, Scionforbai wrote:
> > | > What features are you missing in emacs that you wish were there?  Are
> > | > these ESS features or LaTeX related features?
> > |
> > | is it only me or has anyone else the problem that running an R process
> > | within emacs is way much slower than in a regular terminal/console?
> > | (linux here)
> >
> > It's just you, and if you think some more about it, you'll see why we are
> > all
> > grinning.  [ Hint: it can't be slower, outside of ridiculous corner
> > sitations
> > where there isn't enough ram for Emacs and R at the same time. Or foobared
> > setups.  In all normal situations, it'll be the same. ]
>
> Actually, copying multi-line R code (e.g. C-c C-r) is way slower with
> ESS if you use Emacs22 (and its derivatives such as AquaMacs). Things
> are perfect with Emacs21 though (and I'm sticking with it). Maybe that
> explains the discrepancy.
>
> -Deepayan
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-08 Thread Rainer M. Krug
Christian Salas wrote:
> Using Tinn-R (in windows) is possible to run latex and R from the same 
> editor, which was great. Now, I am using Ubuntu-linux, which has been 
> better than WinXP. Currently, I am using Emacs (and then install ESS) 
> for running LaTeX and R from a same editor-program (like i was doing 
> with Tinn-R in windows). Nevertheless, and even though i have been using 
> Emacs for almost 2 years, it is not as friendly as i would like.
> I was wondering if you know of a linux editor that is able to run R and 
> compile LaTeX files from it.
> 
> Please let me know

As nobody mentioned it so far: Eclipse is doing, as far as I remember, 
exactly what you are looking for: offering functionality for R and for 
LaTeX. But I didn't like it because it uses Java (I prefer to avoid Java 
- to much overhang for my taste) and the R-console was relatively 
unstable (but that was some time ago and I amusing emacs + ESS now...)

Rainer

> 
> ---
> Christian SalasE-mail:[EMAIL PROTECTED]
> PhD studenthttp://environment.yale.edu/salas
> School of Forestry & Environmental Studies Tel: +1-(203)-432 5126
> Yale UniversityFax:+1-(203)-432 3809
> 360 Prospect StOffice: Room 35, Marsh Hall
> New Haven, CT 06511-2189
> USA
> 
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-08 Thread Gregory. R. Warnes

I, personally, see tremendous slowdowns in XEmacs responsiveness when  
the buffer gets large, probably due to font-lock pretty-printing  
stuff.  Since ESS can't / doesn't submit the next command until the  
fontification is done, things can slow down by a lot.

-G


On Oct 7, 2007, at 4:24PM , Deepayan Sarkar wrote:

> On 10/7/07, Frede Aakmann Tøgersen <[EMAIL PROTECTED]> wrote:
>> Have you ever considered using C-u C-c C-r instead of C-c C-r?
>
> Yes (or equivalently (setq ess-eval-visibly-p nil)), and found that I
> didn't like it much. In any case, I'm not looking for ugly
> workarounds, I just wanted to point out that this could explain the
> reported slowness.
>
> -Deepayan
>
>> Best regards
>>
>> Frede
>>
>> 
>>
>> Fra: [EMAIL PROTECTED] på vegne af  
>> [EMAIL PROTECTED]
>> Sendt: lø 06-10-2007 23:10
>> Til: Dirk Eddelbuettel
>> Cc: r-help@r-project.org
>> Emne: Re: [R] Linux editor for R+LaTeX, but not Emacs
>>
>>
>>
>> On 10/6/07, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote:
>>>
>>> On 6 October 2007 at 11:01, Scionforbai wrote:
>>> | > What features are you missing in emacs that you wish were  
>>> there?  Are
>>> | > these ESS features or LaTeX related features?
>>> |
>>> | is it only me or has anyone else the problem that running an R  
>>> process
>>> | within emacs is way much slower than in a regular terminal/ 
>>> console?
>>> | (linux here)
>>>
>>> It's just you, and if you think some more about it, you'll see  
>>> why we are
>>> all
>>> grinning.  [ Hint: it can't be slower, outside of ridiculous corner
>>> sitations
>>> where there isn't enough ram for Emacs and R at the same time. Or  
>>> foobared
>>> setups.  In all normal situations, it'll be the same. ]
>>
>> Actually, copying multi-line R code (e.g. C-c C-r) is way slower with
>> ESS if you use Emacs22 (and its derivatives such as AquaMacs). Things
>> are perfect with Emacs21 though (and I'm sticking with it). Maybe  
>> that
>> explains the discrepancy.
>>
>> -Deepayan
>>
>> __
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting- 
>> guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting- 
> guide.html
> and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-09 Thread Scionforbai
>>> is it only me or has anyone else the problem that running an R
>>> process within emacs is way much slower than in a regular terminal/
>>> console?

>> It's just you, and if you think some more about it, you'll see
>> why we are all grinning.  [ Hint: it can't be slower, outside of
>> ridiculous corner sitations

> I, personally, see tremendous slowdowns in XEmacs responsiveness when
> the buffer gets large, probably due to font-lock pretty-printing
> stuff.  Since ESS can't / doesn't submit the next command until the
> fontification is done, things can slow down by a lot.

Ok, so I am not the only one. Yes, I am using an old laptop with just
256M of ram, archlinux on it. Ess output it's just too slow, it gets
me nervous. Is there a way to disable the syntax highlighting in the R
buffer? Any other hint on what could improve my emacs+ess
responsiveness?

Actually, it is the same with auctex compiling latex documents: C-c
C-c RET takes a little more time than a simple pdflatex run, and way
more when the log buffer is opened.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-09 Thread Ramon Diaz-Uriarte
On 10/9/07, Scionforbai <[EMAIL PROTECTED]> wrote:
> >>> is it only me or has anyone else the problem that running an R
> >>> process within emacs is way much slower than in a regular terminal/
> >>> console?
>
> >> It's just you, and if you think some more about it, you'll see
> >> why we are all grinning.  [ Hint: it can't be slower, outside of
> >> ridiculous corner sitations
>
> > I, personally, see tremendous slowdowns in XEmacs responsiveness when
> > the buffer gets large, probably due to font-lock pretty-printing
> > stuff.  Since ESS can't / doesn't submit the next command until the
> > fontification is done, things can slow down by a lot.
>
> Ok, so I am not the only one. Yes, I am using an old laptop with just
> 256M of ram, archlinux on it. Ess output it's just too slow, it gets
> me nervous. Is there a way to disable the syntax highlighting in the R
> buffer? Any other hint on what could improve my emacs+ess
> responsiveness?
>


Maybe this is trivial and/or obvious, but what I do is delete the old
output from the buffer.

So, yes, I see a slow down (with Emacs + ESS) when I have several tens
of thousands of output lines (often the result of printing out
something I really did not want to see). But I've never noticed this
slow down when I refrain from filling up the buffer with tens of
thousands of lines.


R.

> Actually, it is the same with auctex compiling latex documents: C-c
> C-c RET takes a little more time than a simple pdflatex run, and way
> more when the log buffer is opened.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
Ramon Diaz-Uriarte
Statistical Computing Team
Structural Biology and Biocomputing Programme
Spanish National Cancer Centre (CNIO)
http://ligarto.org/rdiaz

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Linux editor for R+LaTeX, but not Emacs

2007-10-09 Thread Patrick Connolly
On Tue, 09-Oct-2007 at 11:28AM +0200, Scionforbai wrote:

[...]

|> Ok, so I am not the only one. Yes, I am using an old laptop with just
|> 256M of ram, archlinux on it. Ess output it's just too slow, it gets
|> me nervous. Is there a way to disable the syntax highlighting in the R

In my version of Emacs, I need to use this line in .emacs to switch it on:

(global-font-lock-mode t)

So there must be something similar to switch it off.  That would be
general, so it would be off everywhere.  For a window specific effect,
the first option in the Options menu could be used.

HTH


-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___Patrick Connolly   
 {~._.~} Great minds discuss ideas
 _( Y )_Middle minds discuss events 
(:_~*~_:)Small minds discuss people  
 (_)-(_)   . Anon
  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.