[TxMt] R directory
Ross Ahmed
rossahmed at googlemail.com
Fri Jun 27 12:26:04 UTC 2014
Lets say I have a file on desktop called called test.csv¹. I discovered by
accident that if I drag test.csv¹ to an R file, this code is pasted into
the R file:
read.csv(file = "../../../../Desktop/test.csv", header = TRUE,
stringsAsFactors = FALSE)
But if the file is a .xls file, only this get pasted into the R file:
/Users/rossahmed/Desktop/test.xls
How can I add a command that, when I drag a .xls file into an R file, this
get pasted in:
read.xls("/Users/rossahmed/Desktop/test.xls")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20140627/2b8d5b56/attachment.html>
More information about the textmate
mailing list