Dear list,
I am working with R to download numerous html source code from which the
data extracted will be further processed.
The problem is the Chinese character in the html source code are all
garbled and I can't really find a way to convert them to something readable.
This problem persists on
Dear list;
How can I speed up the run of following code (illustrative)
#
con-vector(numeric)
for (i in 1:limit)
{
if(matched data for the ith item found) {
if(i==1) {con-RowOfMatchedData } else
I am using the mlogit packages and get a data problem, for which I
can't find any clue from R archive.
code below shows my related code all the way to the error
#---
mydata - data.frame(dependent,x,y,z)
Hi, all
Can anybody hint if there is extant package or function to deal with
Heckman selection model where the outcome model is also probit?
In stata, it is called heckprob.
Thank you
yong
__
R-help@r-project.org mailing list
hi, list
R is undoudtedly my favorite statistic tool, however, the data
inputnpart has long been a pain. most data I have to deal with are
irregular and contains special character.
Recently I get a tab delimited data, read.table(filename,sep=\t)
constantly return erors for certain rows does not
be
• download.file() could leave the destination file open if the URL
was not able to be opened. (PR#14414)
(If you had followed the posting guide you would have tried R-patched before
posting )
On Wed, 24 Nov 2010, Yong Wang wrote:
Dear List
I asked this question before, got some tips
Dear List
I asked this question before, got some tips but can't get it solved.
it is clear now that this problem only occurs when run on windows (I
tested it on windows XP) nothing wrong at all when run on unix.
unfortunately, sometimes I have to run it on windows,
I appreciate any suggestion on
Dear List
I am running a loop downloading web pages and save the html to a
temporary file (use download.file() )
then read (using readLines) it in for processing;
finally write useful info from each processed page to a unique file
the problem is once the loop runs up to somewhere near 5000,
dear list
I know how to store a regex expression in perl and ruby, no clue on R.
I do read R regex manual , archives, and searched on line,
still I need somebody help me out on how to store a regular expression
in a variable.
Thank you very much
yong
Dear list
I used to use python or awk do preliminary process and then feed into
R. In some circumstances, the data transmission becomes quite a pain.
I am wondering if there is a convenient way to read in R text file
(not data, text file in common sense) and specify field separator and
records
Dear list
I need to 1) run several R scripts sequentially due to results waiting
and 2) run them in unix background since my ssh frequently timeout for
some reason.
if paste following codes to unix
R --vanilla script1
R --vanilla script2
R --vanilla script3
will result in simultaneous
Dear List
I am getting a problem when using eval(parse).
Code below sketchs what I am trying to do:
For each row of a N*K dataframe (I use a 2*2 dataframe in the example below),
applying a number of functions and get the outputs (two functions,
sum and var are used in the example below).
The
Dear list,
This is NOT a techical question ragrding use of R.
I have a linear model where the response variable is neigborhood
safety . It is projected poverty deteriorate safety and number of
officers per thousand residents improve safety. The focal hypothesis
is poverty poses less safety
Dear list
I am trying to install the systemfit package under unix,
install.packages(systemfit)
the installation failed. I am attaching the error and version
information below,
(if dependencies=TRUE, much more error)
any help appreciated
best,
yong
Dear list
I am trying installing a package under unix, the command as below
works in some case but not some other cases, the primary
syndrome is R will stop there with a message: (say I am trying to
install the package SASxport)
###
Warning in install.packages(SASxport,
Dear List
I am trying to fit a simutaneous equation logit model. i.e., the
response variables of the structured equations are binomial, I am not
sure if systemfit can do this job. A google search doesn't yield too
much helpful information. Your knowledge on any other packages or
codes are
Dear Rlist
I am runing a for loop on a large dataset to do exploring
investigation. Code embedded in the loop include the lm routine.
Unfortunately, for some specification of dependent variable, the loop
will be interrupted by error as below:
Error in `contrasts-`(`*tmp*`, value =
17 matches
Mail list logo