[CWB] R error
Stephen Barrett
Stephen.Barrett at glasgow.ac.uk
Tue Jan 16 10:27:17 CET 2024
Hi Andrew,
Thanks very much.
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.
Thanks again for your help.
Stevie
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> on behalf of Hardie, Andrew <a.hardie at lancaster.ac.uk>
Date: Thursday, 11 January 2024 at 07:58
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] R error
Hi Steve,
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.)
If it can't start up an R process, it aborts with that error message.
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.
Things to check:
Is your R installation fully up-to-date and functional?
Can you run R successfully from the command line?
Can the www daemon user run R successfully from the command line?
Is $path_to_R set correctly?
best
Andrew.
-----Original Message-----
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Stephen Barrett
Sent: Thursday, January 4, 2024 1:52 PM
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: [CWB] R error
Hi all,
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?
Thanks
Steve
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
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<http://liste.sslmit.unibo.it/mailman/listinfo/cwb>
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
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<http://liste.sslmit.unibo.it/mailman/listinfo/cwb>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20240116/90895b12/attachment.html>
More information about the CWB
mailing list