r2excel icon indicating copy to clipboard operation
r2excel copied to clipboard

addHeader Not Found

Open jerive31 opened this issue 6 years ago • 1 comments

Hi,

I copied and pasted your code in order to test it out on my instance of RStudio but continue to get a "could not find function "xlsx.addHeader"". Is there something wrong with the code or R? I'm fairly new to R so perhaps the answer is fairly simple, but thought I'd check in.

jerive31 avatar Jun 27 '18 20:06 jerive31

Al ejecutar xlsx.addHeader(wb, sheet, value="Header 1",level=1, color="black")

Aparece el siguiente mensaje: Error in .jnew("java.awt.Color", rgb[1], rgb[2], rgb[3]) : java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color

jhoreina avatar Sep 24 '18 20:09 jhoreina