<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Hi Andrew,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Thanks very much.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">I installed CQPWeb on another server (over which I have more control) and the problem is fixed. Like you say, it looks like R wasn’t functional on the original server but seems to
be fine on the new one.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Thanks again for your help.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Stevie<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">From:
</span></b><span style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">cwb-bounces@sslmit.unibo.it <cwb-bounces@sslmit.unibo.it> on behalf of Hardie, Andrew <a.hardie@lancaster.ac.uk><br>
<b>Date: </b>Thursday, 11 January 2024 at 07:58<br>
<b>To: </b>Open source development of the Corpus WorkBench <cwb@sslmit.unibo.it><br>
<b>Subject: </b>Re: [CWB] R error<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Steve,<br>
<br>
It's what it sounds like: CQPweb uses an R process to do certain calculations for the collocation process that can't be done within the SQL query for the collocates. (Namely to work out the conf intervals for Log Ratio.)<br>
<br>
If it can't start up an R process, it aborts with that error message.<br>
<br>
Possible reasons: The R executable is not on the path, and the $path_to_R config value has not been set. OR, there is something wrong with the R installation itself. OR, the www daemon user acct lacks permission to execute it. That sort of thing.<br>
<br>
Things to check:<br>
<br>
Is your R installation fully up-to-date and functional?<br>
Can you run R successfully from the command line?<br>
Can the www daemon user run R successfully from the command line?<br>
Is $path_to_R set correctly?<br>
<br>
best<br>
<br>
Andrew.<br>
<br>
<br>
-----Original Message-----<br>
From: cwb-bounces@sslmit.unibo.it <cwb-bounces@sslmit.unibo.it> On Behalf Of Stephen Barrett<br>
Sent: Thursday, January 4, 2024 1:52 PM<br>
To: Open source development of the Corpus WorkBench <cwb@sslmit.unibo.it><br>
Subject: [CWB] R error<br>
<br>
<br>
Hi all,<br>
<br>
One of users came across a critical CQPWeb error when trying to create a collocation list: 'Could not initiate R process'. Can anyone shed any light on this, please?<br>
<br>
Thanks<br>
<br>
Steve<br>
<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
CWB@sslmit.unibo.it<br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&data=05%7C02%7CStephen.Barrett%40glasgow.ac.uk%7Ca37062a175684a36ea9108dc127b24e9%7C6e725c29763a4f5081f22e254f0133c8%7C1%7C0%7C638405567303872664%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=i1AJgXZEk8qNNwH8%2BeR43uWyAWMgZHil2aMhgNtS6q4%3D&reserved=0</a><br>
_______________________________________________<br>
CWB mailing list<br>
CWB@sslmit.unibo.it<br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&data=05%7C02%7CStephen.Barrett%40glasgow.ac.uk%7Ca37062a175684a36ea9108dc127b24e9%7C6e725c29763a4f5081f22e254f0133c8%7C1%7C0%7C638405567303872664%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=i1AJgXZEk8qNNwH8%2BeR43uWyAWMgZHil2aMhgNtS6q4%3D&reserved=0</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>