Displaying 20 results from an estimated 5000 matches similar to: "Using while statements to insert rows in a dataframe"
2009 May 18
1
error in importing text files
Hello All:
I am very new to R and am trying to import some (107) text files into R while simultaneously manipulating the data into a structure that I can use. Below is a description of what I am trying to ultimately accomplish. However, I find that I am unable to even read one file into R using the read.table function. I get the following error:
> test<-read.table("test4.txt")
2009 Sep 26
1
renaming intercept column when retrieving coeficients from lme using coef function
I am still fairly new to R and have a fairly rudimentary question. I am
trying to name a vector of coefficients retrieved from a multilevel model
using the coef function. I guess the default name is "Intercept" and I
cannot figure out how to rename it.
I have tried the using the code below to name the column of coefficients
ind.y derived from an lme model. Unfortunately, the
2001 Sep 14
1
Rai and Van Ryzin Model
R-users,
Has anyone implemented (coded) the Rai and Van Ryzin dose-response model from
their 1985 Biometrics paper. I'm trying to avoid re-inventing the wheel. If not
any hints on coding this would be greatly appreciated.
Thanks,
--
==================== Calvin L. Williams, Ph.D. ====================
Department of Mathematical Sciences, Clemson University
2011 Feb 07
4
delete rows
Hello. I came across your response in an R forum and could use your help. I have a data set with 472 rows. I want to delete rows 416 through 472. The name of my data set is MERGE.
I am an extreme R novice. How do I write a script to accomplish this?
Thank you.
---
Christopher H. Porter, M.A., M.Ed.
Director, Undergraduate Recruitment
College of Engineering and Science
Clemson University
2001 Sep 29
2
Optimized Likelihoods
R-Users,
I'm in the process of developing some notes on optimizing likelihoods
for a class I'm teaching next term. Can anyone offer examples showing
the optimization of a complex likelihood function that they wouldn't
mind sharing using optim(). I've adapted some of the S-plus likelihood
examplesfrom the ``Guide to Statistics" and the Zip example from ``Statistical
Models in
2008 Dec 13
2
What is "The Rails Way" to do this?
I have a PHP application with the following in one of the "views":
<input type="button" onClick="newAlt()" value=" + "></nobr>
The JavaScript for "newAlt()" is:
// using DOM create new input box for alternate part
function newAlt() {
var html = "<input style=''background-color:#FFFFCC'' ";
html +=
2003 Jun 13
2
Samba servers
I'm new to SAMBA and am somewhat confused. So I'll get right to the point.
Situation:
I am running both UNIX (Solaris 9) and Windows 2000. I have a system running on Windows
will be creating some large files. These files need to be input to a system running on
the UNIX (Solaris) box.
Solution?
I would like to be able to have the system on the UNIX box be able to read the files on
Windows
2007 Jun 26
1
Wireless networking in CentOS 4.4
Trying to set up wireless networking with CentOS 4.4 on a (new Dell)
laptop and have looked at http://www.ces.clemson.edu/linux/fc2-
ipw2200.shtml
and http://www.centos.org/modules/newbb/viewtopic.php?
topic_id=2532&forum=30
regarding use of ipw2200, which is included in the kernel. The problem
is that it doesn't appear to be actually installed/loaded because the
Intel Corporation
2007 Jun 28
2
CentOS iso for Sparc64 machine
Hi,
I have been looking for CentOS for sparc based machines without luck. I
tried to use birorrent to download it without luck. I really would
appreciate anyone letting me know because I have a Sun Ultra 60 that I would
love to install it on. Thanks!
-- Dexter
Dexter F. Stowers
Systems Administrator Unix/Linux/Windows/Mac
Clemson University
--
Desire is the ingredient that changes the hot
2013 Jul 01
0
Installing NUT on Solaris
On Jul 1, 2013, at 12:47 PM, John Thurston wrote:
> I'm running Solaris 10 on a dozen SPARC boxes. I'd like to explore NUT for use with our snmp UPS, but I'm unable to complete the configure/make/install process.
>
> Can anyone share a how-to for solaris?
Here's some general NUT-on-Solaris information:
http://people.cs.clemson.edu/~gdowdin/work/ch06.html
Can't
2006 Oct 10
3
possible bug? (PR#9285)
=20
=20
I use the FEAR package available from=20
=20
http://www.clemson.edu/economics/faculty/wilson/
=20
which works perfectly in Rv2.2.0; after installing from a local zip and
loading I find:
=20
USING R version 2.2.0
=20
> local({pkg <- select.list(sort(.packages(all.available =3D TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=3DTRUE)})
Loading required package:
2009 May 24
1
NetworkManager under CentOS 4 *without* GNome...
I have been *manually* dealing with my wired and wireless network
interfaces on my laptop. I have a pair of config files (in
/etc/sysconfig/network-scripts/: ifcfg-eth0 (wired: Intel Corporation
82540EP Gigabit Ethernet Controller (Mobile)) and ifcfg-eth1 (wireless:
Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter), both with
USERCTL=true (and ifcfg-eth0 also has ONBOOT=true). I have
2005 Apr 19
4
Apache, MySQL, and PHP
Hi,
I need to ask a question about the usuage of these particular
packages...do you install the binaries for each or do you use what
comes with the OS out of the box??? The reason why I am asking is
because I am having problems using the one that comes with the OS.
Everything else runs great but I am using CentOS for the first time
and I want to make sure that I am not spinning my wheels
2011 Oct 27
1
Problem Installing a local package in linux
Dear all,
I am "still" fairly new to R and newer still to linux (opensuse). I
want to install a package called "FEAR" from
"http://www.clemson.edu/economics/faculty/wilson/Software/FEAR/fear-download.html".
So, I downloaded the tar.gz file called
"FEAR-linux-64bit-2.6.16.60-0.21-smp.tar.gz" and it is in the
directory "/home/sambit/Downloads"
2011 Sep 25
1
trouble with library(FEAR) and libgfortran.so.1
Running R version 2.13.1 under Ubuntu 10.10 (kernel version
2.6.35-30-generic) on a x86-64 laptop with gfortran 4.4, I'm trying to
install and use the FEAR package from
http://www.clemson.edu/economics/faculty/wilson/Software/FEAR/fear.html.
I downloaded the the FEAR 1.15 package for 64-bit Linux (compatible with
R-2.12.0 compiled with GCC, GNU Fortran 4.1.2, Linux kernel 2.6.16.60
SMP) to the
2002 Apr 21
2
Simple Coding problem ?
R-users,
This may be a simple problem, but I don't have an intuition of
how simple it could be. Suppose I have a sequence of numbers
corresponding to a series of diagnoses on the same patient
over a sequence of time. The diagnoses are coded 1,2,3,4,5, but
could come in a sequence like 1,3,2,5,3,5,...etc. Is there a simple
way to count the number of times a 1 diagnosis is followed by a 2, or
a
1998 Jul 21
0
firewalls, a practical question
Hello all,
Ok, so all this talk has prompted my group to consider installing a
firewall. It looks like the most economical approach would be to drop in
a machine running linux between our router and our switch to perform this
function. We have a 100Mbit full duplex connection here (to other routers
on campus), so we would like to be able to pump data through the firewall
at this rate.
Is
2013 Jul 01
3
Installing NUT on Solaris
On 7/1/2013 2:55 PM, Charles Lepple wrote:
> On Jul 1, 2013, at 12:47 PM, John Thurston wrote:
>
>> I'm running Solaris 10 on a dozen SPARC boxes. I'd like to explore NUT for use with our snmp UPS, but I'm unable to complete the configure/make/install process.
>>
>> Can anyone share a how-to for solaris?
>
> Here's some general NUT-on-Solaris
2010 Jan 19
5
ZFS/NFS/LDOM performance issues
[Cross-posting to ldoms-discuss]
We are occasionally seeing massive time-to-completions for I/O requests on ZFS file systems on a Sun T5220 attached to a Sun StorageTek 2540 and a Sun J4200, and using a SSD drive as a ZIL device. Primary access to this system is via NFS, and with NFS COMMITs blocking until the request has been sent to disk, performance has been deplorable. The NFS server is a
2006 Apr 03
9
Problem with Windows not finding methods
I am running (testing) a noob-tube for myself as follows:
Windows XP SP2
lighty
ruby 1.8.x
rails 1.1
scgi
I have everything working fairly well, but with one minor exception:
the actions that I have defined as follows are not found.
class MytestController < ApplicationController
def index
render_text "Hello Nurse!"
end
def dilbert
render_text "Dilbert