タプルを挿入して文字列を作成しようとしています。私は'k = as.numeric(list(1, 2, 3))'
自分の出力として取得しようとしています:
j = (1, 2, 3)
'k = as.numeric(list%r)' % j
これは
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: not all arguments converted during string formatting
誰かがここで何が悪かったのか説明してもらえますか?ありがとう。