> Joris Meys
> on Tue, 25 Oct 2011 15:26:10 +0200 writes:
> This is a question for R-Help, not for R-devel by all
> means. You're lucky to get an answer, but please use the
> right channels in the future.
Yes indeed!
{@ others: do not help in such cases; R-devel is *not
This is a question for R-Help, not for R-devel by all means. You're
lucky to get an answer, but please use the right channels in the
future.
Cheers
Joris
On Tue, Oct 25, 2011 at 2:59 PM, RMSOPS wrote:
> Hello Hans,
>
> Thanks for the reply,
>
> already changed and it gives me the following error
On 25 Oct 2011, at 14:59, RMSOPS wrote:
> Error in strsplit(line, ",*") : non-character argument
I wrote strsplit(line, ", *")
a " " [space] between , and * !!
Cheers,
--Hans
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinf
Hello Hans,
Thanks for the reply,
already changed and it gives me the following error
Error in strsplit(line, ",*") : non-character argument
#dataset read file
dataset
num<-nrow(dataset)
num
#results
> dataset
A.B
1 A,B,D
2 F,G
3 A,B,E
4 F,G
5 E,H
6 A,E
7 E,H
8 A,B,C
9 E,H
On 25 Oct 2011, at 00:34, RMSOPS wrote:
> To be more specific, my problem is here
> Line <-dataset $ Items [i]
> print (line)
> in.s <- strsplit (line, '')
>
> I am reading lines from a file
> Line 1 A, B, C, D, G
> Line 2 A, C, E,
> ...
> line n F, G
>
> the problem is that I can not make
Hello
To be more specific, my problem is here
Line <-dataset $ Items [i]
print (line)
in.s <- strsplit (line, '')
I am reading lines from a file
Line 1 A, B, C, D, G
Line 2 A, C, E,
...
line n F, G
the problem is that I can not make the split of the comma, so I can not get
the
Le lundi 24 octobre 2011 à 03:31 -0700, RMSOPS a écrit :
> I am using the following code but I do not know the debug and run for
> correct errors
>
> library (tcltk)
>
>
> file <-tclvalue (tkgetOpenFile ())
>if (nchar (file))
>{
> tkmessageBox ("Select the file")
>}
> else
>