[R] problem for strsplit function
y@ngk@|9999 @end|ng |rom y@hoo@com
Thu Jul 8 03:27:48 CEST 2021
I have a one column data frame to store file name with extension. I want to create new column to keep file name only without extension.
I tried to use strsplit("name1.csv", "\\.")[] to do that, but it just retain the first row only and it is a vector. how can do this for all of rows and put it into a new column?
[[alternative HTML version deleted]]
More information about the R-help