2
當打印到控制檯或返回一個字符串,我得到這個:我該如何擺脫「[1]」?
[1] "Please choose species to add data for".
我有這個惱人的:[1]
,因爲我無法擺脫它的字符串的開頭。
這裏是我的示例代碼,它的寫有光澤的包裝和輸出在GUI:
DataSets <<- input$newfile
if (is.null(DataSets))
return("Please choose species to add data for")
哇它是如此簡單,謝謝! – dmitriy