I have the following list of words in a text file that i want to import in r as a vector. 

```
"^word1|
^word2|
^word3|
^word4"

```

The vector should be import like this example: `"^word1|^word2|^word3|^word4".`

```
eme <- scan("myfile", character(0), quote=" ", sep ="|", nmax=4)
[1] "\"^more"    "^rewards\""

```

Any idea ?