<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">perhaps you shouldn't be giving an absolute address like "./datafile.csv", just "datafile.csv"<div><br></div><div>or else the applescript that calls R is missing a call to setwd()?</div><div><br></div><div>t<br><div style="font-size: 20px; "><div>On 28 May 2013, at 08:03, Grzeg <<a href="mailto:ggoralski@gmail.com">ggoralski@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">... and to be clear:<br>I run the script by Cmd+R<br>Inside the script I try to load by a command: data <-<br>read.csv("./datafile.csv", sep=',')<br>a file with data from the same directory where the script is but script<br>cannot find a datafile. <br><br><br><br>--<br>View this message in context: <a href="http://textmate.1073791.n5.nabble.com/Problem-with-a-patch-in-last-alphas-tp26531p26535.html">http://textmate.1073791.n5.nabble.com/Problem-with-a-patch-in-last-alphas-tp26531p26535.html</a><br>Sent from the textmate-dev mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>textmate-dev mailing list<br><a href="mailto:textmate-dev@lists.macromates.com">textmate-dev@lists.macromates.com</a><br>http://lists.macromates.com/listinfo/textmate-dev<br></blockquote></div><br></div></body></html>