froot
☆    

China,
2023-08-01 09:13
(1037 d 18:15 ago)

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

 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,653 posts in 4,991 threads, 1,571 registered users;
287 visitors (0 registered, 287 guests [including 35 identified bots]).
Forum time: 03:28 CEST (Europe/Vienna)

I’m all in favor of the democratic principle
that one idiot is as good as one genius, but I draw the line
when someone takes the next step and concludes
that two idiots are better than one genius.    Leo Szilard

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