Thanks.
Xiaobo.Gu
>>-Original Message-
>>From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
>>Sent: Wednesday, September 15, 2010 5:06 PM
>>To: Xiaobo Gu
>>Cc: r-help@r-project.org; '顾小波'
>>Subject: Re: [R] assignment by value o
Hi,
I am running the examples in page 70 of the ff package document, but it
failed with the following error
> cat("let's create some ff objects\n")
let's create some ff objects
> n <- 8e3
> a <- ff(sample(n, n, TRUE), vmode="integer", length=n, filename="d:/tmp/a.ff")
> b <- ff(sample(255,
Hi Jens,
I have installed RTools, on my Win XP SP3 notebook, there are still
errors when running the examples,
> cat("let's create some ff objects\n")
let's create some ff objects
> n <- 8e3
> a <- ff(sample(n, n, TRUE), vmode="integer", length=n, filename="d:/tmp/a.ff")
> b <- ff(sample(255, n,
Hi,
It seems file.remove can't remove directories, regardless whether
it's an empty one, but how to delete a directory in R
> file.remove("D:/ffdata")
[1] FALSE
Warning message:
In file.remove("D:/ffdata") :
cannot remove file 'D:/ffdata', r
a2
2 2 瑕�� EURO\xa1
I see the following option, do I need to change the encoding option to
show the corresponding texts? In my case how to set?
$encoding
[1] "native.enc"
Thanks,
Xiaobo Gu
__
R-help@r-project.org mailing list
https://st
But Sys.setlocale tries to change the option of the whole OS, I just want only
R to use a specified encoding, how can I do this.
Xiaobo.Gu
>>-Original Message-
>>From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com]
>>Sent: Monday, November 29, 2010 8:57
Do you know what values should I set to the category and locale parameters in
order to use UTF-8 encoding in a Chinese Windows XP SP3 environment?
Sys.setlocale(category = "LC_ALL", locale = "")
Xiaobo Gu
>>-Original Message-
>>From: Gabor Grothendieck
But locale "Chinese" will use GBK encoding by default, how to use UTF-8
encoding
I have tried the following, neither of them works.
Sys.setlocale(locale = "zh_CN.UTF-8")
Sys.setlocale(category = "LC_CTYPE", locale= "zh_CN.UTF-8")
Xiaobo Gu
&g
gt; df <- dbGetQuery(con, "select * from test")
> df
a b
1 1 椤惧皬娉\xa2
2 2 瑕冩€\xa1
>
On Tue, Nov 30, 2010 at 10:25 PM, Gabor Grothendieck
wrote:
> On Tue, Nov 30, 2010 at 9:09 AM, Xiaobo Gu wrote:
>> But locale "Chinese" will use
t element will be used
5: In if (is.na(filesize)) stop("unable to open file") :
the condition has length > 1 and only the first element will be used
My questions are:
1. What's the datatype of the col_args parameter of the as.ffdf function
2. If I can make layout of the asffdf_a
rtual mapping
PhysicalName VirtualVmode PhysicalVmode AsIs VirtualIsMatrix
PhysicalIsMatrix PhysicalElementNo PhysicalFirstCol PhysicalLastCol
PhysicalIsOpen
col1 col1 integer integer FALSE FALSE
FALSE 11 1
TRUE
ffdf
Hi,
I am sorry for that I canât determine which R-sig list to post
questions about package ff.
Now I have made a little progress with this:
read.dbres.ffdf <- function(
res){
data1 <- fetch(res, 0)
if (nrow(data1) == 0){
Hi Team,
Can you please tell me the rules of assignment in R, by value or by
reference.
>From my about 3 months of experience of part time job of R, it seems most
>times it is by value, especially in function parameter and return values
>assignment; and it is by reference when referen
Because the major processing of R is single threaded, I think
computers such as IBM P servers with higher CPU Clock Speed will
achieve better performance.
Regards,
Xiaobo Gu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
rule of thumb to exam the fitted model from the
practical perspective.
Regards,
Xiaobo Gu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and
ormance of the fitted model, here what's the
difference between and "Deviance Residuals" and "Residual deviance"?
3. How to compare "Null deviance" and "Residual deviance"?
4. What does AIC mean, and how to use this measure?
5. What does the Signif. c
e", df) will write the content of data
frame df into a database table, will a new data frame object created
and used inside the dbWriteTable function?
Thanks.
>
> Uwe Ligges
>
>
>
> On 05.09.2010 17:19, Xiaobo Gu wrote:
>>
>> Hi Team,
>>
>>
e", df) will write the content of data
frame df into a database table, will a new data frame object created
and used inside the dbWriteTable function?
Thanks.
>
> Uwe Ligges
>
>
>
> On 05.09.2010 17:19, Xiaobo Gu wrote:
>>
>> Hi Team,
>>
>>
==
Xiaobo Gu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self
quot;, I have attached the
little dataset used to do the test.
Another question, why the confidence of the rules are all 1 ?
>
> Regards,
> Graham
>
>
>
>
> On 10 March 2011 02:07, Xiaobo Gu wrote:
>> Hi,
>> I am using Rattle 2.6.4 with R 2.12.2 on win64, is this a b
On Sat, Mar 12, 2011 at 10:02 AM, Graham Williams
wrote:
> On 12 March 2011 00:07, Xiaobo Gu wrote:
>> On Fri, Mar 11, 2011 at 2:55 AM, Graham Williams
>> wrote:
>>> Did you scroll down the window to see the rules?
>> OK, it takes a long time for rattle to show
Such as logistic regression, decision trees.
Or is that RHIPE only support MapReduce style algorithms.
Xiaobo Gu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
.arff")
Content of ddf.arff is
@relation ddf
@attribute x numeric
@attribute y {'1','2'}
@data
2011-01-01,'1'
2012-01-01,'2'
Here x is of type Date, but write.arff write it as numeric, but the actual
content is string, the result file is not with
FALSE
But if I call this in R console directlly, it works
for(col in c("x","y")){df[[col]] <- as.factor(df[[col]])}
is.factor(df[["x]])
FALSE
Regards,
Xiaobo Gu
__
R-help@r-project.org mailing list
https://stat.et
I am sorry, it is
for(col in c("x","y")){df[[col]] <- as.factor(df[[col]])}
is.factor(df[["x]])
TRUE
On Sun, Dec 11, 2011 at 10:06 AM, Xiaobo Gu wrote:
> Hi,
>
> I am trying to write a function do cast columns of data frame as
> factor in a lo
] <- as.factor(df[[col]])
}
}
df
}
> df <- as.factor.loop(df, c("x","y"))
> is.factor(df[["y"]])
[1] TRUE
Thanks.
Xiaobo Gu
On Sun, Dec 11, 2011 at 10:23 AM, Joshua Wiley wrote:
> Hi Xiaobo,
>
> The problem is that your function is not assigni
] <- as.factor(df[[col]])
}
}
df
}
And got this warning message,
> source('D:/ambertuil.r')
Warning message:
In readLines(file) : incomplete final line found on 'D:/ambertuil.r'
Can you help with this?
Regards,
Xiaobo Gu
__
On Sun, Dec 11, 2011 at 5:03 PM, Prof Brian Ripley
wrote:
> On Sun, 11 Dec 2011, David Winsemius wrote:
>
>>
>> On Dec 10, 2011, at 10:01 PM, Xiaobo Gu wrote:
>
>
> without following the posting guide in several respects and hence leaving us
> guessing
&
uot;
copycmd <- "-c \"\\copy demo.store to 'd:\\store.csv' with csv header\""
args <- c("-h", gphost, "-U", gpuser, "-w", "-d", gpdb, copycmd )
system2(psql, args)
And the return value of system2 function is 127.
Reg
Hi,
install.packages("splines")
Warning in install.packages :
package ‘splines’ is not available (for R version 2.14.1)
Regards,
Xiaobo Gu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE d
Thanks, reinstalling R 2.14.1 fixes this problem.
On Mon, Jan 9, 2012 at 8:31 PM, Duncan Murdoch wrote:
>
> On 12-01-08 9:56 PM, Xiaobo Gu wrote:
>>
>> Hi,
>>
>> install.packages("splines")
>>
>> Warning in install.packages :
>>
Hi,
I got a stack overflow error when training a glm model with a very long
formula.
Regards,
Xiaobo Gu
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
2012/3/31 Uwe Ligges
>
>
> On 30.03.2012 03:16, Xiaobo Gu wrote:
>
>> Hi,
>>
>> I got a stack overflow error when training a glm model with a very long
>> formula.
>>
>
> I just tried with a formula of length 1000. How long was yours?
> Whi
ve really big machines around.
We do have big machines, but we don't have more obs for this data, so we will
revise the algorithm to try less combinations data set size.
Regards,
Xiaobo Gu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/
ted, and your OS documentation will tell you how to
>increase it.
We are running R on Windows 7 64bit Home basic and Windows Server 2003 64bit
Xiaobo Gu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do re
rds,
Xiaobo Gu
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
n of all the variables and factors
>appearing in the term.
What does interaction mean, and what does term mean here ?
Xiaobo Gu
From: David Winsemius
Date: 2012-01-19 21:46
To: guxiaobo1982
CC: r-help; ds5j
Subject: Re: [R] What does the : operator mean in glm formulas
On Jan 19, 2012, at 8:0
37 matches
Mail list logo