R
R-packages
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
The R Project SVN
R-packages
(root)
/
branches
/
MacGUI-2-x
/
NSString_RAdditions.m
– Rev 6453
Rev
Show changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
6453
4891 d 23 h
ripley
/branches/MacGUI-2-x/
branch
6070
5282 d 14 h
bibiko
/trunk/Mac-GUI/
• fixed bug for RTextView:copy
• fixed issues for changing font size via trackpad gesture
• fixed issue for setting selection background color
• started to add functionality to support user-definable actions like inserting programmable text macros with highlighted snippet etc. - will be continued soon
• improved *.R dragging by applying the above mentioned text macro mechanism
- the value of the parameter(s) 'chdir' is/are highlighted which can then changed by the user; use TAB and SHIFT+TAB to navigate through the highlighted snippets; a final TAB will place the cursor at the end of the inserted template - docs will follow
- added possibility to the user to define other drag actions due to file extension - docs will follow
- fixed some minor issues
• some minor fixes and improvements
6064
5287 d 16 h
bibiko
/trunk/Mac-GUI/
• some minor fixes
6060
5288 d 17 h
bibiko
/trunk/Mac-GUI/
• renamed and added resp. NSString's methods from "runBashCommandWithEnvironment" to "evaluateAsBashCommandWithEnvironment" and "runAsBashCommandWithEnvironment" resp.
- runAs... will run it without returning stdout for speed
- evaluateAs... will run it and return stdout
- added further placeholder methods like runAsBashCommand or runAsBashCommandAndError: etc.
- if no NSError will be passed write stderr to /dev/null
6059
5288 d 18 h
bibiko
/trunk/Mac-GUI/
• further improvements for Format R Code
- keep users empty lines since (but clean them)
- sped it up a bit
- fixed mixing indentation of 4 and 2 spaces coming from deparse()
• avoid re-entering Rd tools or R code formatting methods
• made deparse's width.cutoff customizable via Pref key RScriptEditorFormatWidthCutoff; if set to 0 the window's width will be taken otherwise the user's setting
6058
5289 d 13 h
bibiko
/trunk/Mac-GUI/
• added NSString method runBashCommandWithEnvironment:atCurrentDirectoryPath:error: to be able to run any bash command(s) including code of other scripting languages like Python, Perl, etc (by specifying the magic header #!...)
- example: NSString *d = [@"date" runBashCommandWithEnvironment:nil atCurrentDirectoryPath:nil error:nil];
will run the command 'date' in a separate bash shell and set d to the current date.
- any of these called bash commands can be cancelled by pressing ⌘+. (Apple standard)
• applied above mentioned method to decouple editing stuff from REngine for checking Rd docs, converting Rd doc into HTML/PDF, and formatting R code since it's not a good idea to disturb a running R command in the RConsole while editing a doc. Furthermore now if the checking of a Rd doc freezes the user can simply press ⌘+. to cancel that separate task
• improved Format R code
• fixed some minor stuff for deleting temporary files