尝试在Red Hat上使用R Studio安装pmml包。我得到以下输出:
================================================
downloaded 136 KB
* installing *source* package 'pmml' ...
** package 'pmml' successfully unpacked and MD5 sums checked
** R
** data
** inst
** preparing package for lazy loading
Error : object 'str_interp' is not exported by 'namespace:stringr'
ERROR: lazy loading failed for package ?pmml?
* removing '/usr/lib64/R/library/pmml'
Warning in install.packages :
installation of package 'pmml' had non-zero exit status
答案 0 :(得分:2)
您已过时stringr
个套餐。使用以下命令从CRAN安装新的install.packages(c("stringr"))
软件包:
angular.module('app', [])
.controller('myApp', function($scope, $http) {
$http.get('http://yourapp/api').
then(function(response) {
$scope.datafromapi = response.data;
});
});