Steven from iPhone
> On Feb 19, 2024, at 4:56 PM, Steven Yen wrote:
>
> Thanks to all. Glad there are many options.
>
> Steven from iPhone
>
>>> On Feb 19, 2024, at 1:55 PM, Rui Barradas wrote:
>>>
>> Às 03:27 de 19/02/2024, Steven Yen escreveu:
>>> I need to read csv files repeatedly, n
How can I call and include an external set of R codes, not necessarily a
complete procedure (which can be include with a “source” command). Example:
#I like to include and run the following lines residing in a file outside the
main program:
mydata<-transform(mydata,
a<-b+c
d<-e+f
}
Steven fro
I believe you will have to expain what you want more fully, as what you
requested appears to be exactly what source() does, to me anyway. Please
reread its help file more carefully perhaps?
-- Bert
On Tue, Feb 20, 2024 at 7:36 AM Steven Yen wrote:
> How can I call and include an external set of
Are you asking to source lines 5-10 of a file for instance?
Never seen that done in R. Feels a dodgy thing to do as changing line will
screw things up. On the other hand - I'd often have functions in a file
called perhaps "functions.R" and source("functions.R")
Then I can call an individual func
R version 4.3.1 (2023-06-16 ucrt) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or '
I am writing my master thesis in which I compared two cultures . So for my
statistics I need to compare Age,Sex,Culture as well as have a look at the
tasks scores .
Anyone familiar with this ?
I’d love to share my script so you guide me where I did wrong .
Regards
___
What happens if you add a line to the code in lines 1-5. So line 5 is now
line 6 etc?
Your "procedure" needs a name
So either it's a function, OR, we each procedure is a file to source?
On Tue, 20 Feb 2024, 16:55 Steven Yen, wrote:
> I see——still put those lines in a procedure and call the pr
Maybe I missed the rest of the post? You are more likely to get help with
your problems if you create a minimal reproducible example.
Kindest regards,
Stephen Sefick
On Tue, Feb 20, 2024, 12:24 James Powell wrote:
>
[[alternative HTML version deleted]]
... and if the problem is networking, then you will likely need help from
someone who knows your local configuration. Employers often do things that
limit what R can do, and none of us are likely to know about those things.
On February 20, 2024 11:43:24 AM PST, stephen sefick wrote:
>Maybe I mi
On Mon, 19 Feb 2024 17:39:23 +0100
Lisa Hupfer via R-help wrote:
> I am writing my master thesis in which I compared two cultures . So
> for my statistics I need to compare Age,Sex,Culture as well as have a
> look at the tasks scores .
>
> Anyone familiar with this ?
> I’d love to share my scr
Regarding 1 and 2, please read the Posting Guide mentioned at the bottom of
every R-help post. R does not equal statistics... and education about
statistics is way too ambitious to include in this mailing list that is about a
tool that happens to be useful for statisticians.
There are forums on
11 matches
Mail list logo