Hi
The question is a bit messy.
On 14 Apr 2005 at 23:11, Cuichang Zhao wrote:
> hello,
> 1. when i get a column data from a table, it always follows with the
By table you mean table or data frame?
> level. for exmaple if i have a table = (v1, v2), and table$v1 = (1,
2,
> 3); and col1 <- table$v1; then there is level assign to the table,
so v1 is a factor or not?
> with 1 is level1 and 2 is level2 3 is level3 ect. however, when are
> want to get col1[3], which is 3, by when i add the col1[3] to a
list,
what list?
> the is actually appears as 33 instead of because the level for 3 is
3.
> In fact, the data i want is 3 not 33, so i don't want any levels
come
> with the data each time when read from the column in the table. how
> can i do that?
if v1 is a factor as.numeric(as.character(v1)) will make it numeric
>
> 2. how can i read from a file from a specific folder, and how i
create
> a folder and write a file to that folder?
what file?
see read.*, write.*, source, sink, RODBC and other possible file
manipulation functions.
and
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
Cheers
Petr
>
>
> Thank you very much.
>
> C-Ming
>
> April 14,2005
>
> __________________________________________________
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
Petr Pikal
petr.pikal at precheza.cz