Skip to content
Browse files

• made Rhelper daemon once again more robust against possible errors

• added Snippet fch ⇢ file = file.choose()

git-svn-id: http://svn.textmate.org/trunk/Bundles/R.tmbundle@11889 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent d2faeb7 commit 17b0541ccd5d8f1e36eaaa26874d5498f107e85a Hans-Jörg Bibiko committed
View
7 Commands/Help.tmCommand
@@ -17,14 +17,11 @@ rm -f "$TM_BUNDLE_SUPPORT/lib/data.html"
rm -f "$TM_BUNDLE_SUPPORT/lib/head.html"
rm -f "$TM_BUNDLE_SUPPORT/lib/search.html"
-
. "$TM_SUPPORT_PATH/lib/webpreview.sh"
-
html_header "R Bundle Help" "R"
-
"$TM_SUPPORT_PATH/lib/markdown_to_help.rb" "$TM_BUNDLE_SUPPORT/lib/help.markdown"
-
-html_footer</string>
+html_footer
+</string>
<key>input</key>
<string>none</string>
<key>name</key>
View
3 Commands/Show Function Usage.tmCommand
@@ -67,8 +67,9 @@ if [ ! -z "$RPID" -a "$RD" -gt 0 ]; then
[[ -e "$RDRAMDISK"/r_tmp ]] &amp;&amp; rm "$RDRAMDISK"/r_tmp
# execute "args()" in Rdaemon
- TASK="@|sink('$RDRAMDISK/r_tmp');args($WORDORG);sink(file=NULL)"
+ TASK="@|sink('$RDRAMDISK/r_tmp');args($WORDORG)"
echo "$TASK" &gt; "$RDHOME"/r_in
+ echo "@|sink(file=NULL)" &gt; "$RDHOME"/r_in
while [ 1 ]
do
RES=$(tail -c 2 "$RDRAMDISK"/r_out)
View
16 Snippets/file_choose.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>${1:file = }file.choose()${0:}</string>
+ <key>name</key>
+ <string>file.choose</string>
+ <key>scope</key>
+ <string>source.r, source.rd.console</string>
+ <key>tabTrigger</key>
+ <string>fch</string>
+ <key>uuid</key>
+ <string>FA279758-BC29-4BE9-AFD6-045DB6A17711</string>
+</dict>
+</plist>
View
3 Support/bin/auto_show_func_usage.sh
@@ -32,8 +32,9 @@ if [ ! -z "$RPID" -a "$RD" -gt 0 ]; then
[[ -e "$RDRAMDISK"/r_tmp ]] && rm "$RDRAMDISK"/r_tmp
# execute "args()" in Rdaemon
- TASK="@|sink('$RDRAMDISK/r_tmp');args($WORDORG);sink(file=NULL)"
+ TASK="@|sink('$RDRAMDISK/r_tmp');args($WORDORG)"
echo "$TASK" > "$RDHOME"/r_in
+ echo "@|sink(file=NULL)" > "$RDHOME"/r_in
while [ 1 ]
do
RES=$(tail -c 2 "$RDRAMDISK"/r_out)
View
3 Support/bin/insert_function_param.sh
@@ -40,8 +40,9 @@ else
[[ -e "$RDRAMDISK"/r_tmp ]] && rm "$RDRAMDISK"/r_tmp
# execute "args()" in Rdaemon
- TASK="@|sink('$RDRAMDISK/r_tmp');args($WORD);sink(file=NULL)"
+ TASK="@|sink('$RDRAMDISK/r_tmp');args($WORD)"
echo "$TASK" > "$RDHOME"/r_in
+ echo "@|sink(file=NULL)" > "$RDHOME"/r_in
while [ 1 ]
do
RES=$(tail -c 2 "$RDRAMDISK"/r_out)
View
11 Support/lib/help.markdown
@@ -226,10 +226,19 @@ In addition there is the bundle "R Console (R.app)" available. This bundle allow
# Main Bundle Maintainer
-***Date: Dec 06 2009***
+***Date: Dec 08 2009***
<pre>
- Charilaos Skiadas&nbsp;<a href="mailto:cskiadas@gmail.com">cskiadas@gmail.com</a>
- Hans-Jörg Bibiko&nbsp;&nbsp;<a href="mailto:bibiko@eva.mpg.de">bibiko@eva.mpg.de</a>
</pre>
+## Credits
+
+Many thanks to
+<pre>
+- John Purnell
+- Balthasar Bickel
+</pre>
+
+for all the valuable suggestions and the exhausting tests.
View
1 info.plist
@@ -318,6 +318,7 @@
<string>63A97132-D522-48D9-937A-6A1F04E45F7D</string>
<string>C7D7C1F9-E2F7-4B09-8C1A-AD66C19E9CB3</string>
<string>69D9877A-4A4C-4DC7-97E5-392B45941A82</string>
+ <string>FA279758-BC29-4BE9-AFD6-045DB6A17711</string>
<string>B2E6B78D-6E70-11D9-A369-000D93B3A10E</string>
<string>80A00288-FE7E-4E66-B5BF-4948A2828203</string>
<string>F38E1657-C2D9-48CE-9FFD-3EEA36D8B320</string>

0 comments on commit 17b0541

Please sign in to comment.
Something went wrong with that request. Please try again.