0
I can’t write the code for that package franc
identify the language of the worksheet data. This is the package repository: https://github.com/MangoTheCat/franc
The following code does not give me the desired result:
library(franc)
teste_franc <- read_excel("/teste-franc.xlsx")
head(teste_franc)
franc(teste_franc)
It reads only the phrase and indicates the translation.
How to read data from a spreadsheet and identify your language?
Welcome to Stackoverflow! Unfortunately, this question cannot be reproduced by anyone trying to answer it. Please take a look at this link (mainly in the use of function
dput
) and see how to ask a reproducible question in R. So, people who wish to help you will be able to do this in the best possible way.– Marcus Nunes
teste_franc
is a data.frame, not a string, the functionfranc
has a vector"character"
length 1 as input.– Rui Barradas