Hello all !
I am totally new to R and I'm trying to run a function from a specific package (taxonomizr) : getId.
It works like this :
data<-getId(c('Pestivirus A','Bos taurus','Homo'),taxaNames)
and as an output you get a table with one row with all the id associated to each species.
I have a lot of inputs (around 7000) that i concatenante in .txt file like this
'Pestivirus A','Bos taurus','Homo'...
I have tried to copy paste all the .txt file in the argument of the getId function. But when I run the command, nothing happens and I have symbol + instead of > in the console. Copy pasting only works for maximum about hundred of inputs (out of 7000).
Is there a way to use .txt file to avoid doing 70 copy pastes ?
I add it's the first time I am using R. So far I've imported my data like this and that's all
species <- read.csv("C:/Users/pdoinel/Desktop/species.txt", header=FALSE)