Dear colleagues,

I was wondering whether anyone may give me some help on a python issue in
R.
I tried to invoke Python from R, but failed.
I have set up a system path to call python: "C:\python27" in path file.
In addition, I have confirmed python interpreter properly.

The code I used is typical for checking, which is as follows:
x <- .Python("listdir", "/tmp", .module="posix")

The command gives me the following message:
> x <- .Python("listdir", "/tmp", .module="posix")
Error: could not find function ".Python"
Any help would be greatly appreciated.

Best,

Kihong

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to