Rename R File: How to rename a file in R

R Programming
Оглавление

Rename R file using R Programming command

Что это:

R is a free software programming language used in the field of statistical computing and graphics. This program is mainly used by Statisticians and Data Analysts.Rename R FilePin

In this R Programming tutorial/post we are discussing how to rename an R data using R command.

Why:

Though Operating systems will have simpler way of doing this however when you are working in the programming environment having the ability to use the commands for creating or manipulating the files is always useful.

How to rename R file:





Шаг 1: If you do not know your active directory check the same using the below command.

getwd()

Шаг 2: Check if the file you want to rename exists in the directory

file.exists(“myfileName.R“)

Шаг 3: If the file exists then use the below command to rename it.

file.rename(“myfileName.R” , “myfileRename.R“)

**replace the “myFileName” and “myfileRename” with your actual file names.

Примечание: Make sure you are using the commands after the ‘>’ symbol.


Picture of Anson Antony
Энсон Энтони
Энсон — соавтор и основатель компании www.askeygeek.com. Изучение чего-то нового всегда было его страстью, а ASKEYGEEK.com — результат его страсти к технологиям и бизнесу. Он имеет десятилетний разносторонний опыт в области аутсорсинга бизнес-процессов, финансов и бухгалтерского учета, информационных технологий, операционного совершенствования и бизнес-аналитики. За время своего пребывания в должности он работал в таких организациях, как Genpact, Hewlett Packard, M*Modal и Capgemini, занимая различные должности и обязанности. Помимо бизнеса и технологий, он любитель кино, который часами вместе смотрит и изучает кино, а также кинорежиссер!

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Поздравляем!
Ты сделал это,
Не закрывайтесь!

Вставай 60 000 Кредиты на персонажей UberTTS бесплатно!!!

Это всплывающее окно не покажет вам решать снова!!!

УберТТС
Share to...