Displaying 1 result from an estimated 1 matches for "sqrtcpd".
Did you mean:
sirtcp
2012 Feb 13
1
comment lines sometimes removed from a function on exit from internal R editor
...relate to this in the Changelog. I don't recall encountering this behavior with previous versions of R. Any suggestions on how to preserve the comment lines would be greatly appreciated. Many apologies if this is a stupid question. Cleridy
## this function has comments at the top:
> mapsp.sqrtcpd.f
function (input.frm, cpd.numerator, cpd.denominator, basis.dim,
npts, nyrs.unq, prop.ctch)
{
# here are some comments
# and more
#
year.min<- 1975
......
## copy function to a dummy function:
> tmp.f<-mapsp.sqrtcpd.f
## now edit it with fix and remove a ) so th...