similar to: SAS "datalines" or "cards" statement equivalent in R?

Displaying 20 results from an estimated 8000 matches similar to: "SAS "datalines" or "cards" statement equivalent in R?"

2005 Oct 07
1
sscanf equivalent
I have a data file from which I need to read portions of data but data location/quantity can change from file to file. I wrote some code and have a working solution but it seems wasteful to have to do it this way. Here's the contrived incomplete code. datalines <- readLines(datafile.pathname) # marker will appear on line preceding and following # actual data offset.data
2010 Jul 29
1
R Equivalent of SAS Datastep Line-Hold (@@) Specifier?
Hello Everyone,   Below is some SAS code that uses a "line hold specifier" to read multiple observations from each of several input lines of data. There are 3 patients per line in the in-stream data.   Is there a way in R to read this kind of data? I've looked in my books and online but haven't found anything   Thanks,   Paul     DATA EXAMP.TRIAL; INPUT TRT $ CENTER PAT SEX $ AGE
2009 Nov 21
2
Fw: Re: title problem
It seems that there is a problem in displaying subtitle in general, independently from multi-plot display. when I do plot (c(1,2,3), c(9,8,7), type = "l") title(main = "Main title", sub ="Sub title",cex.main=2, cex.sub = 2) subtitle doesn't get displayed > --- On Sat, 11/21/09, David Winsemius <dwinsemius at comcast.net> > wrote: >
2011 Sep 05
1
SAS code in R
Dear all, I was wondering if anyone can help? I am an R user but recently I have resorted to SAS to calculate the probability of the event (and the associated confidence interval) for the Cox model with combinations of risk factors. For example, suppose I have a Cox model with two binary variables, one for gender and one for treatment, I wish to calculate the probability of survival for the
2011 Dec 03
2
Downloading tab separated data from internet
Hi all, I am trying to download some tab separated data from the internet. The data is not available directly at the URL that could be known apriori. There is an intermediate form where start and end dates have to be given to get to the required page. For example, I want to download data for a station 03015795. The form for this station is at:
2009 Dec 18
1
ggplot2 / lattice
Hi R Users, Is there a equivalent function for the following R code in Lattice package. I want to plot a grouped box plots (grouped by two factors). g <- rep.int(c("A", "B", "C", "D"), 125) t <- rnorm(5000) a <- sample(t, 500, replace=TRUE) b <- sample(t, 500, replace=TRUE) dta <- data.frame(val = sample(t,1000), g = gl(4, 250,
2009 Dec 08
3
re-ordering x-lables using barchart()
Hi R Users, I'm trying to re-order the "site names" ("Waseca", "Morris", ...). I'm using following code: libarry(lattice) barchart(yield ~ variety | site, data = barley, groups = year, layout = c(6,1), aspect=.7, ylab = "Barley Yield (bushels/acre)", scales = list(x = list(abbreviate = TRUE, rot=45,
2009 Mar 31
3
Factor Analysis Output from R and SAS
Dear Users, I ran factor analysis using R and SAS. However, I had different outputs from R and SAS. Why they provide different outputs? Especially, the factor loadings are different. I did real dataset(n=264), however, I had an extremely different from R and SAS. Why this things happened? Which software is correct on? Thanks in advance, - TY #R code with example data # A little
2010 Oct 07
1
Forecasting with R/Need Help. Steps shown below with the imaginary data
1. This is an imaginary data on monthly outcomes of 2 years and I want to forecast the outcome for next 12 months of next year. data Data1; input Yr Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec; datalines; 2008 12 13 12 14 13 12 11 15 10 12 12 12 2009 12 13 12 14 13 12 11 15 10 12 12 12 ; run; I converted the above data into the below format to use it in R as it was giving error: asking
2012 Aug 06
1
with streams_xattr enabled, ads are written correctly but not retrieved
Hello, I'm running Samba 3.6.6-1 on my x64 Arch Linux installation. I recently decided to have my samba share support NTFS's Alternate Data Streams by using streams_xattr or streams_depot. With streams_xattr I discovered that if I copy a file having an ADS from a win7 box, on the linux console, I can see the ADS as an xattr attached to the file. However when I copy the file back to my
2009 Jul 11
3
Reading data entered within an R program
Dear R-helpers, I know of two ways to reading data within an R program, using textConnection and stdin (demo program below). I've Googled about and looked in several books for comparisons of the two approaches but haven't found anything. Are there any particular advantages or disadvantages to these two approaches? If you were teaching R beginners, which would you present? Thanks, Bob
2013 Oct 25
2
Mounting Linux Samba Shares on Windows when Active Directory Server is down
Hi, I am running Samba 3.6.19 and making my way through all the Active Directory documentation. I have joined various Linux boxes to a Windows Server 2008 R2 Active Directory domain. Windows 7 users who log on with their domain accounts can mount the correct shares exported by the Linux boxes without having to supply any additional credentials. All working perfectly! However, I have a
2009 Feb 22
1
Can't add machines to domain after Debian-Update
Guten Tag Samba-List, after updating my Linux-Server from Debian Etch to Lenny, some of my workstations (W2kSP4) couln't log into the domain. I removed the machines from the domain, changed the name, created a new machine-account, but I still can't add the machine to the domain. My /etc/smb.conf (see below the logfile) is unchanged since Debian Etch. Perhaps someone
2009 Feb 05
3
Samba and NetAPP filers, the PDC problem...
Hello Is there any hope one day a Samba PDC will work with NetAPP filer ??? I mean will it be possible to register a filer as a machine in a Samba PDC ? I fails since years and I never had any clear explainations about it. Couls someone ( Mr Bartlett ? ) tell me why it had never be possible ? Thanks a lot.
2016 May 11
4
Synology NAS Samba Upgrade breaks "Classic" domain membership
I have a Synology NAS array appliance. It is linux based and uses samba for file sharing. Normally the config is done via a gui interface but you can ssh to the array. The domain controllers are running Samba 3.6.x in classic domain mode. I have member servers running 3.6.x and 4.3.8. no problem. I recently updated the Synology "OS." The current version of samba is
2011 May 16
1
Problem printing from one user only
I'm trying to figure out why I'm getting permission denied when trying to print from one user account only. all others work fine. the print server is configured as a domain controller backed by ldap. aarcane at density:/var/log$ sudo testparm -s Load smb config files from /etc/samba/smb.conf rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section
2008 Feb 19
2
one-way anova power calculations
I have been attempting some basic power calculations using R and I am not getting the results I expect. I had a homework assignment in SAS, but I want to learn R as well, so I was attempting to reproduce my result. (No one else in the class is doing R, so there's no need to obsfucate the answer, the SAS code is what I get my grade for.) The code I am using is: # You assume that the
2015 Mar 29
3
Unable to browse system shares of a newly migrated AD DC
Greetings, Rowland Penny! Got some logs. But... they do not make much sense. It seems to fail to chdir to /tmp. But I can do it with sudo just fine under the same credentials. What's going on? [2015/03/30 01:05:38.027147, 3, effective(0, 0), real(0, 0)] ../source3/lib/access.c:338(allow_access) Allowed connection from 127.0.0.1 (127.0.0.1) [2015/03/30 01:05:38.027425, 3, effective(0, 0),
2009 Oct 26
3
changing kickoff time
Hello everybody, we moved our samba server to a new machine. This included changing the samba version from 3.024 to 3.4.2 and changing the OS from Linux to Opensolaris. Samba was compiled from scratch. Passdb Backend is tdb. After the upgrade everything works fine......except: Some users can not login, due to an expired account. Further investigation showed that the "Kickoff Time"
2010 Jun 23
3
samba winbind problem with trusted domains
hi all i am new to samba and struggling with trusted domains authentication from many days .i have a win2k3 domain(corp.raju.ad )and win2k8 domain ( testraju.ad) . i have joined samba server as a member to win2k8 domain (testraju.ad) using net ads join commands / i m able to access samba shares using testraju.ad user ID's successfully , while authenticating with corp.raju.ad users i m