Skip to content

Need HELP: how find and use a csv file?

5 messages · Faradj Koliev, Sarah Goslee, Rich Shepard +2 more

#
You don't actually have to post more than once. Really.

skatter <- read.table(file.choose(), header=TRUE, sep=";")

or

skatter <- read.table(""/Users/kama/Desktop/skatter.csv", header=TRUE, sep=";")

or whatever the actual path to the file is.

As a new user of R, you should read the Introduction to R that came
with R, and also the R-help posting guide. Both are full of useful
information.

Sarah
On Tue, Jul 10, 2012 at 2:11 PM, Faradj Koliev <faradj.g at gmail.com> wrote:

  
    
#
On Tue, 10 Jul 2012, Faradj Koliev wrote:

            
Try:

skatter <- read.csv('/Users/kama/Desktop/skatter.csv', header = T, sep =
';')

Rich
On Jul 10, 2012, at 2:56 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:

            
That seems paradoxical...

Michael
#
On 10.07.2012 20:11, Faradj Koliev wrote:
Could it be a problem with your Working directory? use getwd() to find
out whether your working directory is set to your Desktop where your
file seems to be and use setwd("/Path/to/Desktop") to go there if you
aren't. Then you can use read.csv() without an absolute path for your
file as you did above

Regards, Moritz