A few days ago I gave a post in the Stack Overflow (here) and found the answer from @jay.sf. At that time the code was working totally fine. But, now when I am running the same code on my device I am getting the wrong output.
I am taking the same dataframe
and code
from the post. But I am getting the given output which is totally different from my expected output and the post output.
query target weight
1: (+)-1(10),4-Cadinadiene (+)-1(10),4-Cadinadiene 0.090
2: A1 A1 0.600
3: A1 A1 0.600
4: A1 A1 1.000
5: A1 A1 1.000
6: A2 A2 0.500
7: A2 A2 0.500
8: A2 A2 1.000
9: A2 A2 1.000
10: A3 A3 0.750
11: A3 A3 0.750
12: A3 A3 1.000
13: A3 A3 1.000
14: A4 A4 0.880
15: A4 A4 0.880
16: A4 A4 1.000
17: A4 A4 1.000
18: Falcarinone Falcarinone 1.000
19: Leucodelphinidin Leucodelphinidin 0.876
Version related information given below
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 6.3
year 2020
month 02
day 29
svn rev 77875
language R
version.string R version 3.6.3 (2020-02-29)
nickname Holding the Windsock
I have restarted my RStudio
several times but getting the same wrong output.