Skip to content

Regarding setting the directory #3

@Prakhar1008

Description

@Prakhar1008

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions