일전에 Spotfire와 R을 연동해서 GoogleMap을 가져오려고 했었는데 잘 안됐었다.
오늘 문의 했던 Support의 답변이 왔는데 아주 간단하게 해결되었네...
require(ggmap) City_map <- get_map(City, zoom = zoom) City_map_info<-ggmap(City_map, extent = "device", legend = "topleft") googlemap<-makePNGBlob(print(City_map_info),width=500,height=500)
print 함수를 써서 간단하게 해결....
해결된 결과 City/State에 도시를 입력하면 해당 도시에 대한 지도를 가져오는 예제이다.
'Data Analysis > Spotfire' 카테고리의 다른 글
Spotfire : 개발 관련 참조 (0) | 2015.06.29 |
---|---|
Spotfire : Spotfire 7.0 Release (0) | 2015.03.11 |
Spotfire : Data Function 실행 시 로그 생성하기 (0) | 2015.02.13 |
Spotfire : Aster 연동 Data Template (0) | 2013.09.23 |
Spotfire : Spotfire & R 연동해서 Google 맵 가져오기 (8) | 2013.09.05 |
댓글