私はubuntu 14.04の下でPython 3.4.3を使用していますが、いくつかの結果を得るためにRコードを呼び出したいと思います。私はpyperやrpy2のようなパッケージの存在を知っていますが、Python2とのみ互換性があります。私は従うPython3 - Rを使用する/ R関数を使用する
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1436, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/usr/lib/python3/dist-packages/pip/req.py", line 707, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python3/dist-packages/pip/util.py", line 715, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_user/rpy2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8hhbkgev-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_user/rpy2
を得る「須藤PIP3がrpy2をインストールする」と入力し は、Python 3.4.3内部のRコードを使用する方法はありますか?
あなたは[Cから* *ホイールとrpy2をインストールしようとしましたGohlkeのウェブサイト](http://www.lfd.uci.edu/~gohlke/pythonlibs/)?私は、Windows上でのインストールを実現するためのいくつかのトリックがあると思います。たとえば、http://stackoverflow.com/a/32983656/5050917を参照してください。 – mgc