0% found this document useful (0 votes)
17 views1 page

R Version 4.4.2 Overview and Errors

The document details the R programming environment version 4.4.2, including copyright information and basic commands for usage. It highlights the collaborative nature of R and provides instructions for accessing help and demos. Additionally, it includes examples of user commands and errors encountered while attempting to define and use functions in R.

Uploaded by

aliata530561
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views1 page

R Version 4.4.2 Overview and Errors

The document details the R programming environment version 4.4.2, including copyright information and basic commands for usage. It highlights the collaborative nature of R and provides instructions for accessing help and demos. Additionally, it includes examples of user commands and errors encountered while attempting to define and use functions in R.

Uploaded by

aliata530561
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

R version 4.4.

2 (2024-10-31) -- "Pile of Leaves"


Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20

R is free software and comes with ABSOLUTELY NO WARRANTY.


You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.


Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or


'[Link]()' for an HTML browser interface to help.
Type 'q()' to quit R.

[[Link] GUI 1.81 (8462) aarch64-apple-darwin20]

[History restored from /Users/aliata/.[Link]]

> getwd()
[1] "/Users/aliata"
> getwd()
[1] "/Users/aliata"
>
>
>
>
> getwc()
Error in getwc() : could not find function "getwc"
> getwd()
[1] "/Users/aliata/Desktop/coursera r"
> my function function(x) {
Error: unexpected 'function' in "my function"
> y <- rmore(100)
Error in rmore(100) : could not find function "rmore"
> mean(y)
Error: object 'y' not found
> }
Error: unexpected '}' in "}"
>
> myfunction <- function(x) {}
>
> myfunction <- function(x) {
+ y <- rmore(100)
+ mean(y)
+ }
>
> ls{}
Error: unexpected '{' in "ls{"
> ls()
[1] "myfunction"
>
>
>
>

You might also like