Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

5 results for “from:Anbu A”

Windows path backward slash
Anbu A · Dec 23, 2020 · r-help

Hi All, I am a newbie. This is my first program. I am trying to read SAS dataset from below path. I added escape "\" along "\" found in path C:\Users\axyz\Desktop\sas\ but still not working. fsasdat<-function(dsn...

Replace double slashes with single backslash
Anbu A · Dec 28, 2020 · r-help

Hi All, I am able to replace "r" with "x" for the word "Users" just for a test run. *Code: newlist %>% mutate(.,new_col=str_replace(fpath,"r","x")) *- this works fine But when I try to replace "\\" with "\". *newlist...

Windows path backward slash
Anbu A · Dec 24, 2020 · r-help

Hi Bill, r"{C:\Users\Anbu\Desktop\sas\}" - This is the key and code below worked. fsasdat<-function(dsn) { pat=r"{C:\Users\Anbu\Desktop\sas\}" str1=str_c(pat,dsn,".sas7bdat") read_sas(str1) #return(str1) } allmetrx=fsasdat("all...

Windows path backward slash
Anbu A · Dec 24, 2020 · r-help

Thanks, Jeff. The reason I am creating the function is I have to read some more datasets too. I have also modified the code as per your suggestion. I have to send the dataset name in parameter in subsequent calls...

Replace double slashes with single backslash
Anbu A · Dec 28, 2020 · r-help

Thank you, Jim. That clarifies. I am trying to pass this path in a loop and read the files associated with the path. Yes the length is 26 where double quotes are counted as single quotes. Let me try to...

Can't find what you're looking for? Try searching with Google .