Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Rの関数を使用して別のプログラムを実行していsystem()ます。他のプログラムのコマンドライン機能を提供しています。パラメーターのコードを間違えると、呼び出しでsystem()呼び出したプログラムによってまだ制御されているため、関連付けられたファイルを削除できないというエラー メッセージが表示されます。
system()
私が現在行っているRの再起動以外に、これらのタイプのプロセスを手動で強制終了する方法はありますか?
例は次のようになります。
system("python myFile.py")