Re: [R] special character encoding problem

2013-03-31 Thread Huidong TIAN
, <0 values from opposite edge) xgraphics = -25 ygraphics = 0 ## Language for messages language = ## Default setting for console buffering: 'yes' or 'no' buffered = yes On Sun, Mar 31, 2013 at 3:31 PM, Duncan Murdoch wrote: > On 13-03-30 5:07 PM, Huidong TIAN

[R] special character encoding problem

2013-03-30 Thread Huidong TIAN
<- data.frame(part = c("målløs", "ny")) > head(x) part 1 mlls 2 ny > x$part [1] målløs ny Levels: mlls ny Thanks! -- Huidong Tian, Postdoc Swedish University of Agricultural Sciences Department of Aquatic Resources Institute of Marine Resea

[R] Character change to Unicode format escape character when create a data frame

2013-03-23 Thread Huidong Tian
an explain? > x <- data.frame(part = c("målløs", "ny")) > x part 1 mlls 2 ny x[1,1] [1] målløs Levels: mlls ny Regards! -- Huidong Tian, Postdoc Swedish University of Agricultural Sciences

[R] Sum of the deviance explained by each term in a gam model does not equal to the deviance explained by the full model.

2011-11-10 Thread Huidong TIAN
> > dev.1 + dev.2 [1] 0.6974949 > summary(b)$dev.expl [1] 0.7298136 I checked the two models (b1 & b2), found the model coefficients are different with model b, so I feel it could be the problem. wish to hear your comments. Huidong Tian [[alternative HTML version delete

Re: [R] R-help Digest, Vol 80, Issue 30

2009-10-30 Thread Huidong TIAN
Dear friends, I will be very happy if anyone tell me the way to change work directory permanently? I mean not use the function setwd() which can only change temporary, when you close the console, it will the old directory. Sys.setenv(R_USER = '') also doesn't work. [[alternative HTML vers