[R] invoking python from R
Rolf Turner
rolf.turner at xtra.co.nz
Thu Apr 21 03:11:28 CEST 2011
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
More information about the R-help
mailing list