maRce10 / Rraven

Integrating R with Raven
https://marce10.github.io/Rraven
10 stars 3 forks source link

Unable to use raven_batch_detec with error of (file, "rt") #12

Open auman-chan opened 1 year ago

auman-chan commented 1 year ago

Hi Marcelo I have some problem with function raven_batch_detec(). There's an error occur:

Error in file (file, "rt"): cannot open the connection 
In addition: 
Warning message: In file (file, "rt"):   cannot open file 'temp.bcv.txt': No such file or directory

it seems there is something wrong of source code running on Win 11 x64, but I haven't tried on Linux. Do you have any solution or advice?

Thanks

auman-chan commented 1 year ago

Well, I noticed that Raven Pro 1.6 on Windows dramatically separates two folders in C:/Program Files and C:/user, as the root and workspace respectively. So I put a Raven.exe in the folder in C:/user for the software launch, and run the example code. But it shows another error:

Error in system(command = comnd, ignore.stderr = TRUE, intern = TRUE) :   
 '-viewPreset:Default' not found

It looks like the Preset file of detector had not been identified by cmd, but I have no idea how to correct the code.

maRce10 commented 1 year ago

I will try to take a look at this soon. thanks!

auman-chan commented 1 year ago

Well the reply from team of Raven Pro said my Raven Pro 1.6 doesn't support BLED command line invocation, need ver 1.5 instead. But unfortunately I failed to install Raven Pro 1.5(stuck occured when installing) so I can't have a try temporarily.