RでPythonプログラムを走りたいので、
こうしたらいけそうです。
> shell("type hello.py", intern=T)
[1] "print(\"hello\")"
> a <- system("python hello.py",intern=T)
> a
[1] "hello"
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
RでPythonプログラムを走りたいので、
こうしたらいけそうです。
> shell("type hello.py", intern=T)
[1] "print(\"hello\")"
> a <- system("python hello.py",intern=T)
> a
[1] "hello"
Register as a new user and use Qiita more conveniently
Go to list of users who liked