<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac">
    <title>gmane.comp.lang.r.mac</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7122"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7121"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7120"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7119"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7118"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7117"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7116"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7115"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7114"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7113"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7112"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7111"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7110"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7109"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7108"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7107"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7106"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7105"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7104"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.r.mac/7103"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7122">
    <title>Re: history &amp; comments behaviour</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7122</link>
    <description>&lt;pre&gt;Peter,

Is it possible you have you have 'Strip comments in history entries' checked as well? 

On my system:

[1] 12

Pressed up-arrow:

[1] 12

Checked 'Strip comments in history entries' and entered:

[1] 12

Pressed up-arrow:

[1] 12

Regards,
Rob

R version 2.15.0 Patched (2012-05-21 r59376)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] Rcpp_0.9.10

On May 23, 2012, at 1:36 PM, Peter Dixon &amp;lt;peter.dixon&amp;lt; at &amp;gt;ualberta.ca&amp;gt; wrote:

  version?


[[alternative HTML version deleted]]
&lt;/pre&gt;</description>
    <dc:creator>Robert J Goedman</dc:creator>
    <dc:date>2012-05-23T22:06:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7121">
    <title>history &amp; comments behaviour</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7121</link>
    <description>&lt;pre&gt;Hi -
I want to embed comments in the history file using "#". However, if I have "Cleanup history entries" checked in the GUI preferences, the "#" is stripped from the entry so that, for example, if I type "# this is a comment" and then up-arrow, " this is a comment" is added to the console without the hash. On the other hand, if I uncheck "Cleanup history entries," then lines retrieved from the history seem to have an return at the end (which generates extra blank lines when these entries are executed). I'm thinking that this behaviour might be a bug since it did not occur with the last version I was using (R.14.0, R.app GUI 1.42 (5933)). I observed this with a fresh install of R 2.15.0, R.app GUI 1.51 (6148), but maybe there's something funny about my configuration that's tickling the latest v
 ersion?

R version 2.15.0 (2012-03-30)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  gr&lt;/pre&gt;</description>
    <dc:creator>Peter Dixon</dc:creator>
    <dc:date>2012-05-23T20:36:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7120">
    <title>Re: Trouble installing rgdal --- libcurl.4.dylib</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7120</link>
    <description>&lt;pre&gt;
On May 18, 2012, at 12:34 PM, de Larminat, Pierre wrote:


Please wait for the CRAN version, it should be up today or tomorrow. Alternatively you can upgrade you system (we will be removing Leopard support soon anyway). My understanding is that the CRANextras binaries are now cross-compiled, so they don't always work on Leopard anymore.

Cheers,
Simon


&lt;/pre&gt;</description>
    <dc:creator>Simon Urbanek</dc:creator>
    <dc:date>2012-05-18T16:57:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7119">
    <title>Trouble installing rgdal --- libcurl.4.dylib</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7119</link>
    <description>&lt;pre&gt;Hello everyone,

I have trouble installing the rgdal package.
I run R 2.15.0 on Mac OS 10.6.8.

I followed the instructions given by Roger Bivand, who develops rgdal and ran:
--- SVP sélectionner un miroir CRAN pour cette session ---
essai de l'URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/macosx/leopard/contrib/2.15/rgdal_0.7-8.tgz'
Content type 'application/x-gzip' length 13810017 bytes (13.2 Mb)
URL ouverte
==================================================
downloaded 13.2 Mb

It seemed to be OK, but when I try to call rgdal, I get:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  impossible de charger l'objet partagé '/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/i386/rgdal.so':
  dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/i386/rgdal.so, 6): Library not loaded: /usr/lib/libcurl.4.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/i386/rgdal.so
  Reason: Incompatible library version: rgd&lt;/pre&gt;</description>
    <dc:creator>de Larminat, Pierre</dc:creator>
    <dc:date>2012-05-18T16:34:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7118">
    <title>Re: .First for R.app called twice?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7118</link>
    <description>&lt;pre&gt;
On May 16, 2012, at 7:09 PM, R. Michael Weylandt wrote:


No, since the GUI is interactive -- note that the GUI doesn't do anything to the R afterwards. If we did not support changing working directories on document open we could start R without any flags. Another possible "fix" would be to run R with --no-profile and source it by hand, but I already feel bad about the somewhat strange sequence and the user typically wants to run .Rprofile from the home directory and not the dropped one.



The only reason I called it a hack is that we need to store a copy of the first .First so we can compare it after the workspace is loaded. But at least this way .First is guaranteed to run once (unless you change .First in .First() in which case it will still run twice anyway ...) - so it may not be that bad ;).

Cheers,
Simon




&lt;/pre&gt;</description>
    <dc:creator>Simon Urbanek</dc:creator>
    <dc:date>2012-05-17T01:22:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7117">
    <title>Re: .First for R.app called twice?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7117</link>
    <description>&lt;pre&gt;On Wed, May 16, 2012 at 3:04 PM, Simon Urbanek
&amp;lt;simon.urbanek&amp;lt; at &amp;gt;r-project.org&amp;gt; wrote:

Thanks for your note, Simon. I think that I understand, but I'll dig
around in the source just to make sure. I'm likely revealing my
ignorance here, but is there any reason one or the other loads
couldn't run as R --vanilla or with the interactive() flag turned off?
[My actual .Rprofile has the whole thing wrapped in
if(interactive()){} to avoid trouble in R CMD .... scenarios] This
might be a nonsense suggestion though -- I don't really use R other
than starting a fresh workspace each time so I've never really thought
through how that would be managed.


Hadn't thought of this -- I'll add it to my .Rprofile


Don't uglify the code base on my account, particularly when such an
easy fix is available and I use the Terminal so much more.

Thanks again,
Michael

&lt;/pre&gt;</description>
    <dc:creator>R. Michael Weylandt</dc:creator>
    <dc:date>2012-05-16T23:09:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7116">
    <title>Re: .First for R.app called twice?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7116</link>
    <description>&lt;pre&gt;

It is somewhere between intention and a bug. It is caused by the necessity of the R.app GUI to deal with launches in a different working directory -- e.g. when you drag a folder on the GUI. Because the GUI has to setup R and start the event loop before it can accept open events it emulates the regular R behavior after receiving the open event by starting R with --no-restore-data first and then loading the workspace "by hand" and running .First(). This is all fine if you use your workspace to populate .First, but if you do that in .Renviron then .First gets called twice: first when R starts without a workspace and then by the GUI because it doesn't know that your .First does not come from the loaded workspace. 

Obviously, an easy work-around is to check with bindingIsLocked().

That said, I have added a very, very ugly hack to work around your case in the GUI.

Cheers,
Simon
&lt;/pre&gt;</description>
    <dc:creator>Simon Urbanek</dc:creator>
    <dc:date>2012-05-16T19:04:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7115">
    <title>.First for R.app called twice?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7115</link>
    <description>&lt;pre&gt;Suppose I have the following very simple ~/.Rprofile

.First &amp;lt;- function(){
    assign("e", exp(1), .GlobalEnv)
    lockBinding("e", .GlobalEnv)
}

If I start R from the terminal, all is fine, but if I use R.app this
throws an error about not being able to change the assigned value of a
locked binding on "e". This makes me think that R.app hits .First()
twice -- is that the intended behavior? [You can demonstrate this with
cat() statements more directly, but I figured I'd show a use case]

I don't have access to another computer right now to confirm, but the
difference between Terminal and R.app seems funny. If it seems to be a
problem with my machine, I'll hunt further.

Thanks,
Michael
&lt;/pre&gt;</description>
    <dc:creator>R. Michael Weylandt</dc:creator>
    <dc:date>2012-05-16T17:10:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7114">
    <title>Re: FastRWeb Questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7114</link>
    <description>&lt;pre&gt;
On May 10, 2012, at 7:01 PM, Carl pfisterer &amp;lt;carl_pfisterer&amp;lt; at &amp;gt;yahoo.com&amp;gt; wrote:


Even easier is
print "Location: $url\n\n";
but make sure you do NOT print Content-type before that.



Clearly, since all relative paths will be off as you are serving this from a different URL



You should use Cairo instead.

Cheers,
Simon



[[alternative HTML version deleted]]
&lt;/pre&gt;</description>
    <dc:creator>Simon Urbanek</dc:creator>
    <dc:date>2012-05-10T23:22:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7113">
    <title>Re: FastRWeb Questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7113</link>
    <description>&lt;pre&gt;I am a web development novice so there is no particular reason it has to be perl other than that is what I started with.  Seemed like an easy way to interface with MySQL and allowed me to execute R scripts as well.  I have figured out one way to execute run() from within perl but it is not elegant, it redirects to the new page entirely instead of showing the plot inline.

my $url = "http://localhost/cgi-bin/R/carls_test?Projects=$Projects&amp;amp;Species=$Species&amp;amp;Year=$Year&amp;amp;Normalize=$normalize&amp;amp;Lag=$lag";
print "&amp;lt;META HTTP-EQUIV=refresh CONTENT=\"0;URL=$url\"&amp;gt;\n\n";

I also tried
my $url = "http://localhost/cgi-bin/R/carls_test?Projects=$Projects&amp;amp;Species=$Species&amp;amp;Year=$Year&amp;amp;Normalize=$normalize&amp;amp;Lag=$lag";
my $content = get $url;
die "Couldn't get $url" unless defined $content;
print $content;

This would display the data values and tables inline, but not the images(image not found box).  It seems I can't draw to a png device from within run() so my best/easiest method at the moment is redirecting to the new page.&lt;/pre&gt;</description>
    <dc:creator>Carl pfisterer</dc:creator>
    <dc:date>2012-05-10T23:01:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7112">
    <title>Re: R.app ''crashing'' when trying to installbioconductor packages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7112</link>
    <description>&lt;pre&gt;
On May 10, 2012, at 12:05 PM, Federico Calboli wrote:


Federico,

R.app doesn't crash (you would get a crash report), it simply waits for the install to finish. There is no output and R.app cannot react until the installation has finished. BioC server can have very slow downloads so particularly for larger packages it can take a long time to install.

Cheers,
Simon


&lt;/pre&gt;</description>
    <dc:creator>Simon Urbanek</dc:creator>
    <dc:date>2012-05-10T16:16:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7111">
    <title>Re: R.app ''crashing'' when trying to installbioconductor packages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7111</link>
    <description>&lt;pre&gt;mmm, might it be that I get this warning if I istall things with biocLite

Warning: unable to access index for repository http://brainarray.mbni.med.umich.edu/bioc/bin/macosx/leopard/contrib/2.15
 
?

BW

F



On 10 May 2012, at 17:05, Federico Calboli wrote:


--
Federico C. F. Calboli
Neuroepidemiology and Ageing Research
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com
&lt;/pre&gt;</description>
    <dc:creator>Federico Calboli</dc:creator>
    <dc:date>2012-05-10T16:13:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7110">
    <title>R.app ''crashing'' when trying to install bioconductorpackages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7110</link>
    <description>&lt;pre&gt;Hi,

on a R64 R.app [R.app GUI 1.52 (6153) x86_64-apple-darwin9.8.0] the R.app stops responding and has to be force quit if I try to install any Bioconductor package.

sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tools_2.15.0



BW

F



--
Federico C. F. Calboli
Neuroepidemiology and Ageing Research
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com
&lt;/pre&gt;</description>
    <dc:creator>Federico Calboli</dc:creator>
    <dc:date>2012-05-10T16:05:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7109">
    <title>Re: More FastRWeb questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7109</link>
    <description>&lt;pre&gt;Simon,

Thanks for the help. It was indeed a permissions issue. Thanks for
guiding me in the right direction. Also I will make sure to direct any
future questions to the mailing list you mentioned. Thanks!

Cheers,
Joe

On Tue, May 8, 2012 at 5:15 PM, Simon Urbanek
&amp;lt;simon.urbanek&amp;lt; at &amp;gt;r-project.org&amp;gt; wrote:
&lt;/pre&gt;</description>
    <dc:creator>Joe Schwab</dc:creator>
    <dc:date>2012-05-09T06:34:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7108">
    <title>Re: More FastRWeb questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7108</link>
    <description>&lt;pre&gt;Hello I have tried as you.
On Mac the way to succeed might be to partition your mac on 2 systems.
The Mac os
The Ubuntu I have tried many attempts.
I decided to work to make sure I use r and r commander
Best Regards
Henri

2012/5/8 Simon Urbanek &amp;lt;simon.urbanek&amp;lt; at &amp;gt;r-project.org&amp;gt;




&lt;/pre&gt;</description>
    <dc:creator>HENRI FLECHNER</dc:creator>
    <dc:date>2012-05-08T15:22:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7107">
    <title>Re: More FastRWeb questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7107</link>
    <description>&lt;pre&gt;Joe,

On May 8, 2012, at 8:53 AM, Joe Schwab wrote:




That's entirely irrelevant since FastRWeb doesn't use TCP/IP - make sure you are running the correct Rserve settings which are *not* on port 6311. All you need to do it to use the start script.



You seem to have permission issues on the socket or the FastRWeb directory - check the permissions on
/var/FastRWeb/socket
You should make sure that _www has both read and write access. Remove it before starting if in doubt. If it's not there, make sure that the user under which you run Rserve has write permissions in /vat/FastRWeb. That applies to the other directories as well - it will need write permissions on tmp and _www must be able to read web.R and tmp.

Cheers,
Simon

PS: stats-rosuda-devel is the mailing list for Rserve/FastRWeb questions


&lt;/pre&gt;</description>
    <dc:creator>Simon Urbanek</dc:creator>
    <dc:date>2012-05-08T15:15:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7106">
    <title>More FastRWeb questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7106</link>
    <description>&lt;pre&gt;Hello all,

I am in the process of installing the latest CRAN repository versions
of Rserve (0.6-8) and FastRWeb (1.0-1) on MacOS 10.6.8 machine. I have
installed Rserve and verified that it can start up just fine on its
own both by using the following commands in the R GUI:

library(Rserve)
Rserve(args="--no-save")

and by running "R CMD Rserve" from the command line. After doing
either of those methods I can telnet to my localhost port 6311 and
verify that Rserve is running. However, when I try to start Rserve
(after killing any existing processes) by using the FastRWeb
code/start script, I get the following error:

##&amp;gt; SOCK_ERROR: bind error #13(access denied)

When I go into R GUI and run this under debug mode I get the same end
result. Here is the session transcript from R:

# START SESSION TRANSCRIPT
Starting Rserve on port 6311 :
 /Library/Frameworks/R.framework/Resources/bin/R CMD
/Library/Frameworks/R.framework/Versions/2.15/Resources/library/Rserve/libs/x86_64/Rserve-dbg.so
--RS-conf /var/FastRWeb/&lt;/pre&gt;</description>
    <dc:creator>Joe Schwab</dc:creator>
    <dc:date>2012-05-08T12:53:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7105">
    <title>Re: FastRWeb Questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7105</link>
    <description>&lt;pre&gt;
On May 7, 2012, at 3:49 PM, Carl pfisterer wrote:


Well, you could get rid of the perl part to start with - FastRWeb automatically maps form entries into run() arguments so you should not need perl at all to process forms. If you still have some logic in perl that you don't want to push to R then your options may be thin -- you could run Rcgi from perl, use AJAX (from a page you generate with perl) or connect to Rserve directly, but I don't have an Rserve perl client, so you'd have to look elsewhere (maybe misappropriating the C++ client or something like that ... however, it should be fairly easy to write perl client for this purpose since you're only interested in strings)

Cheers,
Simon


&lt;/pre&gt;</description>
    <dc:creator>Simon Urbanek</dc:creator>
    <dc:date>2012-05-07T23:57:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7104">
    <title>Re: FastRWeb Questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7104</link>
    <description>&lt;pre&gt;Thanks Simon, that helps a lot.  With respect to my last question, I have a cgi script that gets user input from a form, then plots the data in R.  What I would like to do is to call run(...) from within the cgi script when the user clicks submit.  

-Carl


________________________________
 From: Simon Urbanek &amp;lt;simon.urbanek&amp;lt; at &amp;gt;r-project.org&amp;gt;

Cc: "r-sig-mac&amp;lt; at &amp;gt;r-project.org" &amp;lt;r-sig-mac&amp;lt; at &amp;gt;r-project.org&amp;gt; 
Sent: Monday, May 7, 2012 9:20 AM
Subject: Re: [R-SIG-Mac] FastRWeb Questions

Carl,

On May 7, 2012, at 1:04 PM, Carl pfisterer wrote:


Yes



typically

http://.../R?x1=1&amp;amp;x2=20

run &amp;lt;- function(x1, x2, ...) {
  x &amp;lt;- seq(as.integer(x1), as.integer(x2))
  
In theory you could use

http://.../R?x=1:20

run &amp;lt;- function(x, ...) {
  x &amp;lt;- eval(parse(text=x))

but I would not recommend that since it would allow users to inject arbitrary code which is not good for the security ...



What do you mean? R scripts are to be run from R, not perl... You could simply run the Rcgi binary, but I'm not sure where you are he&lt;/pre&gt;</description>
    <dc:creator>Carl pfisterer</dc:creator>
    <dc:date>2012-05-07T19:49:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7103">
    <title>Re: FastRWeb Questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7103</link>
    <description>&lt;pre&gt;Carl,

On May 7, 2012, at 1:04 PM, Carl pfisterer wrote:


Yes



typically

http://.../R?x1=1&amp;amp;x2=20

run &amp;lt;- function(x1, x2, ...) {
  x &amp;lt;- seq(as.integer(x1), as.integer(x2))
  
In theory you could use

http://.../R?x=1:20

run &amp;lt;- function(x, ...) {
  x &amp;lt;- eval(parse(text=x))

but I would not recommend that since it would allow users to inject arbitrary code which is not good for the security ...



What do you mean? R scripts are to be run from R, not perl... You could simply run the Rcgi binary, but I'm not sure where you are heading with this ...



It certainly will a there is no startup delay.

Cheers,
Simon
&lt;/pre&gt;</description>
    <dc:creator>Simon Urbanek</dc:creator>
    <dc:date>2012-05-07T17:20:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.r.mac/7102">
    <title>FastRWeb Questions</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.r.mac/7102</link>
    <description>&lt;pre&gt;I have gotten FastRWeb working on Mac OS X 10.5 but I have a few of questions.  Is it possible to send more than one argument to run(...)?  How would I parse a range sent as an argument (i.e. run(x=1:20))?  Finally, what is the syntax to call the R script from within a PERL script?  I have read Simon's paper at: http://urbanek.info/research/pub/urbanek-iasc08.pdf and it has helped, but I didn't see these particular items addressed.  FastRWeb looks very promising, my current implementation initializes R each time and is a bit slow, I am hopeful this will speed things up a lot. 

-Carl
[[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac&amp;lt; at &amp;gt;r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
&lt;/pre&gt;</description>
    <dc:creator>Carl pfisterer</dc:creator>
    <dc:date>2012-05-07T17:04:53</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.r.mac">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.r.mac</link>
  </textinput>
</rdf:RDF>

