When I was playing the example of the " How to transform a string in Date format in R? " the command
tab<-readHTMLTable(u,header=T,skip.rows=1)
failed. The error happened because in my environment it is natural to assign the T
value
of the period I am analyzing. For this reason, in my environment, T
is not synonymous with TRUE
and the command fails.
This made me realize that I run the serious risk of accidentally entering pi = 7
, which would lead to serious analysis errors.
The question is how to declare pi
as a constant?