InseadDataAnalytics / INSEADAnalytics

Other
122 stars 1.31k forks source link

Issue generating tables in RStudio (exercise set 2) #64

Open louismather opened 7 years ago

louismather commented 7 years ago

Following code:

show_data = round(cor(futures_data),2) iprint.df(show_data, scale=TRUE)

does not generate a table, just a string of text in the format:

<span style="display: inline-block; direction: rtl; border-radius: 4px; padding-right: 2px; .......

tevgeniou commented 7 years ago

see issue #63 and also ope html file generated when "knitr" the document

vkapartzianis commented 7 years ago

Are you trying to print the output in an R console? You'll get an HTML string by default in this case. You can display the table "inline" in RStudio or after knitting (compiling) the document of course.

image

vkapartzianis commented 7 years ago

Alternatively, you can just print(show_data) in the console, but the table's too large to view this way.