Displaying 20 results from an estimated 29 matches for "yuchen".
2007 Apr 15
1
nls.control( ) has no influence on nls( ) !
...smaller value? The manual
that comes with the R software about nls( ) is very sketchy --- the only
relevant example I see is a separate command like 2).
A more relevent question might be, is lower the 'minFactor' the only
solution to the problem? What are the other options?
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2007 Jun 21
4
"if" within a function
...[1] "NULL"
It seems that only the last 'if' phrase works. Is it an instrinsic weakness
of R? Is there a way to get around it? ( I use 'elseif' to get around this
when there are only two cases to choose from, but what if there are more
than two cases to choose from?)
Best
Yuchen
[[alternative HTML version deleted]]
2007 Aug 03
2
Saving an expression to a file
...expression and I use function D to find its derivative,
which will be even longer. I save the resulting expression in a variavle,
say bbb. But when I tried to display bbb on the screen, the R screen is not
long enough for me to view it. Is there a way to save the expression to a
file?
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2007 Aug 13
2
How to write to a table column by column?
...ond list as a
second column, so that the two columns will lie side by side to each other
and I can easily compare their elements. ( If I use 'appened=TRUE', the
second time series will be stored in the same column. )
Thank you for your tine and your help will be highly appreciated!!
Best
Yuchen Luo
[[alternative HTML version deleted]]
2007 Aug 29
1
How to let the program know the end of a file is reached?
Dear collegues.
I am using scan( ) to read from a table (a csv file).
I am wondering how to let the program know that the end of the file is
reached?
Your help will be highly appreciated!
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2007 Aug 29
4
How to signal the end of the table?
...shrout=1.1, prc=1.1, mkt_cap=1.1, rtng=1.1, sec=1.1, cr3m=1.1,
cr5y=1.1, ust3m=1.1, ust5y=1.1), flush=TRUE, nlines=1,quiet=T)
...
}
The problem is how to articulate "while (the end of the table has not been
reached)", or equivalently, how to signal the end of the table?
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2007 Jun 23
3
Setting up a blank table with column names in the hard drive
...file, I need to add at least one row in the
table up front. How ever, I do not have the first loop of the program
completed yet at that time. If I add a row that is meaningless, how may I
delete it after all the loops are completed and all the meaningful rows are
added to the table?
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2007 Apr 12
2
How to manipulate the pointer of a file?
...UE, nlines=1)
d2
R Output:
------------
$name
[1] "Tom"
$wife
[1] "Joy"
$no.kids
[1] 9
----------------------
My question is, how to manipulate the pointer of the file further? For
example, what if I need the pointer to go back to the previous row?
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2007 Sep 07
1
'initial value not feasible' in constrOptim
...way out of this?
I am actually trying to translate a fortran code to R and the function I
want to replace is DBCPOL, which used 'the complex method" described in
Nelder and Mead (1965) and Gill et al. (1981). I believe contrOptim is
better than it because it is newer, is it?
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2013 Nov 20
2
[LLVMdev] Can't compile compiler-rt, asan error
Can you please reconfigure and attach the full log of 'make VERBOSE=1' ?
On Nov 20, 2013 8:25 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote:
> It looks like it:
>
> [/Volumes/Files/yuchen_wu/dev/llvm/build]$ xcrun --show-sdk-path --sdk
> iphonesimulator
>
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0...
2007 Jul 15
1
Looping through a series of (csv) files
...… …etc.
I do not want to manually change a little bit of the code to read a
different file and write to a different file every time. I want the program
to be able to loop through all the files.
My question is, how to loop through the 48 files?
Your help will be highly appreciated!
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2013 Nov 20
2
[LLVMdev] Can't compile compiler-rt, asan error
...glider at google.com> wrote:
> Do you have the iossim sdk installed on your machine (check by 'xcrun
> --show-sdk-path --sdk iphonesimulator')?
> If the answer is yes and you're testing on ToT, that's a bug. I'll take a
> look.
> On Nov 20, 2013 5:05 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote:
>
>> Compiler-rt is broken for me. I'm compiling with top of trunk llvm, clang
>> and compiler-rt using automake on Darwin.
>>
>> Is anyone else seeing this error?
>>
>> llvm[4]: Copying runtime library d...
2007 Apr 06
1
Reading a large csv file row by row
...k it
is because every time R reads, it needs to start from the first row of the
file and count xxx rows to find the row it needs to read. Therefore, it
takes more time for R to locate the row it needs to read.
Is there a solution to this problem?
Your help will be highly appreciated!
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2007 Sep 05
3
'singular gradient matrix’ when using nls() and how to make the program skip nls( ) and run on
...ounter a problem, the whole
program stops. In my case, the 3rd nls() runs into a problem. I would
still need the program to run the remaining 217 nls( )! Is there a way to
make the program skip the problematic nls() and complete the ramaining
nls()'s?
Your help will be highly appreciated!
Yuchen Luo
[[alternative HTML version deleted]]
2013 Nov 20
0
[LLVMdev] Can't compile compiler-rt, asan error
It looks like it:
[/Volumes/Files/yuchen_wu/dev/llvm/build]$ xcrun --show-sdk-path --sdk iphonesimulator
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
________________________________
> Date: Wed, 20 Nov 2013 08:03:21 +0400
> Subject: Re: [LLVMdev] Can't com...
2007 Aug 12
1
How to store the parameter estimated by nls( ) to a variable?
...he information. How ever, I need to
fit a different set of x and y in every loop of my code and I need to store
the estimated values for further use. I have checked both the online manual
and several S-plus books but no example as such showed up.
Your help will be highly appreciated!
Best Wishes
Yuchen Luo
[[alternative HTML version deleted]]
2013 Nov 20
0
[LLVMdev] Can't compile compiler-rt, asan error
...orm/clang_darwin.mk
91:ifneq ($(IOSSIM_SDK_PATH),)
157:IOSSIM_SDK_PATH := $(call XCRunSdkPath,iphonesimulator)
158:$(warning clang_darwin.mk: $(IOSSIM_SDK_PATH))
161: -isysroot $(IOSSIM_SDK_PATH) \
207: -mios-simulator-version-min=7.0 -isysroot $(IOSSIM_SDK_PATH)
On 2013 Nov 19, at 20:48, Yuchen Wu <yuchenericwu at hotmail.com> wrote:
> I'm running Mavericks. I'll attach the make log once it's done.
>
> ________________________________
>> Date: Wed, 20 Nov 2013 08:40:12 +0400
>> Subject: RE: [LLVMdev] Can't compile compiler-rt, asan error
>...
2013 Nov 20
2
[LLVMdev] Can't compile compiler-rt, asan error
I'm running Mavericks. I'll attach the make log once it's done.
________________________________
> Date: Wed, 20 Nov 2013 08:40:12 +0400
> Subject: RE: [LLVMdev] Can't compile compiler-rt, asan error
> From: glider at google.com
> To: yuchenericwu at hotmail.com
> CC: llvmdev at cs.uiuc.edu
>
>
> Also, which version of OSX you're running?
>
> On Nov 20, 2013 8:32 AM, "Alexander Potapenko"
> <glider at google.com<mailto:glider at google.com>> wrote:
>
> Can you please reconfi...
2013 Nov 20
0
[LLVMdev] Can't compile compiler-rt, asan error
Also, which version of OSX you're running?
On Nov 20, 2013 8:32 AM, "Alexander Potapenko" <glider at google.com> wrote:
> Can you please reconfigure and attach the full log of 'make VERBOSE=1' ?
> On Nov 20, 2013 8:25 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote:
>
>> It looks like it:
>>
>> [/Volumes/Files/yuchen_wu/dev/llvm/build]$ xcrun --show-sdk-path --sdk
>> iphonesimulator
>>
>> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Devel...
2013 Nov 20
1
[LLVMdev] Can't compile compiler-rt, asan error
...($(IOSSIM_SDK_PATH),)
> 157:IOSSIM_SDK_PATH := $(call XCRunSdkPath,iphonesimulator)
> 158:$(warning clang_darwin.mk: $(IOSSIM_SDK_PATH))
> 161: -isysroot $(IOSSIM_SDK_PATH) \
> 207: -mios-simulator-version-min=7.0 -isysroot $(IOSSIM_SDK_PATH)
>
> On 2013 Nov 19, at 20:48, Yuchen Wu <yuchenericwu at hotmail.com> wrote:
>
>> I'm running Mavericks. I'll attach the make log once it's done.
>>
>> ________________________________
>>> Date: Wed, 20 Nov 2013 08:40:12 +0400
>>> Subject: RE: [LLVMdev] Can't compile comp...