<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: spotlight code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 08 Aug 2008 15:40:51 GMT</pubDate>
    <description>DZone Snippets: spotlight code</description>
    <item>
      <title>Spotlight queries of R documentation</title>
      <link>http://snippets.dzone.com/posts/show/1880</link>
      <description>// from http://comments.gmane.org/gmane.comp.lang.r.mac/642&lt;br /&gt;// Use Spotlight to query R documentation&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;spotlight&lt;-function(word) {&lt;br /&gt;place&lt;-paste(Sys.getenv("R_HOME"),"/library/",sep="")&lt;br /&gt;string&lt;-paste("mdfind -onlyin",place,word,"|",getOption("pager"))&lt;br /&gt;system(string, intern=TRUE)&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Mon, 10 Apr 2006 21:45:59 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/1880</guid>
      <author>mroutley (Matthew Routley)</author>
    </item>
  </channel>
</rss>
