<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Phil,<br>
<br>
In another thread Alexander Bruy gave a good tip to install python
Windows packages in OGGeo4W:<br>
<br>
Namely, you download the package exe file and open it with 7-zip
(freeware).<br>
7-zip will display folders and files inside the exe file.<br>
You simply have to find the correct folder and the .egg file (if
any) and extract them to the python package folder in the OSGeo4W
installation tree keeping the folder structure of the exe file.<br>
<br>
It has worked for me on many occasions. Try it on the R packages and
see if it helps...<br>
<br>
HTH,<br>
Benoit<br>
<br>
<br>
On 22/10/2010 16:53, Phil Morefield wrote:
<blockquote cite="mid:112321.84627.qm@web53408.mail.re2.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div style="font-family: tahoma,'new york',times,serif; font-size:
18pt;">
<div><span class="Apple-style-span" style="font-size: medium;">Carson,</span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-size: medium;">I'm
a Windows user, and I think that is causing me problems. The
rpy package that comes from the OSGeo4W installer (1.0.3) is
configured for R 2.6.2. and Python 2.5. rpy2 requires R
>= 2.8.0.</span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-size: medium;">I
haven't been able to locate rpy windows installers for
Python 2.5 <b><u>and</u></b> R >= 2.8.0. <b>So in a
nutshell: there is no version of R that overlaps both rpy
and rpy2 when they are installed on Python 2.5.</b> I've
tried unsuccessfully to create my own Windows installer for
rpy; there is an issue with the C++ header files changing in
later versions of R, which is way beyond my expertise.</span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-size: medium;">I'm
all ears if you, or anyone else, has more ideas.</span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-size: medium;">Phil</span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-size: medium;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-size: medium;"> </span></div>
<div><br>
</div>
<div style="font-family: tahoma,new york,times,serif; font-size:
18pt;"><br>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;"><font face="Tahoma" size="2">
<hr size="1"><b><span style="font-weight: bold;">From:</span></b>
Carson Farmer <a class="moz-txt-link-rfc2396E" href="mailto:carson.farmer@gmail.com"><carson.farmer@gmail.com></a><br>
<b><span style="font-weight: bold;">To:</span></b> Phil
Morefield <a class="moz-txt-link-rfc2396E" href="mailto:philmorefield@yahoo.com"><philmorefield@yahoo.com></a><br>
<b><span style="font-weight: bold;">Cc:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
<b><span style="font-weight: bold;">Sent:</span></b> Wed,
October 20, 2010 8:39:56 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Re: [Qgis-user] Plug-in not working: spqr<br>
</font><br>
spqr requires rpy (rather than rpy2). You should be able to
install both rpy and rpy2 on the same system, so it
shouldn't be a problem to install rpy and get going with
spqr.
<div><br>
</div>
<div>Carson<br>
<br>
<div class="gmail_quote">
On 21 October 2010 01:26, Phil Morefield <span
dir="ltr"><<a moz-do-not-send="true" rel="nofollow"
ymailto="mailto:philmorefield@yahoo.com"
target="_blank"
href="mailto:philmorefield@yahoo.com">philmorefield@yahoo.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div>
<div style="font-size: 12pt;">
<div><br>
<span style="font-size: 13px; color: rgb(51,
51, 51); line-height: 18px;">I must have tried
to install it a thousand times. Every time I
get the same message:</span></div>
<span style="color: rgb(51, 51, 51); font-size:
13px; line-height: 18px;"><br style="margin:
0px; padding: 0px;">
<span style="margin: 0px; padding: 0px;
font-weight: bold;">"The plug-in is broken.
Python said:<br style="margin: 0px; padding:
0px;">
Couldn't obtain version from output of 'R
--version'."</span><br style="margin: 0px;
padding: 0px;">
<br style="margin: 0px; padding: 0px;">
Other plug-ins relying on R work fine. "R
--version" gives me long string that includes
the version number. Anyone have a bright idea?</span>
<div>
</div>
</div>
<br>
</div>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true" rel="nofollow"
ymailto="mailto:Qgis-user@lists.osgeo.org"
target="_blank"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a moz-do-not-send="true" rel="nofollow"
target="_blank"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Carson J. Q. Farmer<br>
ISSP Doctoral Fellow<br>
National Centre for Geocomputation<br>
National University of Ireland, Maynooth,<br>
<a moz-do-not-send="true" rel="nofollow" target="_blank"
href="http://www.carsonfarmer.com/">http://www.carsonfarmer.com/</a><br>
</div>
</div>
</div>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</body>
</html>