search for: editor's

Displaying 20 results from an estimated 6226 matches for "editor's".

Did you mean: editor
2016 Jul 06
4
Permanently change default virsh editor
Hello, I found in the docs that I can change the editor I use on a per vm bases with the following: *EDITOR=$your-favorite-editor virsh edit $your-vm-name* But how do I change it permanently so when I run: *virsh edit $your-vm-name* It defaults to my favorite editor (vim)? Ref: http://wiki.libvirt.org/page/FAQ
2003 Oct 02
8
r editors
Hi , I am programming on a windows system and have problems using notepad which is my main editor.Each time I try to open the editor from the R IDE, R crashes. So I always have to copy my codes from notepad and paste in R to run them. CAn someone tell me if I am doing anything wrong or is there a better editor(freeware) which I could get. thanks cilver ===== ===================== Sylvie B. For...
2005 Nov 26
1
Using an editor with R
Hello, I changed the setting in options$editor to allow me to use my favorite editor. In R 2.1.1 on Windows XP, I entered at the command line: options(editor="c:\\program files\\winedit\\winedit.exe") When I edited a function, say test, using fix(test), the editor opened perfectly. But, when I saved the file and closed the editor,...
2011 Sep 20
4
open source editor for r for beginners
Hello all, I am looking for an editor for R which has got functions beyond the normal R editor that is included in the program. I had a look at VIM but I think it's difficult if you are just starting programming. Could anyone recommend an editor that is suitable for beginners? Thanks for your help. Marion [[alternative HTML v...
2010 Mar 01
3
why a text editor?
Dear users, From the recent discussion, I've wondered whether a text editor would be useful. However, I couldn't find a good explanation of what it is used for. For now, under Windows XP, I use the standard R Editor to write and run scripts. What can I do more with a text editor? It is worth using it? Thanks in advance for your advice. Regards, Ivan
2024 Dec 10
2
Is it advisable/possible to default on Linux to an EDITOR that actually exists?
It looks like R has defaulted to using 'vi' for file.edit() (via EDITOR since ~24 years ago[1][2]. These days I think it is much more common to write code from lightweight environments, e.g. Docker files which strip all unnecessary commands. On such machines, it is not safe to assume 'vi' is installed, and it's not uncommon to encounter an issue like I did...
2008 Jul 30
1
setting editor environment variable EDITOR either when configuring R for installation or in .Rprofile
I'm running R on Linux and use emacs as my editor. When doing "edit(vignette(foo.vignette))" I would like to invoke emacs rather than the default vi. I am able to manually set this by editing $R_HOME/etc/Renviron but would like to avoid doing this with each install. I assume this can be accomplished with a flag to .configure or in .Rprof...
2004 Apr 07
2
Re: [R-gui] Editor in R
S??ren H??jsgaard wrote: > Dear all, > I have used R (Windows) for teaching statistics to agronomists and biologists - and they love R!! Yet there is one immediate short coming of R: The lack of an integrated editor. A plain editor (e.g. similar to notepad in windows) in which people can write their code, highlight the piece of code they wish to "submit" and then press a single key to have it pasted into R. > > For the audience I have in mind, using emacs is way too complicated. WinEdt with t...
2024 Dec 11
1
Is it advisable/possible to default on Linux to an EDITOR that actually exists?
Thanks Simon, I didn't know that! That's definitely a compelling reason to leave the current default untouched and to eschew any finicky attempts to find back-up editors. Still, I think there is benefit from checking quickly that 'editor' exists at run-time in file.edit() -- the current failure mode is unusual (a shell error & R warning). Offering an R error would also benefit, e.g., users with a typo in their custom EDITOR setting: $ EDITOR=eamcs R...
2024 Dec 10
1
Is it advisable/possible to default on Linux to an EDITOR that actually exists?
...ather like a 'compile-time versus run-time' question to me. If you look at etc/Renviron.in in the R sources you see a number of choices, some of them with configure-time determined values (which I tend to override with values for the Debian package). For 'EDIT' it is ## Default editor EDITOR=${EDITOR-${VISUAL-vi}} giving us two env vars to override eg in 'degenerate' situations such as the forcefully minimized docker setup without other commands. Otherwise, a generalization that would be possible might be to do something similar to 'R CMD javareconf' to allo...
2011 Jan 31
2
R, Cygwin, & Vi
Hi all, I've been a happy user of R under cygwin for a number of years now. I prefer the bash interface and readline history, and I find Vi to be the most efficient editor. Recently, the edit command has started giving me errors: > edit(file='foo.R') Error in edit(name, file, title, editor) : unable to run editor 'vi' Vi works from bash shell and is in the path. 'vi' is a symbolic link to the executable, so I tried specifying the full pa...
2005 Nov 25
4
Rich Text Editor
I know this doesn''t necessarily fall under AJAX, but does anyone have any plans of donating a RTE (Rich Text Editor) plugin to scriptaculous?
2016 Dec 28
2
how to modified virsh's editor forever?
Hi: when I modify VM's xml file,the editor is VI,how to set to other editor forever? Now I can change the editor to VIM from VI with setting environment EDITOR=$my-favorite-editor, but after rebooting,it is VI again. thanks
2010 Feb 24
3
Mouse wheel events in a grid cell editor?
I''m trying to do some advanced editing using Grids. I''ve created my own editors and updating view and model both works fine so far. Thanks to whoever made this possible. I like wxRuby more each day! Now I''d like to catch mousewheel events in order to increment/decrement a grid cell editor. I''ve tried installing a handler in begin_edit of my editor and remo...
2005 Apr 26
11
good editor for R sources ?
Dear all, (Sorry if the question has already been answered.) Could someone please suggest a good text editor for writing R sources ? (I know emacs exists ... but I find it a bit heavy). I use crimson (http://www.crimsoneditor.com) which is small and simple, but the R syntax seems not to be supported. Thanks for any advice
2011 Jan 28
6
R-/Text-editor for Windows?
Tinn-R (http://www.sciviews.org/Tinn-R/) is one of the topmost suggestions when googling an R-(text-)editor for Windows. However, to me it appears dissappointing that Tinn-R does not handle utf-8 (mac-roman, or any other) encoded R-scripts or, in general, text files. Besides Emacs and the R built-in editor, could you recommend a good editor for Windows, even some commmercial for a small price? (For...
2005 Dec 22
6
Scriptaculous and Prototype based Rich Text Editor
Hi Guys, I'm currently using the Dojo Rich text editor on my site https://wideword.net but am not 100% happy with it as I'm a prototype kind of guy. So I started writing this Rich Text Editor the other day on an experiment. I used the In Place Editor as a template for it and have gotten it to more or less work under IE and Gecko. Unfortunately it...
2007 Dec 09
3
editor under MAC system
Dear R-user; I recently switched from PC to MAC. Is there a compatible editor as Win-editor with package RWinEdit for MAC? Thanks Yihsu Chen [[alternative HTML version deleted]]
2018 Aug 28
1
"utils::file.edit" does not understand "editor" with additional arguments
I am using Sublime Text as my editor. If I run `subl -n .Rprofile` in bash, a file would be opened in a new window. Back in R, if I run this > file.edit(".Rprofile", editor="'subl -n'") sh: 'subl -n': command not found Warning message: error in running command However, the interesting bit happ...
2003 Mar 24
9
Scripting with an external editor
I've had time to return to the "external editor" project. The following function does almost what I want, which is to allow an external editor to feed command lines to R. ext.editor<-function(editor) { ext.input<-pipe(editor,"r") eval(parse(ext.input)) close(ext.input) } While the description of parse() indicates that...