gsub error message when addressing column in dataframe in RStudio
gsub error message when addressing column in dataframe in RStudio
Since a couple of days I get the following error message in RStudio from time to time and cant figure out what is causing it. When I write in the console window to address a data.frame followed by to address a specific column in the data.frame for example dfSomeVariable, the following message is shown in the console window and is printed over an over with every letter I type Error in gsubreStrip, , completions, perl TRUE : input string 38 is invalid UTF-8 The error message doesnt have any real effect. Everything works just fine except the automatic completion of the variable name. Im using R version 3.4.4 and RStudio Version 1.0.143 on a Windows computer. In the R script I am currently working on I dont use gsub or any other string or regular expression function for that matter. The issue appeared with various data.frames and various types of variables in the data.frames numeric, integer, date, factor, etc.. It also happens with various packages. Currently, I am using combinations of the packages readr, dplyr, plm, lfe, readstata13, infuser, and RPostgres. The issue disappears for a while after closing RStudio and opening it again but re-appears after working for a while. Does anyone have an idea what may cause this and how to fix it
Комментарии
Отправить комментарий