Question: I am fairly new to R and I would like to paste the string "exampletext" in front of each file name within the path.

```
   csvList <- list.files(path = "./csv_by_subject") %>%
      paste0("*exampletext") 

```

Currently this code renders things like "csv\*exampletext" and I want it to be \*exampletextcsv". I would like to continue to using dplyr and piping - help appreciated!

Answer: 
As others pointed out, the pipe is not necessary here. But if you do want to use it, you just have to specify that the second argument to `paste0` is "the thing you are piping", which you do using a period (.)

```
list.files(path = "./csv_by_subject") %>%
      paste0("*exampletext", .)

```
`paste0('exampletext', csvList)` should do the trick. It's not necessarily using `dplyr` and piping, but it's taking advantage of the vectorization features that R provides.