R Integration to Tableau simple correlation error -


i new in integrating r tableau , trying duplicate work of bala deshpande showing pearson correlation coefficient of mtcars variables. article of deshpande in link. http://www.simafore.com/blog/bid/120209/integrating-tableau-and-r-for-data-analytics-in-four-simple-steps

i have checked rserve connection , in processes. have checked connection in tableau , said has connected r. code have written calculated field written below.

script_real("cor(.arg1,.arg2)",([variable 1]),([variable 2]))

but, when try put correlation calculated field in color marks, shows warning states "an error occurred while communicating rserve service" , when click show details, shows, "error in cor(.arg1,.arg2): 'x' must numeric"

i have seen other posts , did not see helpful. have checked null or missing values there none. can help? thanks.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -