Do str(f1) . What does it return?
> paste("set @g1=", "244901_at")
[1] "set @g1= 244901_at"
works fine, so it must be your data is not what you think it is.
On Wed, Sep 2, 2009 at 1:03 PM, Fahim Md wrote:
> Hi there!!!
> I am having trouble with *paste* function. I dont know how to proceed. I
I am having trouble with paste function. I dont know how to proceed. I tried
many options but i failed miserably.
I am using a variable f1 to assign a string as below:
f1=dataLine[locAffyProbeID];
( the value of f1 is 244901_at )
Then I am using the paste function
paste("set @g1=", f1);
in
On 9/2/2009 1:28 PM, Phil Spector wrote:
Fahim -
Apparently dataline is a factor, so you'd need to use
paste('set g=',as.character(f1))
That shouldn't be necessary:
> f1 <- factor("abc")
> paste('set g=', f1)
[1] "set g= abc"
I think we need reproducible code to diagnose this one.
Fahim -
Apparently dataline is a factor, so you'd need to use
paste('set g=',as.character(f1))
- Phil Spector
Statistical Computing Facility
Department of Statistics
Hi there!!
I am having trouble with *paste* function. I dont know how to proceed. I
tried many options but i failed miserably.
I am using a variable f1 to assign a string as below:
f1=dataLine[locAffyProbeID];
( the value of f1 is *244901_at* )
Then I am using the paste function
paste("set g=",
Hi there!!!
I am having trouble with *paste* function. I dont know how to proceed. I
tried many options but i failed miserably.
I am using a variable f1 to assign a string as below:
f1=dataLine[locAffyProbeID];
( the value of f1 is *244901_at* )
Then I am using the paste function
paste("set @g
6 matches
Mail list logo