a bug of bear 2.9.1 [🇷 for BE/BA]

posted by froot – China, 2023-08-01 09:13 (61 d 09:13 ago) – Posting: # 23688
Views: 528

(edited by on 2023-08-01 11:23)

bGUI.r:

line 486:

svalue(dataset.file)<- basename(svalue(dataset.file))
if(svalue(lambda_z,index=TRUE)==7) svalue(psdf.file)<- basename(svalue(psdf.file))
save.setting.now()
if(verbose_mode) log_it(paste("Please note that you can find all output files in ",getwd(),".\n",sep=""))
xxdf<- svalue(dataset.file);psdp<- svalue(psdp.file)
print.logo();run.bear(xxdf,psdp)


-----

I don't know why get basename of dataset.file first ,then use it to set xxdf.
I think xxdf should use dataset.file's fullpath.

so i recommend:
xxdf<- svalue(dataset.file)
svalue(dataset.file)<- basename(svalue(dataset.file))
if(svalue(lambda_z,index=TRUE)==7) svalue(psdf.file)<- basename(svalue(psdf.file))
save.setting.now()
if(verbose_mode) log_it(paste("Please note that you can find all output files in ",getwd(),".\n",sep=""))
psdp<- svalue(psdp.file)
print.logo();run.bear(xxdf,psdp)


if not fix this code, the data file should be put in work directory. otherwise bear fail to find it.


Edit: Text BBCoded; see also this post #10. Merged with a later (now deleted post). You can edit your original post for 24 hours. [Helmut]

Complete thread:

UA Flag
Activity
 Admin contact
22,763 posts in 4,775 threads, 1,628 registered users;
10 visitors (0 registered, 10 guests [including 2 identified bots]).
Forum time: 18:27 CEST (Europe/Vienna)

Restlessness is discontent –
and discontent is the first necessity of progress.
Show me a thoroughly satisfied man 
and I will show you a failure.    Thomas Alva Edison

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5