Re: Running CSV File

Li DiJulia <[email protected]> Sun, 29 Mar 2026 09:33:08 -0400
Newsgroups gmane.comp.lang.r.general
Message-ID <CAGghxKPGWicuY8uTHzL3Kjn8GwJ7o4pNV=Oojq5JKfROCmY_tg@mail.gmail.com>
To whom it may concern,

I am trying to save this file "cancer data," which I have attached in this
email, into working directory and when I click on "to source file location"
under "set working directory" it says- The current active source is not
saved so does not have a directory to change into. I even clicked on
"choose directory" under set working directory, my file still won't show
up.

As for g<-read.csv( "cancer_data", header= True, sep=','), I got this
message: In file(file, "rt") :
cannot open file 'Cancer_Data': No such file or directory.

Thanks,
Faith DiJulia



On Sat, Mar 28, 2026 at 1:26 PM Li DiJulia <[email protected]> wrote:

> To whom it may concern,
>
> I am trying to save this file "cancer data," which I have attached in this
> email, into working directory and when I click on "to source file location"
> under set working directory" it says- The current active source is not
> saved so does not have a directory to change into. I even clicked on
> "choose directory" under set working directory, my file still won't show
> up.
>
> As for running data, When I downloaded the cancer data into R studio and
> ran g<-read. csv (" cancer_data," header=True, sep ','), I got this error
> message: *unexpected string consonant in g<-read. csv. (" cancer_data,"
> header=True, sep ',').*
>
> Note: I saved the data in my computer as "cancer data." I am not sure what
> I am doing wrong. Please advise
>
> When I tried this g<-read.csv. ("cancer_data," header=true, sep=",") I got
> this: in read.csv. ("cancer_data, header= true, sep=','):could not find
> function "read.csv". I am not sure what I am doing wrong. Please advise
>
>
> Thanks.
>
>