similar to: converting an ASCII file to a matrix

Displaying 20 results from an estimated 2000 matches similar to: "converting an ASCII file to a matrix"

2002 Aug 30
2
Help with Multi stream files
Hello All, I am having a problem with samba's ability to interpret certain files with windows 2k clients. Setup Details: Linux ( RedHat 7.3 ) File Server Win 2k Clients Samba v2.2.3a Kernel 2.4.18 statically compiled. Problem Description: When copying jpegs from a Win2k client which is displaying the JPEGS in thumbnail mode, to the Linux / Samba file server, 3 files are copied as
2002 Feb 21
1
Authenticaton problems using winbindd
Hello everyone: I have downloaded, compiled (with winbind) and installed samba 2.2.3. I also have followed the directions on how to configure samba to allow authentication of users via winbindd off of a Win PDC. However, I am still unable to get the authentication to work at all. Below is some of my configuration: smb.conf: (partial) winbind separator = + winbind uid = 10000-20000
2006 May 20
3
mysql : Access denied for user
Hi all, I am having a problem with mysql. I set up root password set password for root at localhost=password('xxxxxxxxx'); set password for root@'xxx.yyyy.com'=password('yyyyyyyy'); after that I tried to log in, but mysql says ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) I guess that I had the right password. My
2013 Apr 18
1
vectors with equal values
Hi, Try: ?vec1<-c(1,1,1,1,1,1,1,1,1) if(all(vec1==1)) "xxxxxxxxx" else? "yyyyyyyyyyy" #[1] "xxxxxxxxx" ?vec2<-c(rep(1,4),2) ?if(all(vec2==1)) "xxxxxxxxx" else? "yyyyyyyyyyy" #[1] "yyyyyyyyyyy" #or if(length(unique(vec1))==1) "xxxxxxxxx" else? "yyyyyyyyyyy" #[1] "xxxxxxxxx" ? if(length(unique(vec2))==1)
2008 Mar 30
1
breaking DNID into country code, area code, and local code
Dear friends, I am wondering if there is any efficient way of extract the country code, area code, and local code into 3 different variables from one DNID that can look like 001630233-4333 or 0086213345333? International code can be 011, or 00. National code can be 0 or 1 Country code can have 2 or 3 digits Area code can have 2 or 3 digits Local num can be 7-10 digits Is there anyway to break
2006 Nov 14
3
Creating a table
Dear R List, I am a new to R, so my question may be easy to answer for you: I have a dataframe, for example: df<-data.frame(loc=c("A","B","A","A","A"), year=as.numeric(c("1970","1970","1970","1976","1980"))) and I want to create the following table without using loops: 1970-74 ;
2006 Apr 18
6
R and ViM
Dear all, I'm starting to learn R, but I'm already programing for a while, using ViM as editor. Therefore I'd like to be able to use R together with ViM. My question now is, whether there are already people out there knowing how to do this in a similar easy way as with Emacs, and if those would be willing to share this knowledge. I did already research on the web on this topic,
2003 Dec 16
2
Winedit and R
Hi all, I am trying to install add-on in R (rw1070) to work with WinEdit. Libraries Swinregistry and Rwinedt have been installed via "Install Package(s) from local zip files" from R. However, when I run library(Rwinedt) I get the following messages: > library(Rwinedt) Loading required package: SWinRegistry Error in loadNamespace(name) : package `methods' does not have a name
2005 Oct 27
1
data.frame-question]
First a general comment on posting style, could you please be more specific about where the error occurs as without this it is very difficult to identify what the problem is. Now concerning your problem. When I tried the code I posted yesterday I thought it worked fine. I've tried it again now and found that the data.frame TAB3 actually only has one column and the names "A",
2006 Apr 24
2
boxplots instead of a scatterplot
Dear R list, I am a newbie to R and programming itself, so my question may be easy to answer for you. I wanted to create a scatterplot and i used the following code: par(mar=c(10, 4.1,4.1,2.1)) plot(q$location,q$points, , las=2, cex.axis=0.5,xlab="", ylab="" ) #location are character strings, there are about 70 locations #points are numeric, there are more than 4 points for
2005 Nov 26
1
Using an editor with R
Hello, I changed the setting in options$editor to allow me to use my favorite editor. In R 2.1.1 on Windows XP, I entered at the command line: options(editor="c:\\program files\\winedit\\winedit.exe") When I edited a function, say test, using fix(test), the editor opened perfectly. But, when I saved the file and closed the editor, the R gui screen was white, blank, and completely
2005 Oct 25
2
data.frame-question
Dear R-List, I am very new to R and programming itself, so my question may be easy to answer for you. I tried a lot and read through the manuals, but I still have the following problem: I have 2 data-frames: Number<-as.numeric (Number) Name<-as.character (Name) TAB1<-data.frame (Name,Number) - it looks like this:- Name Number A 2 A 3 A 6 B 8 B 12 B 7 C 8 D 90 E 12 E 45 佲仸
2005 Nov 15
2
y-axis in histograms
Dear R- list, I have some data to present with histograms. Therefore I used hist(...). I have few values with almost 80% of the frequencies (totaly 800) and some other values with low frequencies ( totaly 5 -10 ) that I want to emphasize. Therefore I want to "cut" the y-axis on 100, but I don't know how to deal with this. Thanks in advance, Michael Graber
2010 Nov 12
3
Partition of a set
Hi I am new on this forum. I am searching for a function in R which provides all partitions of a set, say for the set {1,2,3} you get {{1,2,3}} {1,{2,3}} {2,{1,3}} {3,{1,2}} {{1},{2},{3}} . The number of partitions of a set is given by Bellsche`s number. The number of possibilities of length (this is the number of subsets included in the partition) of the partition is given by the partition
2006 May 16
3
multiple plots in a function()
Dear all, I have the following problem: I have written a function genereating to plots, eg myfunction <- (data, some.parameters) { #some calculations etc . par (mfrow=c(1,2)) plot1(......) plot2(.....) } which works fine. But for analysing several variants, I tried a slope, eg: par (mfrow=c(5,5)) for ( i in 1:10) { myfunction(data, i) } Off
2005 Jul 27
2
How to delete rows
Dear R-users, I am very new to R, so maybe my question is very easy to answer. I have the following table: TAB1<-data.frame(Name,Number), "Name" and "Number" are all character strings, it looks like this: Name Number ab 2 ab 2 NA 15 NA 15 NA 15 cd 3 ef 1 NA 15 NA 15 gh 15 gh 15 I want to delete all the rows
2014 Mar 28
3
Tilde
Buenas para todos, tengo instalado r studio en windows y mi compilador de latex es winedit. En rstudio para Rnw no me acepta la tilde directamente solo con /' como hacer que acpte la tilde en Rnw siendo q en text acpeta sin problemas? [[alternative HTML version deleted]]
2005 Feb 08
2
Asterisk and Sipgate problem...
Hello all. I'm having an odd problem getting * and sipgate to work together. From Sipgate support I have gotten this repsonse to my query: ===== Your Asterisk is registering incorrectly with our servers. It registers like this: sip:s@217.XXX.XXX.XXX:5076 The "s" should be your SIP ID. Anything else is rejected. I don't know where you can find this setting, but from our
2013 Feb 04
1
Trust problems after upgrade from 3.5 to 3.6
Hello. My setup: _ one Samba 3.5 domain (XXXXXXXX), with a PDC and a BDC, both running FreeBSD; _ one AD domain (YYYYYYYY) running on two Windows 2003 DCs; _ bidirectional trust between the two domains. Everything used to work until I moved the PDC from Samba 3.5 (EOL'ed) to 3.6; now, users from domain YYYYYYYY cannot access the PDC's shares. I used to have in smb.conf: >
2005 Aug 04
1
Problem when pasting from Winedit into Rgui
After upgrading to R 2.1.1, the usual paste-and-go from Winedit seems to not work anymore. I try installing the last 'RWinEdt_1.7-3' edition, but with no more result. After selecting the program lines to submit, I click on the 'paste' icon and nothing happens in the R gui (a subliminal, flashing move in the edition menu...). Idem for 'source' and 'R-history'.