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

posted by froot – China, 2023-08-01 09:13 (296 d 21:54 ago) – Posting: # 23688
Views: 1,312

(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
23,035 posts in 4,835 threads, 1,645 registered users;
40 visitors (0 registered, 40 guests [including 7 identified bots]).
Forum time: 07:08 CEST (Europe/Vienna)

The mediocre teacher tells.
The good teacher explains.
The superior teacher demonstrates.
The great teacher inspires.    William Arthur Ward

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