Please help me solve this problem. I use R Studio in Windows 10 (cpu 6700hq, ram 16gb)
I run this command
v_Time <- substr(v1, 2, sapply(gregexpr("\\_", md$variable), head, 1)-1)
It will help me convert string from T12_xxxx_yyyy
to T12
only.
v1
is a vector with 160 mil rows.
After run this command, my RAM up to 13gb and stopped, R studio session is still running but I wait a long time, no thing happended.
It was hang, because I saw my RAM is stoped at 13gb and it did not change. Free ram is more than 2gb.
Any one can help me solve this problem?