In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
It is believed that many inexperienced people have no idea about how to use R language to call data interface in AkShare. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
Install the corresponding package in R language
Reticulate
Install.packages ("reticulate")
After the installation is complete, the
Library (reticulate)
Use_python ("/ usr/local/bin/python")
Call the local Python program, where usr needs to be replaced with the user name of your local computer.
Finally, we show a demonstration code that calls AkShare to get data in the R language through the reticulate package:
Library (reticulate) # Import reticulate package
Use_python ("/ king/local/bin/python") # where king is the local computer user name
Ak
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.