Re: [請益] 用PHP呼叫R

看板PHP作者 (tkyifang)時間16年前 (2009/11/06 14:19), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《chien54776 (透明)》之銘言: : system(R); : system(source("file")); : system(plot(dataset,input_file,output_file)); system("R"); <== 命令要加引號 另外你可以試試 system("R < command.txt"); command.txt 文字檔內容放入兩行, ============================================== source("file") plot(dataset,input_file,output_file) ============================================== (或者3行,第3行空白,確保有兩個換行字元 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.87.69.204
文章代碼(AID): #1Ayx_XD_ (PHP)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
文章代碼(AID): #1Ayx_XD_ (PHP)