Displaying 20 results from an estimated 10000 matches similar to: "a quick question about the package "car"?"
2017 Jun 01
0
Problem of a function I wrote
Hello everyone,
It seems that I was not successfully attached the code. Here is the
code. I appreciate any help!
Best,
Yen
?? b88207001 at ntu.edu.tw:
> Hello everyone,
>
> I have been working on a code which simply repeatedly appends a
> number into a vector and write a file. However, it could not be
> properly implemented when I use it. It works when I run it line by
2020 Oct 08
0
unable to access index for repository...
All support on this list is voluntary, and support for old versions of R is not even necessarily on-topic here which is why you keep getting nudged to upgrade. Your "need" for support for an old version is definitely not "our" problem, so I suggest you start looking for a consultant if this issue is that important to you. Such is the nature of volunteer-developed open source
2020 Oct 08
2
unable to access index for repository...
Thanks for the help. I have a reason to continue with R-3.0.3. I used
maxLik to estimate econometric models and some of them are better
handled with R-3.0.3 (but not later)----a sad reality I do not like.
Here is what I did. I downloaded
https://cran-archive.r-project.org/bin/windows/contrib/3.0/aod_1.3.zip
and installed the zip file, which worked in both RStudio and R (without
RStudio).
In
2020 Oct 08
0
unable to access index for repository...
Don't choose a mirror. That will override the repos choice.
Do update R to a current version if you aren't able to debug this
yourself.
Duncan Murdoch
On 08/10/2020 12:38 p.m., Steven Yen wrote:
> Sorry Gentlemen and all. Now this is becoming a joke (to me). I repeated
> what I did earlier, with and without the option to set repos suggested
> by Duncan. Now it does not work.
2017 Jun 01
2
Problem of a function I wrote
Hello everyone,
I have been working on a code which simply repeatedly appends a number
into a vector and write a file. However, it could not be properly
implemented when I use it. It works when I run it line by line. I
wonder what is the problem and I appreciate anyone who is willing to
help.
The function and the example code is attached. Any advice is appreciated!
Best,
Yen
2020 Oct 08
2
unable to access index for repository...
Sorry Gentlemen and all. Now this is becoming a joke (to me). I repeated
what I did earlier, with and without the option to set repos suggested
by Duncan. Now it does not work. I wonder whether it is dependent on the
mirror I chose, but I do not remember the one I chose earlier when it work.
I need your help, gentlemen, as I need to use R-3.0.3 for my task.
>
2020 Oct 08
0
unable to access index for repository...
Okay, so it's not an RStudio issue. However, I'd guess setting
options(repos = "https://cran-archive.r-project.org")
at the start of your session could make everything work. (I'm guessing
you currently have it set to "http://cran.rstudio.com", which is the
source of the last warning below, probably due to an R bug. But since
you're using an obsolete
2010 Jun 15
3
Problem about zero
Hello, everyone,
There's a problem about zero in R and I really need your help.
I have a vector shown as x=c(0.1819711,0.4811463,0.1935151,0.1433675),
The sum of this vector is shown as 1 in R, but when I type 1-sum(x), the
value is not zero, but -2.220446e-16.
I can accept that this value is quite small and could be seen as zero, but
there would be a problem when it's not really
2006 Jan 09
2
warning message from nlme
Hi all,
I tried to do a variance components using nlme, but I got the following
warning mesage
#####################################################
not meaningful for factors in: Ops.factor(y[revOrder], Fitted)
######################################################
Can someone point out what is the meaning of this warning message? I
tried to look at Ops.factor, but I don't
2006 Jan 05
1
convert matrix to data frame
Hi all,
Suppose I have a 4 x 2 matrix A and I want to select the values in
second column such that the value in first column equals to k.
I gave the colnames as alpha beta, so I was trying to access the info
using
A$beta[A[,1]==k], however, I was told it's not a data frame, I can get
the object by using dollar sign. I tried data.frame(A), but it didn't
work.
Any input
2017 Jun 01
1
Problem of a function I wrote
Hello everyone,
I know where is wrong. I forget to specify the parameters in my
function. Thank you for anyone who was trying to help me!
Best,
Yen
?? b88207001 at ntu.edu.tw:
> Hello everyone,
>
> It seems that I was not successfully attached the code. Here is the
> code. I appreciate any help!
>
> Best,
> Yen
>
> ?? b88207001 at ntu.edu.tw:
>
>> Hello
2020 Oct 08
2
unable to access index for repository...
Thanks. You gentlemen please tell me what this means. In R (outside of
RStudio) I ran:
install.packages("aod")
Received a warning (and installation did not seem to go through).
Then I tried
install.packages("aod",repos='https://cran-archive.r-project.org')
Received a warning but it went on to try
2011 Nov 28
3
Rprofile.site
Dear All
I inserted a frequently used function (subroutine) right into my Rprofile.site which allows me to run it each time-works great. However, this approach is obviously suitable for a short function or a small number of functions. Instead of inserting the lines in Rprofile.site, is there a way to insert one line pointing to (fetching) the function in a local drive, similar to #include
2005 Feb 18
2
Partial structural Change in STRUCCHANGE PACKAGE
Hi,
I am using the Strucchange package in R to test for structural change in regression coeffcient. Given a model y = b0 + b1*X + b2*Z, the Fstats test whether there is a change in both b1 and b2 over a time period.
Is there any way where I can restrict the test to hold b2 constant and test for break in only b1? That is, instead of a pure structural change, could I test for partial structural
2023 Feb 12
2
Removing variables from data frame with a wile card
x["V2"]
is more efficient than using drop=FALSE, and perfectly normal syntax (data frames are lists of columns). I would ignore the naysayers, or put a comment in if you want to accelerate their uptake.
As I understand it, one of the main reasons tibbles exist is because of drop=TRUE. List-slice (single-dimension) indexing works equally well with both standard and tibble types of data
2020 Oct 08
2
unable to access index for repository...
He didn't specify the RStudio repos, though it's probably implicitly
specified in getOption("repos"). I wonder why install.packages() is
looking there, when repos is given explicitly?
On 08/10/2020 8:54 a.m., Uwe Ligges wrote:
> Drop the RStudio repos.
>
> Best,
> Uwe Ligges
>
> On 05.10.2020 11:10, Steven Yen wrote:
>> Thanks. I did as suggested but
2020 Oct 08
0
unable to access index for repository...
Drop the RStudio repos.
Best,
Uwe Ligges
On 05.10.2020 11:10, Steven Yen wrote:
> Thanks. I did as suggested but still received a warning, though the
> installation went through. Anything I could do to install without the
> warning message.
>
> What is the contrib.url argument?
>
> > install.packages("aod",repos='https://cran-archive.r-project.org')
2006 Jan 20
1
Loop through factors without changing to numerics
Hi all,
If I want to write a for loop to loop through a set of factors, which
are not coded in 1,2,3, for e.g in character, possible to write the for
loop without changing it to categorical variables? I saw the manual
mentions for loop will take a list, but I'm not sure how to create a
list here. Any input will be appreciated. Thanks.
Yen Lin
[[alternative HTML version deleted]]
2006 Oct 09
2
How can I delete components in a column ?
Hi all R-helpers,
i am a new R-user and have problem with deleting some components in a column. I have a dataset like
Name Id x
empty 2
empty 3
a none 2
b none 3
d none 2
ad cfh 4
bf cdt 5
empty 2
empty 2
gf cdh 4
d none 5
and want to
2010 Feb 28
2
Calling SAS from R
I'm new to post in R-help and my native language is not English.
I apologize if my sentence is not fluent to read.
I am doing a simulation study and I need to execute SAS and read a SAS code
in R.
I try the following code but it doesn't work.
system('"c:\\program files\\SAS\\SAS 9.1\\sas.exe" "c:\\syntax.sas"')
can anyone give me some help with this?