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)
/
trunk
/
Mac-GUI
/
NSString_RAdditions.h
– Rev 6060
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
6060
5288 d 20 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
6058
5289 d 17 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