Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the website is empty sometimes #25

Open
pipi815 opened this issue Mar 29, 2024 · 11 comments
Open

the website is empty sometimes #25

pipi815 opened this issue Mar 29, 2024 · 11 comments

Comments

@pipi815
Copy link

pipi815 commented Mar 29, 2024

the website is empty sometimes,how to deal with.

@jinseob2kim
Copy link
Owner

Hello. please share the code or screenshot?

@pipi815
Copy link
Author

pipi815 commented Apr 28, 2024

image > jsBasicGadget(xinzang)

Listening on http://127.0.0.1:7571

@jinseob2kim
Copy link
Owner

Is "xinzang" data.frame?

@pipi815
Copy link
Author

pipi815 commented Apr 28, 2024

Yes and I've specified all the variables in the data frame, so it doesn't happen all the time but it happens sometimes

@jinseob2kim
Copy link
Owner

can you show str(xinzang) or summary(xinzang) ? I want to check the data

@pipi815
Copy link
Author

pipi815 commented Apr 28, 2024

Yes, of course. Please wait a minute. I used the same data box to load it successfully once this morning, but it has not been loaded again for some reason. It turns out that it will often load sometimes it can load sometimes it can't load I don't know why.

@pipi815
Copy link
Author

pipi815 commented Apr 28, 2024

str(xinzang)
tibble [319,795 × 17] (S3: tbl_df/tbl/data.frame)
$ xinzang : Factor w/ 2 levels "是","否": 1 1 1 1 1 2 1 1 1 1 ...
$ BMI : num [1:319795] 16.6 20.3 26.6 24.2 23.7 ...
$ xiyan : Factor w/ 2 levels "是","否": 2 1 2 1 1 2 1 2 1 1 ...
$ yinjiu : Factor w/ 2 levels "是","否": 1 1 1 1 1 1 1 1 1 1 ...
$ zhongfeng : Factor w/ 2 levels "是","否": 1 2 1 1 1 1 1 1 1 1 ...
$ shenti : num [1:319795] 3 0 20 0 28 6 15 5 0 0 ...
$ xinli : num [1:319795] 30 0 30 0 0 0 0 0 0 0 ...
$ buxing : Factor w/ 2 levels "是","否": 1 1 1 1 2 2 1 2 1 2 ...
$ xingbie : Factor w/ 2 levels "女","男": 1 1 2 1 1 1 1 1 1 2 ...
$ nianling : Factor w/ 13 levels "18-24","25-29",..: 8 13 10 12 5 12 11 13 13 10 ...
$ renzhong : Factor w/ 6 levels "印第安人","亚洲人",..: 6 6 6 6 6 3 6 6 6 6 ...
$ tangniaobing: Factor w/ 2 levels "是","否": 2 1 2 1 1 1 1 2 1 1 ...
$ huodong : Factor w/ 2 levels "是","否": NA NA NA NA NA NA NA NA NA NA ...
$ shuimian : num [1:319795] 5 7 8 6 8 12 4 9 5 10 ...
$ xiaochuan : Factor w/ 2 levels "是","否": 2 1 2 1 1 1 2 2 1 1 ...
$ shenzang : Factor w/ 2 levels "是","否": 1 1 1 1 1 1 1 1 2 1 ...
$ pifu : Factor w/ 2 levels "是","否": 2 1 1 2 1 1 2 1 1 1 ...
summary(xinzang)
xinzang BMI xiyan yinjiu zhongfeng shenti xinli buxing
是:292422 Min. :12.02 是:187887 是:298018 是:307726 Min. : 0.000 Min. : 0.000 是:275385
否: 27373 1st Qu.:24.03 否:131908 否: 21777 否: 12069 1st Qu.: 0.000 1st Qu.: 0.000 否: 44410
Median :27.34 Median : 0.000 Median : 0.000
Mean :28.33 Mean : 3.372 Mean : 3.898
3rd Qu.:31.42 3rd Qu.: 2.000 3rd Qu.: 3.000
Max. :94.85 Max. :30.000 Max. :30.000

xingbie nianling renzhong tangniaobing huodong shuimian xiaochuan shenzang
女:167805 65-69 : 34151 印第安人: 5202 是:276434 是 : 0 Min. : 1.000 是:276923 是:308016
男:151990 60-64 : 33686 亚洲人 : 8068 否: 43361 否 : 0 1st Qu.: 6.000 否: 42872 否: 11779
70-74 : 31065 黑人 : 22939 NA's:319795 Median : 7.000
55-59 : 29757 西班牙裔: 27446 Mean : 7.097
50-54 : 25382 其他人种: 10928 3rd Qu.: 8.000
≥80 : 24153 白人 :245212 Max. :24.000
(Other):141601
pifu
是:289976
否: 29819

@jinseob2kim
Copy link
Owner

Thanks. We're not sure why yet, but we'll keep checking and let you know. Thanks for letting us know!

@pipi815
Copy link
Author

pipi815 commented Apr 28, 2024

Thanks for your reply. Is there any other way I can use this feature that I'm anxious to use right now

@jinseob2kim
Copy link
Owner

You can run jsBasicExtAddin() and upload your data file.

@pipi815
Copy link
Author

pipi815 commented Apr 28, 2024

Yes, I have also used this method, but I still reported an error and successfully ran it once in the morning, and then I couldn't run it again. Besides, I have cleared all the use environment and restarted the computer, which didn't get a good effect. Besides, there is no way to define the factor variables. Thank you very much.

jsBasicExtAddin(xinzang)

Listening on http://127.0.0.1:7571
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning in Ops.factor(left, right) : ‘<=’ not meaningful for factors
Warning: The select input "datafile-factor_vname" contains a large number of options; consider using server-side selectize for massively improved performance. See the Details section of the ?selectizeInput help topic.
File 心脏病数据.csv was uploaded
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants