Rename R file using R Programming command
ماذا فعلا:
R هي لغة برمجة مجانية تستخدم في مجال الحوسبة الإحصائية والرسومات. يستخدم هذا البرنامج بشكل رئيسي من قبل الإحصائيين ومحللي البيانات.Pin
In this R Programming tutorial/post we are discussing how to rename an R data using R command.
لماذا:
على الرغم من أن أنظمة التشغيل لديها طريقة أبسط للقيام بذلك، إلا أنه عندما تعمل في بيئة برمجة، فإن القدرة على استخدام الأوامر لإنشاء الملفات أو معالجتها تكون مفيدة دائمًا.
How to rename R file:
الخطوة 1: إذا كنت لا تعرف الدليل النشط الخاص بك، فتحقق من ذلك باستخدام الأمر أدناه.
getwd()
الخطوة 2: Check if the file you want to rename exists in the directory
الملف موجود("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.