You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please explain below statement:
if(grep("specdata", directory) == 1) {
directory <- ("./specdata/")
print(directory)
}
I have doubt in specifically understanding if(grep("specdata", directory) == 1).. Is it comparing "specdata" with the argument directory and if it's the same then directory being assigned to the current working directory?? Please reply asap.
The text was updated successfully, but these errors were encountered:
if(grep("specdata", directory) == 1) // This statement is used to compare "specdata" in current working directory And other two statements are used to store data in directory vector that are present in specdata folder and print it.
Can you please explain below statement:
if(grep("specdata", directory) == 1) {
directory <- ("./specdata/")
print(directory)
}
I have doubt in specifically understanding if(grep("specdata", directory) == 1).. Is it comparing "specdata" with the argument directory and if it's the same then directory being assigned to the current working directory?? Please reply asap.
The text was updated successfully, but these errors were encountered: