Displaying 5 results from an estimated 5 matches similar to: "how to read the text ?"
2011 Nov 15
3
how to indice the column in the data.frame
hi R,users
Now I read a data from a txt file
newdata<-read.table("1.txt")
in the 1.txt ,there are several column shown as below
1 3 4 5
2 3 5 6
4 5 6 7
so when I want analysis the second column
anadata<-newdata$V2
but my question I can not use some certain variable to indice the column?
e.g
cmn=2
anadata<-newdata$Vcmn
how can I finish this command ?can anyone help me ? thank
2011 Nov 17
1
how to read a free text file into individual variables
hi ,I am writing a soft package based on R.
But when I try to read a configure file showed as below.
How can I read the parameter in this text file.
How can I read the parameter into each variable in this file ?
configinfo<-scan(file(configfile),ok=TRUE,n=-1)
scan seems need every line have same column ?
configinfo <- readLines(configfile,ok=TRUE,n=-1)
methodnum <-
2001 Oct 31
3
CPU Problem on Solaris and 2.2.2
Hi we have a pretty nasty CPU usage problem running Samba 2.2.2 on Solaris
(SunOS infpdb01.atinfopop.com 5.8 Generic_108528-03 sun4u sparc
SUNW,Ultra-80)
The server was coping OK with the load then 'something changed' and CPU
usage has been climbing over the last couple of weeks. I've posted CPU,
config files and a sambastatus snapshot below. Other information that may
be helpful:
-
2002 Sep 26
0
PDC and smbpasswd on Solaris 7
Current Setup:
Bunch of Sun SPARCstation's running Solaris 7 in a NIS environment.
I have installed Samba 2.2.5 on a host 'A' (NIS Slave). Basic set up is
working fine.
Meaning, I can mount unix fileshare on windows system.
OBJECTIVE: The idea is to mount some UNIX file systems on Windows at boot
time and make it available to all users
using Windows.
To
2016 Apr 15
0
R stops responding/communicating in for loop (lengthy description of issue)
Yeah, this is a bit lengthy, but it's a vexing problem.
First, I'm working on learning R, mainly by using it and coming more
from a programming aspect (I have the books and have gone through them,
but learn best by doing). I have multiple projects going where R is
almost necessary. I learned C a few years ago, but am very rusty with
it (and other languages back in the 70s). I also