Re: [R] R and vim (gvim) on ubuntu

2009-03-07 Thread Andreas Christoffersen


 I'd recommend to use this script instead. It uses screen to
 communicate R and vim, it works well.
 http://www.vim.org/scripts/script.php?script_id=2551

 Best,
 - -Jose

 - --
 Jose Quesada, PhD.
 Max Planck Institute,
 Center for Adaptive Behavior and cognition,
 Berlin
 http://www.josequesada.name/

Hi Jose,
Thanks for that script. It works very well as a substitute/replacement for
r-plugin. Only two things:
1) I can't send selection of text? When I try with :VicleSend I get:
E481: No range allowed.
2) When I send the whole file to my rSession screen all the text disapears
from vim... I can of cause get i back with u- but still.

Hope you have a solution,
Sincerely

[[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.


[R] R and vim (gvim) on ubuntu

2009-03-06 Thread achristoffersen

Dear all -
I do fret this to be a revealing beginner question - fortunately, this
mailing list have been good to me in the paste .-)

I am looking for a good R editor/environment in ubuntu. To that end, I have
decided to dive into gvim as the modality offered here seems to make sense
for editing.

I want to use Johannes Ranke's vim r-plugin, but I can't make it work.

I have the plugin installed, and this confirmed vim-addons
I set the new file to r :set ft=r
I open a terminal and start R R
Then when I press F2 in vim - nothing happens (some text flashes at the
botom of the screen - but I can't read it. It's not an error messages
though)
when I try to run an R command eg, x - rnorm(100,10,5) vim returns this
error:
~/.pipe E212: can't open file for wirting

What have I done wrong? I suspect maybe it's got something to do the
funnel.pl  - but I have installed the script from Johannes Ranke's
repository - so there should be no need to install funnel.pl?

Any help much appreciated

Sincerely, Andreas
-- 
View this message in context: 
http://www.nabble.com/R-and-vim-%28gvim%29-on-ubuntu-tp22377215p22377215.html
Sent from the R help mailing list archive at Nabble.com.

__
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] R and vim (gvim) on ubuntu

2009-03-06 Thread Jose Quesada
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
 when I try to run an R command eg, x - rnorm(100,10,5) vim returns this
 error:
 ~/.pipe E212: can't open file for wirting

Hi Andreas,

I'd recommend to use this script instead. It uses screen to
communicate R and vim, it works well.
http://www.vim.org/scripts/script.php?script_id=2551

Best,
- -Jose

- --
Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and cognition,
Berlin
http://www.josequesada.name/  
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iQIVAwUBSbG4b2MobUVGH+HKAQLovRAAv/X2tRiZwRB6m+MCLG1wuBDyR5mVDmIH
Ox+yrWxusxS+5ezHjasR9usVsF6PxN7C+mK9zdeFQhxrO93F8dDsCvW1B+Qq51f4
s6+lY9pPmn7SKTfIpr6PlkvLVf38y++yMLvqMCnXfu+PXENe6degY+KEtykCbQDa
/gtE00zu/RYY5VslJj3/DQncJjBR7zvmyDkVTKZA7j4BTKlP6N48JDRgjd1IThrd
oyUVV4JM87Sy/1rqx1/WXVV6F+9fcmRV/nF9RWjFyNaT8ILlNlrhHR6EtDj8mz0h
vUs831YxUWu4o9aaioZsbMNAFQRX9uyUf+LjXj7TyRlznJgQ7ih+HJmOb7/dJD4d
vQpgFQUNU31+oYwk75zvtO8tSqNsUp5qHBaZ8dSZjCEoSGARSRukhtyfLK92VrCz
2J9aSajOFUZ4/HKsu+1TJhYjOcZXgFXJo8qUQPKBt973t3N7lvIlE9/F/rq7u8Si
eC5tyrm6LyUNXKKbjaS9jOyXBWfI+P3zj+i3Qo/2nmetegtmgNxYuTJlu8DFtiik
gPS+BDXycrw2f8jOOJxZJ/25nsynTFQh6rAy89ZAu7GqeVFsJlwe5Gh7M64xAflG
vhmnpESTFhVEGxu+CC71/PO1imbd69WDE69drF9UxTHQ7Bp6mGhI4E/1+0uXgCfN
6fJVnAMdJ9w=
=iPvx
-END PGP SIGNATURE-

__
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.