Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 4th, 2013
38
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
d <- data.frame(a = c("A_foo1", "B_foo2", " _foo3"))
a
A
B
" "
a <- c("A_foo1", "B_foo2", " _foo3")
gsub("_.*", "", a)
#[1] "A" "B" " "
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C# | 3 min ago | 2.97 KB
Dungeon Teleporter
Lua | 20 min ago | 4.94 KB
Pastebin.ai - #1 pastebin alternative
PHP | 26 min ago | 0.84 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 31 min ago | 0.38 KB
Untitled
C | 38 min ago | 1.40 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 41 min ago | 0.39 KB
RPM Counter by IR and BT on ESP32
C++ | 46 min ago | 4.89 KB
vue
JavaScript | 47 min ago | 1.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!