froot
☆    

China,
2023-08-01 09:13
(652 d 19:41 ago)

(edited on 2023-08-01 11:23)
Posting: # 23688
Views: 2,567
 

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

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]
UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,671 registered users;
135 visitors (0 registered, 135 guests [including 7 identified bots]).
Forum time: 04:54 CEST (Europe/Vienna)

Don’t undertake a project
unless it’s manifestly important
and nearly impossible.    Edwin H. Land

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