Posts

Showing posts from February 23, 2019

jupyter notebook with R cannot display specific Kanji (multibyte characters)

Image
1 I am using jupyter notebook, but R kernel(IRkernel) sometimes die when inputting Kanji(japanese multibyte chars). I've tried a few Kanji, and found that IRkernel dies when using specific Kanji characters. For example, '十', '能', '表', etc. enter image description here Above image is R concole. Below is Python console. It doesen't work with R kernel only. enter image description here    [I 12:44:58.387 LabApp] Kernel started: 9bbe39ea-ef5a-40c3-ae71-fa071874fc79 -- Attaching packages --------------------------------------- tidyverse 1.2.1 -- tibble 1.4.2 purrr 0.2.5 tidyr 0.8.2 dplyr 0.7.8 readr 1.1.1 forcats 0.3.0 -- Conflicts ------------------------------------------ tidyverse_conflicts() -- x dplyr::between() masks data.table::between() x

「グレートジェマー」を作成中

This page is only for reference, If you need detailed information, please check here

2-Second getting location data. it is possible?

Image
0 I was using this code as location getter and saved it on my database. If i click the locate, it gives data every 10 second. and this is what i like to do; is it possible to get location data every 2-seconds? //this is my code locate.setOnClickListener(new View.OnClickListener() { @Override public void onClick(final View view) { mMap.setOnMyLocationChangeListener(new GoogleMap.OnMyLocationChangeListener() { @Override public void onMyLocationChange(Location location) { CameraUpdate center = CameraUpdateFactory.newLatLng(new LatLng(location.getLatitude(), location.getLongitude())); CameraUpdate zoom = CameraUpdateFactory.zoomTo(17); mMap.clear(); Marke