rstudio tag

8 questions


1 answers
383 views
0
You want to use R to replace column values with NAs in other columns

Cleaning data using R.Below are three columns (ID, s1, s2) with two missing s1.If there is a missing s1, I would like to create a column that replaces the same row of s2 with NA. Could someone tell me...

2 years ago

1 answers
379 views
0
Please tell me the glm of each group on Rstudio.

in the data frame (df) belowglm(BP to age+sex+BMI, data=df).Is there a way to analyze data frames by group (sex)?Data frames interested:IDage Sex BP BMI1  43  0 120 212  62  1 130 263  54  1 132 234  ...

2 years ago

1 answers
181 views
0
R studio expected', 'after expression

On the R studio script, you must type in the line where you should type a comma, for example: On the leftmost side of the line, a blank mark appears.If you hover your cursor over this button, you will...

2 years ago

2 answers
98 views
0
CSV dateimport is not available on RStudio

If you try to dateimorort with csv, the following dialog appears:If you select yes here, the following message appears in the console:Error in file(con, r): enable to translate'C:/Users/Yoi eunuch/Qi-...

2 years ago

2 answers
170 views
0
Japanese message garbled while creating Rmarkdown file in RStudio

Operating System: Windows 10 Home 64-bitR version: 4.0.3RStudio version: 1.4.1106Directory: C:\Users\xxx\rmarkdownfile\test.Rmd (where xxx contains your username) This is my first time to ask you a qu...

2 years ago

1 answers
132 views
0
I want to know the script when RStudio wants to separate CSV data characters into two digits from the right.

I'd like to know the script when RStudio wants to separate CSV data characters into two digits from the right.

2 years ago

1 answers
108 views
0
RStudio cannot save files.

I have been using it normally, but when I suddenly press the Save button, the following warning screen appears File could no longer be savedThe same symptom occurs when I try to save it with a shortcu...

2 years ago

1 answers
127 views
0
garbled characters in RStudio Presentation

I use RStudio's Presentation feature to create slides.OS Windows 7RStudio ver.0.99.491 (latest) Encoding for Global/Project Option is UTF8.I have the following problems with choosing a character code....

2 years ago

© 2025 OneMinuteCode. All rights reserved.