similar to: Bug report for package foreign anf functon write.foreign

Displaying 20 results from an estimated 1000 matches similar to: "Bug report for package foreign anf functon write.foreign"

2006 Jul 13
1
writeForeignSAS and potential extensions
Dear R-devel, I've made some potential extensions to writeForeignSAS in 'foreign' that I wanted to pass along if anyone is interested. I've attached the diff -u output against the version found in foreign_0.8-15 and an .R file with my changes. (In this .R file, the function is named writeForeignSAS7 to simplify testing/comparisons.) I've tried to alter the current
2010 Oct 20
1
Problem exporting data using write.foreign
My question is about the write.foreign() command in the foreign package. I use a command like the following to try and output data and a code file to read my data into SAS. write.foreign(data.frame.object, datafile="filepath", codefile="filepath", package="SAS", dataname="myData") With my data set, it gives the following error: Error in
2007 Apr 23
0
foreign::read.ssd and long names (PR#9631)
Full_Name: Jeff Hallman Version: 2.4.1 OS: Linux Submission from: (NULL) (132.200.32.34) read.ssd() invokes PROC COPY to create an xport file, but PROC COPY has some annoying limitations that read.ssd() should deal with. The first is that PROC COPY doesn't work with member names (the sectionnames argument to read.ssd) longer than 8 characters. The second is that PROC COPY also fails if any
2002 Nov 13
0
problems with read.ssd in foreign
I'm trying to read in a sas system file (.sas7bdat) created under SAS 8.2 using read.ssd as follows: > library(foreign) > libname <- "c:/sasuser/consult/" > sascmd <- "c:/Program\ Files/SAS\ Institute/SAS/V8/sas.exe" > subset <- read.ssd(libname, "subset", sascmd=sascmd) SAS failed. SAS program at c:\windows\TEMP\Rtmp6673\file24544.sas a
2009 Oct 20
2
Problems importing Unix SAS .ssd04 file to R (Win)
Hello, I'm trying to import a SAS file made using SAS on Unix. Currently I'm using SAS on Windows and I'm trying to import that .ssd04 file to R. The file name of the file is testfile.ssd04 and it is located in 'M:\sasuser'. I'm using Windows XP and R 2.91. Basically what I'm doing is ############ r code ############## > library(foreign) > sashome <-
2011 Mar 06
1
read.ssd() from foreign package
Hi, I am encountering a confusing problem when I tried to use read.ssd to read SAS datasets. For one SAS dataset "a.sas7bdat", it did not work; while for another SAS dataset "b.sas7bdat" it worked: > tmp<-read.ssd("C:\\SASdata", "a",sascmd="C:/Program >Files/SAS/SASFoundation/9.2/sas.exe") SAS failed. SAS program at
2008 Nov 24
1
FW: read.ssd
Did not seem to reach Saikat DebRoy, this might be the forum. Bendix -----Original Message----- From: BXC (Bendix Carstensen) Sent: 24. november 2008 15:00 To: 'saikat at stat.wisc.edu'; 'stvjc at channing.harvard.edu' Subject: read.ssd It's always annoyed me that that read.ssd crashed on datasets with long variable names, but the other day a collegue of mine pointed out to
2006 Jan 31
1
Stepwise selection and F-enter anf F-remove values
Hello, I'm actually using the "Step" procedure in R for multiple regression analysis. I'm using the stepwise selection which alternates between forward selection and backward elimination (direction "both" in the step procedure). I would like to know which F-levels R is using to enter and then to remove variables? I also would like which is the procedure to change
2007 Apr 23
0
Correction to PR #9631 (PR#9632)
Full_Name: Jeff Hallman Version: 2.4.1 OS: Linux Submission from: (NULL) (132.200.32.34) When I filed this a few minutes ago, I left off the rewritten read.ssd(). I've included it at the end this time. read.ssd() invokes PROC COPY to create an xport file, but PROC COPY has some annoying limitations that read.ssd() should deal with. The first is that PROC COPY doesn't work with member
2019 Jun 04
1
foreign:::writeForeignSAS patch not released?
Hello, In May 2018 there was some R-devel discussion about a bug in foreign:::writeForeignSAS. See here: https://stat.ethz.ch/pipermail/r-devel/2018-May/076220.html and it resulted in a patch. See: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17256 And I see the changes in Subversion here: https://svn.r-project.org/R-packages/trunk/foreign/R/writeForeignSAS.R But I don't
2005 Mar 06
2
Need help on * anf HFC.
Hi, I'm a newbie on * trying to setup an HFC card. I'm locked for many days getting the all-circuits-busy. And no idea what else to look for/how to diagnose. I'm in Spain, I've tried changing many parameters on zapata/zaptelcong with no luck, also NT & TE modes (honsetly, I've no idea what is). Any clue will be very much appreciated! I've installed *@home on my RH9,
2018 May 17
0
Patch for bug 17256 'possible bug in writeForeignSAS in the foreign library when string is NA'
>>>>> NELSON, Michael <mnels at doh.health.nsw.gov.au> >>>>> on Thu, 17 May 2018 11:53:27 +0000 writes: > Attached is a patch to fix > https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17256 > 'possible bug in writeForeignSAS in the foreign library > when string is NA' > The patch 1. fixing the case where
2018 May 17
2
Patch for bug 17256 'possible bug in writeForeignSAS in the foreign library when string is NA'
Attached is a patch to fix https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17256 'possible bug in writeForeignSAS in the foreign library when string is NA' The patch 1. fixing the case where there were NA within a character column, and the case where all values are strings of length 0 2. general replacement of calls to `sapply` with `vapply` (and replacing any(is.na()) with
2009 Jan 03
1
Bug report in foreign library (PR#13425)
here appears to be a bug in the foreign library. The following code used to work, but now generates an error when 'package="SAS"' is specified: ds <- read.csv("http://www.math.smith.edu/sasr/datasets/help.csv") # running foreign package version 0.8-30 library(foreign) # this works fine write.foreign(ds, "foo", "bar", package="Stata") #
2009 Apr 06
1
contourplot label color
Hi everyone, I am new to the list. My problem is to change the color of the label in a contour plot. The plot is quite dark and I'd like to have the line and label white, it works for the line with a simple "col", but for the labels I need to pass throught a panel call and : > contourplot(Prob ~ D.CSW *
2006 May 18
9
How can you buy R?
Hi all, This may seem like a dumb question, but I work for an entity that is soon converting to XP across the board, and I will lose the ability to install software on my own. The entity has a policy of only using software that has been purchased and "properly licensed" (whatever that means). This means I will soon lose the ability to use R at work - something I can't do without
2009 Feb 02
3
Problem with foreign package
I tried to use write.foreign() to export to SAS this morning and got an error. When I looked at the code for writeForeignSAS() I saw this line: dfn < -df which I think should be dfn <- df So, I tried to run update.packages() to see if there was an updated version and got the following result. > update.packages(c("foreign")) Warning message: In list.files(lib) :
2008 Oct 29
2
Problem using samba with ldap
Hello, I've just installed samba with ldap on a debian etch. I have a problem when i attempt to create a user with the command smbldap-useradd -a -P -c "toto DUPONT" -u 1001 toto and to log in with it after. I obtain this error : [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164) pdb_get_group_sid: Failed to find Unix account for toto [2008/10/29 17:35:26, 1]
2006 Dec 20
1
FW: R Version Problem in using write.foreign+SAS
Hi R experts, I have a problem in Write.foreign command (SAS). I have a data frame called d. >d Datetime 2006-12-01 00:00:00 2006-12-01 00:10:00 2006-12-01 00:20:00 2006-12-01 00:30:00 2006-12-01 00:40:00 >class(d$Datetime) [1] "POSIXt" "POSIXct" Then I tried with, write.foreign(d,"Z:\\try_i.sas7bdat"," Z:\\try_i.sas
2002 Oct 28
2
glmm for binomial data? (OT)
A while ago (April 2002) there was a short thread on software for generalized linear mixed models. Since that time, has anyone written or found R code to use a glmm to analyze binomial data? I study CWD in white-tailed deer, and I'd like to do a similar analysis as Kleinschmidt et al. (2001, Am. J. Epidemiology 153: 1213-1221) used to assess control for spatial structure in malaria