Re: [R] invoking python from R

From: Rolf Turner <rolf.turner_at_xtra.co.nz>
Date: Thu, 21 Apr 2011 13:11:28 +1200

On 21/04/11 10:43, 鞐勱赴頇 wrote:
> 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.

Clearly there is no such R function as ``.Python''. What makes you think there is such a function?

     cheers,

         Rolf Turner



R-help_at_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. Received on Thu 21 Apr 2011 - 01:14:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 29 Apr 2011 - 06:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive