[R] Running CSV File

@vi@e@gross m@iii@g oii gm@ii@com @vi@e@gross m@iii@g oii gm@ii@com
Wed Apr 1 01:35:33 CEST 2026


Faith,

What you report is not compatible:

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.

Either your file name contains upper case as in Cancer_Data or it does not. You do not get that error message from that function call.

Please reproduce your data more faithfully.


-----Original Message-----
From: R-help <r-help-bounces using r-project.org> On Behalf Of Li DiJulia
Sent: Sunday, March 29, 2026 9:33 AM
To: r-help using r-project.org
Subject: Re: [R] Running CSV File

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 <dijulia98 using gmail.com> 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.
>
>
______________________________________________
R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list