perhaps you shouldn't be giving an absolute address like "./datafile.csv", just 
"datafile.csv"

or else the applescript that calls R is missing a call to setwd()?

t
On 28 May 2013, at 08:03, Grzeg <ggoral...@gmail.com> wrote:

> ... and to be clear:
> I run the script by Cmd+R
> Inside the script I try to load by a command: data <-
> read.csv("./datafile.csv", sep=',')
> a file with data from the same directory where the script is but script
> cannot find a datafile. 
> 
> 
> 
> --
> View this message in context: 
> http://textmate.1073791.n5.nabble.com/Problem-with-a-patch-in-last-alphas-tp26531p26535.html
> Sent from the textmate-dev mailing list archive at Nabble.com.
> _______________________________________________
> textmate-dev mailing list
> textmate-dev@lists.macromates.com
> http://lists.macromates.com/listinfo/textmate-dev

_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to