[CWB] R error
Hardie, Andrew
a.hardie at lancaster.ac.uk
Thu Jan 11 08:58:06 CET 2024
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
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
More information about the CWB
mailing list