[R] Loading file in MAC-Syntax Error

2009-09-01 Thread Awais77
Hi, If any body can help me regarding a basic problem using R? I am starting with R and I have problem in loading my file. File is on Desktop of my MAC and I use code as follows to access it /Users/username/Desktop/test.txt/ It always gives me Syntax error message. Thanks for your help --

Re: [R] Loading file in MAC-Syntax Error

2009-09-01 Thread Awais77
Thanks for useful replies. It is working now. I was typing only read.table(/Users/username/Desktop/test.txt/) without surrounding the filename with quotes. It works when i use it as read.table('/Users/khan_awais77/Desktop/test2.txt'). Cheers Awais77 wrote: Hi, If any body can help me