यह जाँचने के लिए कि क्या निर्देशिका में कोई फ़ाइल मौजूद है, R कमांड

आर प्रोग्रामिंग
विषयसूची

यह जाँचने के लिए कि क्या निर्देशिका में कोई फ़ाइल मौजूद है, R कमांड

क्या यह है:

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.R CommandPin

In this r programming tutorial/post we are discussing R Command to check if an R file exists in the directory.

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 check if a file exists in the directory using R Command:





स्टेप 1: If you do not know your active directory check the same using the below command.

getwd()

चरण दो: Use the below r command to check if the file exists in your current directory

file.exists(“myFile.R“)

**replace the “myFile” with your actual file name.

टिप्पणी: Make sure you are using the commands after the ‘>’ symbol


Picture of Anson Antony
एंसन एंटनी
एंसन एक योगदानकर्ता लेखक और संस्थापक हैं www.askeygeek.com. कुछ भी नया सीखना हमेशा से उनका जुनून रहा है, ASKEYGEEK.com प्रौद्योगिकी और व्यवसाय के प्रति उनके जुनून का परिणाम है। उन्हें बिजनेस प्रोसेस आउटसोर्सिंग, वित्त और लेखा, सूचना प्रौद्योगिकी, परिचालन उत्कृष्टता और बिजनेस इंटेलिजेंस में एक दशक का बहुमुखी अनुभव मिला है। कार्यकाल के दौरान, उन्होंने विभिन्न भूमिकाओं और जिम्मेदारियों में जेनपैक्ट, हेवलेट पैकर्ड, एम*मोडल और कैपजेमिनी जैसे संगठनों के लिए काम किया था। व्यवसाय और प्रौद्योगिकी के अलावा, वह फिल्मों के शौकीन हैं, जो सिनेमा देखने और सीखने में घंटों बिताते हैं और एक फिल्म निर्माता भी हैं!

एक प्रतिक्रिया

प्रातिक्रिया दे

आपका ईमेल पता प्रकाशित नहीं किया जाएगा. आवश्यक फ़ील्ड चिह्नित हैं *

बधाई हो!
आपने कर दिखाया,
बंद मत करो!

उठो 60,000 UberTTS कैरेक्टर क्रेडिट निःशुल्क!!!

यह पॉपअप नहीं दिखाएगा आप पर है दोबारा!!!

उबरटीटीएस
Share to...